]>
Commit | Line | Data |
---|---|---|
f0a0d075 | 1 | #ifndef ALITRACKMAPPER_H |
2 | #define ALITRACKMAPPER_H | |
3 | /* Copyright(c) 1998-2000, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | //////////////////////////////////////////////////////////////////////// | |
9 | // | |
10 | // description: | |
11 | // create a relation between track label and it's index | |
12 | // in TreeH. Check all branches with hits. | |
13 | // Output is in the root file. | |
14 | // See http://AliSoft.cern.ch/people/chudoba/classes/AliTrackMap.html | |
15 | // | |
16 | // Author: Jiri Chudoba (CERN), 2002 | |
17 | // | |
18 | //////////////////////////////////////////////////////////////////////// | |
19 | ||
20 | // --- ROOT system --- | |
21 | ||
116cbefd | 22 | class TFile; |
f0a0d075 | 23 | |
24 | // --- AliRoot header files --- | |
25 | ||
26 | class AliTrackMap; | |
88cb7938 | 27 | class AliRunLoader; |
f0a0d075 | 28 | |
29 | class AliTrackMapper { | |
30 | ||
31 | public: | |
e2afb3b6 | 32 | AliTrackMapper(); |
33 | virtual ~AliTrackMapper(){} | |
88cb7938 | 34 | void CreateMap(Int_t nEvents, Int_t firstEventNr, |
35 | const char* fnMap = "trackMap.root", | |
36 | const char* fnHits ="rfio:galice.root"); | |
37 | Int_t CreateMap(Int_t eventNr, TFile* fileMap,AliRunLoader* rl); | |
f0a0d075 | 38 | void SetDebug(Int_t level) {fDEBUG = level;} |
39 | void CheckTrackMap(Int_t eventNr, const char* fnMap = "trackMap.root"); | |
40 | AliTrackMap* LoadTrackMap(Int_t eventNr, const char* fnMap, TFile* &fileMap); | |
41 | ||
42 | ||
43 | private: | |
44 | ||
116cbefd | 45 | Int_t fDEBUG; // Debug flag |
f0a0d075 | 46 | |
47 | ClassDef(AliTrackMapper,0) // methods to create AliTrackMap | |
48 | }; | |
49 | ||
50 | #endif // ALITRACKMAPPER_H | |
51 | ||
52 | ||
53 | ||
54 | ||
55 |