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 */
8 //_________________________________________________________________________
9 // Track segment in EMCAL
10 // Can be any combination of : 1 PRERecPoint, ECRecPoint and HCRecPoint
12 //*-- Author: Dmitri Peressounko (RRC KI & SUBATECH)
13 // Adapted from PHOS by Y. Schutz (SUBATECH)
14 // --- ROOT system ---
19 // --- Standard library ---
21 // --- AliRoot header files ---
22 #include "AliEMCALTowerRecPoint.h"
23 class AliEMCALRecPoint ;
25 class AliEMCALTrackSegment : public TObject {
29 AliEMCALTrackSegment() {}
30 AliEMCALTrackSegment(AliEMCALTowerRecPoint * ec, AliEMCALTowerRecPoint * pre, AliEMCALTowerRecPoint * hc) ;
31 AliEMCALTrackSegment(const AliEMCALTrackSegment & ts) ; // ctor
32 virtual ~AliEMCALTrackSegment() { }
34 void Copy(TObject & obj) ;
36 Int_t GetIndexInList() const { return fIndexInList ; }
37 Int_t GetPREIndex() const { return fPRERecPoint ; }
38 Int_t GetECAIndex() const { return fECARecPoint; }
39 Int_t GetHCAIndex() const { return fHCARecPoint; }
41 virtual void Print(Option_t * option) const;
42 void SetIndexInList(Int_t val){ fIndexInList = val ; }
43 void SetPRERecPoint(AliEMCALRecPoint * pre ) ;
44 void SetHCARecPoint(AliEMCALRecPoint * hc ) ;
46 typedef TClonesArray TrackSegmentsList ;
50 Int_t fPRERecPoint ; // The PRE reconstructed point index in array stored in TreeR/EMCALPRERP
51 Int_t fECARecPoint ; // The EC reconstructed point index in array stored in TreeR/EMCALECRP
52 Int_t fHCARecPoint ; // The HC reconstructed point index in array stored in TreeR/EMCALHCRP
53 Int_t fIndexInList ; // The index of this TrackSegment in the list stored in TreeR (to be set by analysis)
55 ClassDef(AliEMCALTrackSegment,1) // Track segment in EMCAL
59 #endif // ALIEMCALTRACKSEGMENT_H