X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PHOS%2FAliPHOSTrackSegment.h;h=f88e0d44f9a16d0250de77e16d59996d2cde3451;hb=8569848649c024a39bf29f9ab31fd96a31db7f41;hp=bb0df8428c6f6922d9d6180ad335d8cefd507e02;hpb=2731cd1e25d597f63ec4341cc5b3c4b90ef1d012;p=u%2Fmrichter%2FAliRoot.git diff --git a/PHOS/AliPHOSTrackSegment.h b/PHOS/AliPHOSTrackSegment.h index bb0df8428c6..f88e0d44f9a 100644 --- a/PHOS/AliPHOSTrackSegment.h +++ b/PHOS/AliPHOSTrackSegment.h @@ -5,24 +5,30 @@ /* $Id$ */ +/* History of cvs commits: + * + * $Log$ + */ + //_________________________________________________________________________ // Track segment in PHOS // Can be : 1 EmcRecPoint -// 1 EmcRecPoint + 1 PPSD -// 1 EmcRecPoint + 1 PPSD + 1 PPSD +// 1 EmcRecPoint + 1 CPV // //*-- Author: Dmitri Peressounko (RRC KI & SUBATECH) // --- ROOT system --- #include "TObject.h" +class TClonesArray ; // --- Standard library --- // --- AliRoot header files --- - -#include "AliPHOSEmcRecPoint.h" -#include "AliPHOSRecPoint.h" +class AliPHOSRecPoint ; +class AliPHOSEmcRecPoint ; +class AliPHOSCpvRecPoint ; +class AliESDtrack ; class AliPHOSTrackSegment : public TObject { @@ -30,21 +36,22 @@ public: AliPHOSTrackSegment() {} AliPHOSTrackSegment(AliPHOSEmcRecPoint * EmcRecPoint , - AliPHOSRecPoint * PpsdUp, - AliPHOSRecPoint * PpsdLow ) ; // ctor + AliPHOSRecPoint * Cpv) ; + AliPHOSTrackSegment(AliPHOSEmcRecPoint * EmcRecPoint , + AliPHOSRecPoint * Cpv, Int_t track) ; AliPHOSTrackSegment(const AliPHOSTrackSegment & ts) ; // ctor virtual ~AliPHOSTrackSegment() { } - void Copy(TObject & obj) ; + void Copy(TObject & obj) const; - Int_t GetIndexInList() const { return fIndexInList ; } - Int_t GetEmcIndex()const { return fEmcRecPoint ; } - Int_t GetPpsdIndex()const{ return fPpsdLowRecPoint;} - Int_t GetCpvIndex()const { return fPpsdUpRecPoint; } + Int_t GetIndexInList() const { return fIndexInList ; } + Int_t GetEmcIndex() const { return fEmcRecPoint ; } + Int_t GetCpvIndex() const { return fCpvRecPoint; } + Int_t GetTrackIndex() const { return fTrack; } - virtual void Print(Option_t * option) ; + virtual void Print(const Option_t * = "") const; void SetIndexInList(Int_t val){ fIndexInList = val ; } - void SetCpvRecPoint(AliPHOSRecPoint * PpsdUpRecPoint ); //sets PPSD up Rec Point + void SetCpvRecPoint(AliPHOSRecPoint * CpvRecPoint ); //sets CPV Rec Point typedef TClonesArray TrackSegmentsList ; @@ -52,9 +59,9 @@ public: Int_t fEmcRecPoint ; // The EMC reconstructed point index in array stored in TreeR/PHOSEmcRP Int_t fIndexInList ; // the index of this TrackSegment in the list stored in TreeR (to be set by analysis) - Int_t fPpsdLowRecPoint ; // The PPSD reconstructed point from the lower layer index in array stored in TreeR/PHOSPpsdRP - Int_t fPpsdUpRecPoint ; // The PPSD reconstructed point from the upper layer index in array stored in TreeR/PHOSPpsdRP - + Int_t fCpvRecPoint ; // The CPV reconstructed point in array stored in TreeR/PHOSCpvRP + Int_t fTrack ; // The charged track index (from global tracking) in ESD file + ClassDef(AliPHOSTrackSegment,1) // Track segment in PHOS };