]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFcluster.h
Add classes for TOF Calibration (C.Zampolli)
[u/mrichter/AliRoot.git] / TOF / AliTOFcluster.h
index 0de5bc677acdb434a6d5e46a1c36e596985abadd..d422f5194ddb9f035345af090de4b0801aa7fdde 100644 (file)
@@ -13,7 +13,7 @@
 class AliTOFcluster : public TObject {
  public:
   AliTOFcluster(); // default ctor
-  AliTOFcluster(Double_t *h, Int_t *l, Int_t *ind, Int_t idx); // ctor
+  AliTOFcluster(Double_t *h, Int_t *l, Int_t *ind, Int_t idx, Float_t ToT, Double_t TdcND); // ctor
   AliTOFcluster(Double_t *h, Int_t *ind); // new ctor
   AliTOFcluster(const AliTOFcluster & cluster); // copy ctor
   virtual ~AliTOFcluster(); // dtor
@@ -22,7 +22,9 @@ class AliTOFcluster : public TObject {
   Double_t GetPhi() const {return fPhi;} // Cluster Phi
   Double_t GetZ()   const {return fZ;}   // Cluster Z
   Double_t GetTDC() const {return fTDC;} // Cluster ToF
+  Double_t GetTDCND() const {return fTdcND;} // Cluster ToF
   Double_t GetADC() const {return TMath::Abs(fADC);}  // Cluster Charge
+  Double_t GetToT() const {return fToT;}  // Cluster Charge
   Int_t    IsUsed() const {return (fADC<0) ? 1 : 0;}  // Flagging
   Int_t    GetLabel(Int_t n) const  {return fLab[n];} // Labels of tracks in Cluster
   Int_t    GetDetInd(Int_t n) const {return fdetIndex[n];} // Cluster Detector Indeces
@@ -30,6 +32,7 @@ class AliTOFcluster : public TObject {
   void     Use() {fADC=-fADC;}
   Double_t GetQuality() const {return fQuality;}
   void     SetQuality(Double_t quality) {fQuality = quality;}
+  void     SetToT(Float_t ToT) {fToT = ToT;}
  private:
 
   Int_t fLab[3];      // track labels
@@ -41,7 +44,10 @@ class AliTOFcluster : public TObject {
   Double_t fTDC;      // TDC count
   Double_t fADC;      // ADC count
   Double_t fQuality;  // quality of the best track 
-  ClassDef(AliTOFcluster, 1) // TOF cluster
+  Float_t  fToT;       // ToT
+  Double_t fTdcND;      // TDC count
+
+  ClassDef(AliTOFcluster, 2) // TOF cluster
 };
 
 #endif