X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;ds=sidebyside;f=PHOS%2FAliPHOSTrackSegment.h;h=9ecd65edd41dad19e383120a30b07b990e1bc11a;hb=40e62b79a9a450e2be559df25c3105fea66c2e9a;hp=f3ca43e320d0685ad2d8d693d64e7a595c4534b4;hpb=3663622c4d3b0416f42f8e59521f82d09e5662bb;p=u%2Fmrichter%2FAliRoot.git diff --git a/PHOS/AliPHOSTrackSegment.h b/PHOS/AliPHOSTrackSegment.h index f3ca43e320d..9ecd65edd41 100644 --- a/PHOS/AliPHOSTrackSegment.h +++ b/PHOS/AliPHOSTrackSegment.h @@ -8,6 +8,9 @@ /* 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. * @@ -42,15 +45,21 @@ public: AliPHOSRecPoint * Cpv) ; AliPHOSTrackSegment(AliPHOSEmcRecPoint * EmcRecPoint , AliPHOSRecPoint * Cpv, Int_t track) ; + AliPHOSTrackSegment(AliPHOSEmcRecPoint * EmcRecPoint , + AliPHOSRecPoint * Cpv, Int_t track, + Float_t dx, Float_t dz) ; AliPHOSTrackSegment(const AliPHOSTrackSegment & ts) ; // ctor virtual ~AliPHOSTrackSegment() { } + 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 fCpvRecPoint; } Int_t GetTrackIndex() const { return fTrack; } + Float_t GetCpvDistance(const Option_t* dr="r") const ; virtual void Print(const Option_t * = "") const; void SetIndexInList(Int_t val){ fIndexInList = val ; } @@ -58,14 +67,17 @@ public: typedef TClonesArray TrackSegmentsList ; +private: + AliPHOSTrackSegment & operator = (const AliPHOSTrackSegment & /*ts*/); private: 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 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 + ClassDef(AliPHOSTrackSegment,1) // Track segment in PHOS };