]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALIPHOSTRACKSEGMENT_H | |
2 | #define ALIPHOSTRACKSEGMENT_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 | /* History of cvs commits: | |
9 | * | |
10 | * $Log$ | |
11 | */ | |
12 | ||
13 | //_________________________________________________________________________ | |
14 | // Track segment in PHOS | |
15 | // Can be : 1 EmcRecPoint | |
16 | // 1 EmcRecPoint + 1 CPV | |
17 | // | |
18 | //*-- Author: Dmitri Peressounko (RRC KI & SUBATECH) | |
19 | ||
20 | // --- ROOT system --- | |
21 | ||
22 | #include "TObject.h" | |
23 | class TClonesArray ; | |
24 | ||
25 | // --- Standard library --- | |
26 | ||
27 | // --- AliRoot header files --- | |
28 | class AliPHOSRecPoint ; | |
29 | class AliPHOSEmcRecPoint ; | |
30 | class AliPHOSCpvRecPoint ; | |
31 | class AliESDtrack ; | |
32 | ||
33 | class AliPHOSTrackSegment : public TObject { | |
34 | ||
35 | public: | |
36 | ||
37 | AliPHOSTrackSegment() {} | |
38 | AliPHOSTrackSegment(AliPHOSEmcRecPoint * EmcRecPoint , | |
39 | AliPHOSRecPoint * Cpv) ; | |
40 | AliPHOSTrackSegment(AliPHOSEmcRecPoint * EmcRecPoint , | |
41 | AliPHOSRecPoint * Cpv, Int_t track) ; | |
42 | AliPHOSTrackSegment(const AliPHOSTrackSegment & ts) ; // ctor | |
43 | virtual ~AliPHOSTrackSegment() { } | |
44 | ||
45 | void Copy(TObject & obj) const; | |
46 | ||
47 | Int_t GetIndexInList() const { return fIndexInList ; } | |
48 | Int_t GetEmcIndex() const { return fEmcRecPoint ; } | |
49 | Int_t GetCpvIndex() const { return fCpvRecPoint; } | |
50 | Int_t GetTrackIndex() const { return fTrack; } | |
51 | ||
52 | virtual void Print(const Option_t * = "") const; | |
53 | void SetIndexInList(Int_t val){ fIndexInList = val ; } | |
54 | void SetCpvRecPoint(AliPHOSRecPoint * CpvRecPoint ); //sets CPV Rec Point | |
55 | ||
56 | typedef TClonesArray TrackSegmentsList ; | |
57 | ||
58 | private: | |
59 | ||
60 | Int_t fEmcRecPoint ; // The EMC reconstructed point index in array stored in TreeR/PHOSEmcRP | |
61 | Int_t fIndexInList ; // the index of this TrackSegment in the list stored in TreeR (to be set by analysis) | |
62 | Int_t fCpvRecPoint ; // The CPV reconstructed point in array stored in TreeR/PHOSCpvRP | |
63 | Int_t fTrack ; // The charged track index (from global tracking) in ESD file | |
64 | ||
65 | ClassDef(AliPHOSTrackSegment,1) // Track segment in PHOS | |
66 | ||
67 | }; | |
68 | ||
69 | #endif // ALIPHOSTRACKSEGMENT_H |