]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDclusterizer.h
Update with new AddTask macro for the azimuthal isotropic expansion analysis by C...
[u/mrichter/AliRoot.git] / TRD / AliTRDclusterizer.h
index 55d94ba1c033db33ece2e16c5a51e487d02a0ce3..4daf6dee3ff5e474396e63c1ac3cbfcc64b10fdd 100644 (file)
@@ -39,24 +39,25 @@ class AliTRDclusterizer : public TNamed
  public:
 
   // steering flags
+  // bits from 0-13 are reserved by ROOT (see TObject.h)
   enum{
-    kTrOwner= BIT(13)  //  toggle online tracklets ownership
-    ,kClOwner= BIT(14)  //  toggle cluster ownership
-    ,kLabels = BIT(15)  //  toggle MC labels for clusters
-    ,kHLT    = BIT(16)  //  HLT mode
-    ,kLUT    = BIT(17)  //  using look up table for cluster's r-phi position
-    ,kGAUS   = BIT(18)  //  using gauss approx. for cluster's r-phi position
-    ,knewDM  = BIT(19)  //  was the digitsmanger created by raw2clusters?
+    kTrOwner = BIT(14)  //  toggle online tracklets ownership
+    ,kClOwner= BIT(15)  //  toggle cluster ownership
+    ,kLabels = BIT(16)  //  toggle MC labels for clusters
+    ,kHLT    = BIT(17)  //  HLT mode
+    ,kLUT    = BIT(18)  //  using look up table for cluster's r-phi position
+    ,kGAUS   = BIT(19)  //  using gauss approx. for cluster's r-phi position
+    ,knewDM  = BIT(20)  //  was the digitsmanger created by raw2clusters?
   };
 
   struct MaxStruct
   {
-    Int_t       row;
-    Int_t       col;
-    Int_t       time;
-    Short_t     signals[3];
-    UChar_t     padStatus;
-    Bool_t      fivePad;
+    Int_t       row;           // row of the current cluster candidate
+    Int_t       col;           // col of the current cluster candidate
+    Int_t       time;          // time -"-
+    Short_t     signals[3];    // signals of the maximum pad and it's twon neigbours
+    UChar_t     padStatus;     // padStatus of the current cluster candidate
+    Bool_t      fivePad;       // is this cluster candidate part of a 5 pad cluster (two overlaping clusters)?
   MaxStruct():row(-1),col(0),time(0),padStatus(0),fivePad(kFALSE)
       {memset(signals, 0, 3*sizeof(Short_t));}
     MaxStruct &operator=(const MaxStruct &a)
@@ -99,6 +100,7 @@ class AliTRDclusterizer : public TNamed
   void             SetReconstructor(const AliTRDReconstructor *rec) {fReconstructor = rec;}
   static UChar_t   GetStatus(Short_t &signal);
   Int_t            GetAddedClusters() const {return fNoOfClusters;}
+  Int_t            GetNTimeBins() const {return fTimeTotal;}
 
   Bool_t   IsClustersOwner() const {return TestBit(kClOwner);}
   virtual void     SetClustersOwner(Bool_t own=kTRUE) {SetBit(kClOwner, own); if(!own) {fRecPoints = 0x0; fNoOfClusters=0;} }