X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PHOS%2FAliPHOSTrackSegment.h;h=34c161f1f8c150f3e9fd7ac1fc052291f87ce218;hb=24f126079399620106ef944221d0d1ce3c4bbed2;hp=8b691e76783eace3a60a9cc875708ae8ad306920;hpb=e957fea89c462908a01dcfa4f611e99a98080071;p=u%2Fmrichter%2FAliRoot.git diff --git a/PHOS/AliPHOSTrackSegment.h b/PHOS/AliPHOSTrackSegment.h index 8b691e76783..34c161f1f8c 100644 --- a/PHOS/AliPHOSTrackSegment.h +++ b/PHOS/AliPHOSTrackSegment.h @@ -5,11 +5,21 @@ /* $Id$ */ +/* History of cvs commits: + * + * $Log$ + * Revision 1.23 2006/08/28 10:01:56 kharlov + * Effective C++ warnings fixed (Timur Pocheptsov) + * + * Revision 1.22 2005/05/28 14:19:05 schutz + * Compilation warnings fixed by T.P. + * + */ + //_________________________________________________________________________ // 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) @@ -24,26 +34,36 @@ class TClonesArray ; class AliPHOSRecPoint ; class AliPHOSEmcRecPoint ; class AliPHOSCpvRecPoint ; +class AliESDtrack ; class AliPHOSTrackSegment : public TObject { public: - AliPHOSTrackSegment() {} + AliPHOSTrackSegment() ; + AliPHOSTrackSegment(AliPHOSEmcRecPoint * EmcRecPoint , + AliPHOSRecPoint * Cpv) ; + AliPHOSTrackSegment(AliPHOSEmcRecPoint * EmcRecPoint , + AliPHOSRecPoint * Cpv, Int_t track) ; AliPHOSTrackSegment(AliPHOSEmcRecPoint * EmcRecPoint , - AliPHOSRecPoint * PpsdUp) ; + AliPHOSRecPoint * Cpv, Int_t track, + Float_t dx, Float_t dz) ; AliPHOSTrackSegment(const AliPHOSTrackSegment & ts) ; // ctor virtual ~AliPHOSTrackSegment() { } - void Copy(TObject & obj) ; + void SetCpvDistance(Float_t x,Float_t z){fDcpv[0]=x ; fDcpv[1]=z ; } + + void Copy(TObject & obj) const; Int_t GetIndexInList() const { return fIndexInList ; } Int_t GetEmcIndex() const { return fEmcRecPoint ; } - Int_t GetCpvIndex() const { return fPpsdUpRecPoint; } + Int_t GetCpvIndex() const { return fCpvRecPoint; } + Int_t GetTrackIndex() const { return fTrack; } + Float_t GetCpvDistance(const Option_t* dr="r") const ; - virtual void Print() const; + 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 ; @@ -51,9 +71,11 @@ 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 fPpsdUpRecPoint ; // The CPV reconstructed point from the upper layer index in array stored in TreeR/PHOSPpsdRP - - ClassDef(AliPHOSTrackSegment,1) // Track segment in PHOS + 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 + Float_t fDcpv[2] ; // Distance to projection of CPV cluster + + ClassDef(AliPHOSTrackSegment,1) // Track segment in PHOS };