X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=TRD%2FAliTRDmcmTracklet.h;h=416cd3037174d6a9a7244932d3feaec6f5e72540;hb=6d50f529b7ba0b8b8cea934ac14d4969bb6107a9;hp=4ad87080a4421e7aa0ab64e8f1a767768690f30d;hpb=671a9fcfc70026ec1ae154da54d212eeca10fedd;p=u%2Fmrichter%2FAliRoot.git diff --git a/TRD/AliTRDmcmTracklet.h b/TRD/AliTRDmcmTracklet.h index 4ad87080a44..416cd303717 100644 --- a/TRD/AliTRDmcmTracklet.h +++ b/TRD/AliTRDmcmTracklet.h @@ -23,39 +23,40 @@ class AliTRDmcmTracklet : public TObject { AliTRDmcmTracklet(); AliTRDmcmTracklet(Int_t det, Int_t row, Int_t n); - virtual ~AliTRDmcmTracklet(); + AliTRDmcmTracklet(const AliTRDmcmTracklet &t); + virtual ~AliTRDmcmTracklet(); AliTRDmcmTracklet &operator=(const AliTRDmcmTracklet &t); - virtual void Copy(TObject &t) const; - - void Reset(); - - void AddCluster(Int_t icol, Int_t itb, Float_t *adc, Int_t *track); - void MakeTrackletGraph(AliTRDgeometry *geo = 0, Float_t field = 0); - void MakeClusAmpGraph(); - void CookLabel(Float_t frac); - - void SetRow(Int_t row) { fRow = row; }; - void SetDetector(Int_t det) { fDetector = det; }; - void SetN(Int_t n) { fN = n; }; - - Int_t GetNclusters() const { return fNclusters; }; - Int_t GetDetector() const { return fDetector; }; - Int_t GetRow() const { return fRow; }; - Float_t GetOffset() const { return fOffset; }; - Float_t GetSlope() const { return fSlope; }; - Float_t GetTime0() const { return fTime0; }; - Float_t GetRowz() const { return fRowz; }; - Float_t GetPt() const { return fPt; }; - Float_t GetdQdl() const { return fdQdl; }; - Int_t GetLabel() const { return fTrackLabel; }; - Int_t GetNumber() const { return fN; }; + virtual void Copy(TObject &t) const; + + void Reset(); + + void AddCluster(Int_t icol, Int_t itb, Float_t *adc, Int_t *track); + void MakeTrackletGraph(AliTRDgeometry *geo = 0, Float_t field = 0); + void MakeClusAmpGraph(); + void CookLabel(Float_t frac); + + void SetRow(Int_t row) { fRow = row; }; + void SetDetector(Int_t det) { fDetector = det; }; + void SetN(Int_t n) { fN = n; }; + + Int_t GetNclusters() const { return fNclusters; }; + Int_t GetDetector() const { return fDetector; }; + Int_t GetRow() const { return fRow; }; + Float_t GetOffset() const { return fOffset; }; + Float_t GetSlope() const { return fSlope; }; + Float_t GetTime0() const { return fTime0; }; + Float_t GetRowz() const { return fRowz; }; + Float_t GetPt() const { return fPt; }; + Float_t GetdQdl() const { return fdQdl; }; + Int_t GetLabel() const { return fTrackLabel; }; + Int_t GetNumber() const { return fN; }; Float_t GetOmegaTau(Float_t vdrift, Float_t field) const; Float_t GetClusY(Float_t *adc, Int_t pla) const; - TGraph *GetTrackletGraph() const { return fGPos; }; - TGraph *GetClusAmpGraph() const { return fGAmp; }; - Float_t *GetClusterADC(Int_t icl) { return fADC[icl]; }; - Int_t GetClusterTime(Int_t icl) const { return fTime[icl]; }; - Int_t GetClusterCol(Int_t icl) const { return fCol[icl]; }; + TGraph *GetTrackletGraph() const { return fGPos; }; + TGraph *GetClusAmpGraph() const { return fGAmp; }; + Float_t *GetClusterADC(Int_t icl) { return fADC[icl]; }; + Int_t GetClusterTime(Int_t icl) const { return fTime[icl]; }; + Int_t GetClusterCol(Int_t icl) const { return fCol[icl]; }; protected: @@ -68,19 +69,19 @@ class AliTRDmcmTracklet : public TObject { Int_t fCol[kNtimeBins]; // Array of pad column values Int_t fNclusters; // Number of clusters in the tracklet - Int_t fN; // Tracklet number + Int_t fN; // Tracklet number TGraph *fGPos; //! Positions TGraph *fGAmp; //! Amplitudes - Float_t fTime0; // X position at the entrance window - Float_t fRowz; // Z position of the row center - Float_t fSlope; // Slope [deg] - Float_t fOffset; // Offset - Float_t fPt; // Transverse momentum - Float_t fdQdl; // Charge per unit length + Float_t fTime0; // X position at the entrance window + Float_t fRowz; // Z position of the row center + Float_t fSlope; // Slope [deg] + Float_t fOffset; // Offset + Float_t fPt; // Transverse momentum + Float_t fdQdl; // Charge per unit length - ClassDef(AliTRDmcmTracklet,2) // Track segment for the TRD (Tracklet) + ClassDef(AliTRDmcmTracklet,2) // Track segment for the TRD (Tracklet) };