]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFcluster.h
CRT becomes ACORDE
[u/mrichter/AliRoot.git] / TOF / AliTOFcluster.h
index d422f5194ddb9f035345af090de4b0801aa7fdde..9b79884af75485862b8d312720538951d8aa083b 100644 (file)
@@ -1,18 +1,24 @@
 #ifndef ALITOFCLUSTER_H
 #define ALITOFCLUSTER_H
+
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
-// AliTOFcluster Class
 
-/* $Id $ */
+/* $Id$ */
 
-#include "TMath.h"
+//////////////////////////////////////////////
+//                                          //
+//     Class for TOF cluster definition     //
+//                                          //
+//////////////////////////////////////////////
 
+#include "TMath.h"
 #include "TObject.h"
 
 class AliTOFcluster : public TObject {
  public:
   AliTOFcluster(); // default ctor
+  AliTOFcluster(Double_t *h, Int_t *l, Int_t *ind, Int_t idx, Float_t ToT, Double_t TdcND, Bool_t status); // 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
@@ -32,7 +38,11 @@ class AliTOFcluster : public TObject {
   void     Use() {fADC=-fADC;}
   Double_t GetQuality() const {return fQuality;}
   void     SetQuality(Double_t quality) {fQuality = quality;}
+  Bool_t   GetStatus() const {return fStatus;}
+  void     SetStatus(Bool_t status) {fStatus = status;}
   void     SetToT(Float_t ToT) {fToT = ToT;}
+  void     SetTDC(Float_t Tdc) {fTDC = Tdc;}
+  void     SetTDCND(Float_t Tdc) {fTdcND = Tdc;}
  private:
 
   Int_t fLab[3];      // track labels
@@ -46,8 +56,9 @@ class AliTOFcluster : public TObject {
   Double_t fQuality;  // quality of the best track 
   Float_t  fToT;       // ToT
   Double_t fTdcND;      // TDC count
+  Bool_t   fStatus;      // cluster online status 
 
-  ClassDef(AliTOFcluster, 2) // TOF cluster
+  ClassDef(AliTOFcluster, 3) // TOF cluster
 };
 
 #endif