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 */
8 /* History of cvs commits:
11 * Revision 1.22 2005/05/28 14:19:05 schutz
12 * Compilation warnings fixed by T.P.
16 //_________________________________________________________________________
17 // Track segment in PHOS
18 // Can be : 1 EmcRecPoint
19 // 1 EmcRecPoint + 1 CPV
21 //*-- Author: Dmitri Peressounko (RRC KI & SUBATECH)
23 // --- ROOT system ---
28 // --- Standard library ---
30 // --- AliRoot header files ---
31 class AliPHOSRecPoint ;
32 class AliPHOSEmcRecPoint ;
33 class AliPHOSCpvRecPoint ;
36 class AliPHOSTrackSegment : public TObject {
40 AliPHOSTrackSegment() ;
41 AliPHOSTrackSegment(AliPHOSEmcRecPoint * EmcRecPoint ,
42 AliPHOSRecPoint * Cpv) ;
43 AliPHOSTrackSegment(AliPHOSEmcRecPoint * EmcRecPoint ,
44 AliPHOSRecPoint * Cpv, Int_t track) ;
45 AliPHOSTrackSegment(const AliPHOSTrackSegment & ts) ; // ctor
46 virtual ~AliPHOSTrackSegment() { }
48 void Copy(TObject & obj) const;
50 Int_t GetIndexInList() const { return fIndexInList ; }
51 Int_t GetEmcIndex() const { return fEmcRecPoint ; }
52 Int_t GetCpvIndex() const { return fCpvRecPoint; }
53 Int_t GetTrackIndex() const { return fTrack; }
55 virtual void Print(const Option_t * = "") const;
56 void SetIndexInList(Int_t val){ fIndexInList = val ; }
57 void SetCpvRecPoint(AliPHOSRecPoint * CpvRecPoint ); //sets CPV Rec Point
59 typedef TClonesArray TrackSegmentsList ;
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)
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
68 ClassDef(AliPHOSTrackSegment,1) // Track segment in PHOS
72 #endif // ALIPHOSTRACKSEGMENT_H