]>
Commit | Line | Data |
---|---|---|
6c370def | 1 | #ifndef ALIPHOSTRACKSEGMENT_H |
2 | #define ALIPHOSTRACKSEGMENT_H | |
d15a28e7 | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6ad0bfa0 | 6 | /* $Id$ */ |
7 | ||
702ab87e | 8 | /* History of cvs commits: |
9 | * | |
10 | * $Log$ | |
3663622c | 11 | * Revision 1.22 2005/05/28 14:19:05 schutz |
12 | * Compilation warnings fixed by T.P. | |
13 | * | |
702ab87e | 14 | */ |
15 | ||
b2a60966 | 16 | //_________________________________________________________________________ |
17 | // Track segment in PHOS | |
18 | // Can be : 1 EmcRecPoint | |
fbf5cb06 | 19 | // 1 EmcRecPoint + 1 CPV |
b2a60966 | 20 | // |
21 | //*-- Author: Dmitri Peressounko (RRC KI & SUBATECH) | |
d15a28e7 | 22 | |
23 | // --- ROOT system --- | |
24 | ||
25 | #include "TObject.h" | |
e957fea8 | 26 | class TClonesArray ; |
d15a28e7 | 27 | |
28 | // --- Standard library --- | |
29 | ||
30 | // --- AliRoot header files --- | |
e957fea8 | 31 | class AliPHOSRecPoint ; |
32 | class AliPHOSEmcRecPoint ; | |
33 | class AliPHOSCpvRecPoint ; | |
fbf5cb06 | 34 | class AliESDtrack ; |
d15a28e7 | 35 | |
d15a28e7 | 36 | class AliPHOSTrackSegment : public TObject { |
37 | ||
38 | public: | |
39 | ||
3663622c | 40 | AliPHOSTrackSegment() ; |
88714635 | 41 | AliPHOSTrackSegment(AliPHOSEmcRecPoint * EmcRecPoint , |
fbf5cb06 | 42 | AliPHOSRecPoint * Cpv) ; |
43 | AliPHOSTrackSegment(AliPHOSEmcRecPoint * EmcRecPoint , | |
44 | AliPHOSRecPoint * Cpv, Int_t track) ; | |
6ad0bfa0 | 45 | AliPHOSTrackSegment(const AliPHOSTrackSegment & ts) ; // ctor |
2731cd1e | 46 | virtual ~AliPHOSTrackSegment() { } |
d15a28e7 | 47 | |
702ab87e | 48 | void Copy(TObject & obj) const; |
2731cd1e | 49 | |
baef0810 | 50 | Int_t GetIndexInList() const { return fIndexInList ; } |
51 | Int_t GetEmcIndex() const { return fEmcRecPoint ; } | |
fbf5cb06 | 52 | Int_t GetCpvIndex() const { return fCpvRecPoint; } |
53 | Int_t GetTrackIndex() const { return fTrack; } | |
2731cd1e | 54 | |
702ab87e | 55 | virtual void Print(const Option_t * = "") const; |
2731cd1e | 56 | void SetIndexInList(Int_t val){ fIndexInList = val ; } |
fbf5cb06 | 57 | void SetCpvRecPoint(AliPHOSRecPoint * CpvRecPoint ); //sets CPV Rec Point |
c0d5b57d | 58 | |
59 | typedef TClonesArray TrackSegmentsList ; | |
83974468 | 60 | |
88714635 | 61 | private: |
d15a28e7 | 62 | |
83974468 | 63 | Int_t fEmcRecPoint ; // The EMC reconstructed point index in array stored in TreeR/PHOSEmcRP |
64 | Int_t fIndexInList ; // the index of this TrackSegment in the list stored in TreeR (to be set by analysis) | |
fbf5cb06 | 65 | Int_t fCpvRecPoint ; // The CPV reconstructed point in array stored in TreeR/PHOSCpvRP |
66 | Int_t fTrack ; // The charged track index (from global tracking) in ESD file | |
67 | ||
b2a60966 | 68 | ClassDef(AliPHOSTrackSegment,1) // Track segment in PHOS |
d15a28e7 | 69 | |
70 | }; | |
71 | ||
6c370def | 72 | #endif // ALIPHOSTRACKSEGMENT_H |