]>
Commit | Line | Data |
---|---|---|
5502f2ea | 1 | #ifndef ALIEMCALTRACKSEGMENT_H |
2 | #define ALIEMCALTRACKSEGMENT_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | //_________________________________________________________________________ | |
fdebddeb | 9 | // Track segment in EMCAL |
5502f2ea | 10 | // |
11 | //*-- Author: Dmitri Peressounko (RRC KI & SUBATECH) | |
12 | // Adapted from PHOS by Y. Schutz (SUBATECH) | |
13 | // --- ROOT system --- | |
14 | ||
15 | #include "TObject.h" | |
d64c959b | 16 | class TClonesArray ; |
5502f2ea | 17 | |
18 | // --- Standard library --- | |
19 | ||
20 | // --- AliRoot header files --- | |
d64c959b | 21 | #include "AliEMCALTowerRecPoint.h" |
22 | class AliEMCALRecPoint ; | |
5502f2ea | 23 | |
24 | class AliEMCALTrackSegment : public TObject { | |
25 | ||
26 | public: | |
27 | ||
28 | AliEMCALTrackSegment() {} | |
fdebddeb | 29 | AliEMCALTrackSegment(AliEMCALTowerRecPoint * ec) ; |
5502f2ea | 30 | AliEMCALTrackSegment(const AliEMCALTrackSegment & ts) ; // ctor |
31 | virtual ~AliEMCALTrackSegment() { } | |
32 | ||
33 | void Copy(TObject & obj) ; | |
34 | ||
35 | Int_t GetIndexInList() const { return fIndexInList ; } | |
88cb7938 | 36 | Int_t GetECAIndex() const { return fECARecPoint; } |
5502f2ea | 37 | |
38 | virtual void Print(Option_t * option) const; | |
39 | void SetIndexInList(Int_t val){ fIndexInList = val ; } | |
5502f2ea | 40 | |
41 | typedef TClonesArray TrackSegmentsList ; | |
42 | ||
43 | private: | |
88cb7938 | 44 | Int_t fECARecPoint ; // The EC reconstructed point index in array stored in TreeR/EMCALECRP |
5502f2ea | 45 | Int_t fIndexInList ; // The index of this TrackSegment in the list stored in TreeR (to be set by analysis) |
46 | ||
47 | ClassDef(AliEMCALTrackSegment,1) // Track segment in EMCAL | |
48 | ||
49 | }; | |
50 | ||
51 | #endif // ALIEMCALTRACKSEGMENT_H |