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:
13 //_________________________________________________________________________
14 // Track segment in PHOS
15 // Can be : 1 EmcRecPoint
16 // 1 EmcRecPoint + 1 CPV
18 //*-- Author: Dmitri Peressounko (RRC KI & SUBATECH)
20 // --- ROOT system ---
25 // --- Standard library ---
27 // --- AliRoot header files ---
28 class AliPHOSRecPoint ;
29 class AliPHOSEmcRecPoint ;
30 class AliPHOSCpvRecPoint ;
33 class AliPHOSTrackSegment : public TObject {
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() { }
45 void Copy(TObject & obj) const;
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; }
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
56 typedef TClonesArray TrackSegmentsList ;
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
65 ClassDef(AliPHOSTrackSegment,1) // Track segment in PHOS
69 #endif // ALIPHOSTRACKSEGMENT_H