]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliTrackMapper.h
Corrected deletion of gMC (I.Hrivnacova)
[u/mrichter/AliRoot.git] / STEER / AliTrackMapper.h
CommitLineData
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 22class TFile;
f0a0d075 23
24// --- AliRoot header files ---
25
26class AliTrackMap;
27
28class AliTrackMapper {
29
30public:
e2afb3b6 31 AliTrackMapper();
32 virtual ~AliTrackMapper(){}
f0a0d075 33 void CreateMap(Int_t nEvents, Int_t firstEventNr,
34 const char* fnMap = "trackMap.root",
35 const char* fnHits ="rfio:galice.root");
116cbefd 36 Int_t CreateMap(Int_t eventNr, TFile* fileMap) const;
f0a0d075 37 void SetDebug(Int_t level) {fDEBUG = level;}
38 void CheckTrackMap(Int_t eventNr, const char* fnMap = "trackMap.root");
39 AliTrackMap* LoadTrackMap(Int_t eventNr, const char* fnMap, TFile* &fileMap);
40
41
42private:
43
116cbefd 44 Int_t fDEBUG; // Debug flag
f0a0d075 45
46 ClassDef(AliTrackMapper,0) // methods to create AliTrackMap
47};
48
49#endif // ALITRACKMAPPER_H
50
51
52
53
54