/* $Id$ */
//_________________________________________________________________________
-// Track segment in EMCAL
-// Can be any combination of : 1 PRERecPoint, ECRecPoint and HCRecPoint
+// Track segment in EMCAL
//
//*-- Author: Dmitri Peressounko (RRC KI & SUBATECH)
// Adapted from PHOS by Y. Schutz (SUBATECH)
// --- Standard library ---
// --- AliRoot header files ---
-#include "AliEMCALTowerRecPoint.h"
+#include "AliEMCALRecPoint.h"
class AliEMCALRecPoint ;
class AliEMCALTrackSegment : public TObject {
public:
AliEMCALTrackSegment() {}
- AliEMCALTrackSegment(AliEMCALTowerRecPoint * ec, AliEMCALTowerRecPoint * pre, AliEMCALTowerRecPoint * hc) ;
+ AliEMCALTrackSegment(AliEMCALRecPoint * ec) ;
AliEMCALTrackSegment(const AliEMCALTrackSegment & ts) ; // ctor
virtual ~AliEMCALTrackSegment() { }
void Copy(TObject & obj) ;
Int_t GetIndexInList() const { return fIndexInList ; }
- Int_t GetPREIndex() const { return fPRERecPoint ; }
Int_t GetECAIndex() const { return fECARecPoint; }
- Int_t GetHCAIndex() const { return fHCARecPoint; }
virtual void Print(Option_t * option) const;
void SetIndexInList(Int_t val){ fIndexInList = val ; }
- void SetPRERecPoint(AliEMCALRecPoint * pre ) ;
- void SetHCARecPoint(AliEMCALRecPoint * hc ) ;
typedef TClonesArray TrackSegmentsList ;
private:
-
- Int_t fPRERecPoint ; // The PRE reconstructed point index in array stored in TreeR/EMCALPRERP
Int_t fECARecPoint ; // The EC reconstructed point index in array stored in TreeR/EMCALECRP
- Int_t fHCARecPoint ; // The HC reconstructed point index in array stored in TreeR/EMCALHCRP
Int_t fIndexInList ; // The index of this TrackSegment in the list stored in TreeR (to be set by analysis)
- ClassDef(AliEMCALTrackSegment,1) // Track segment in EMCAL
+ ClassDef(AliEMCALTrackSegment,2) // Track segment in EMCAL
};