]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDmcm.h
Fix of TOF problem, Calculation of dEdx and PID during propagation to TOF, Writing...
[u/mrichter/AliRoot.git] / TRD / AliTRDmcm.h
index 0b47a330319d744646881b75b39969118450fac5..871df8494e72673ac363eec882fc78236473fc7c 100644 (file)
@@ -5,25 +5,27 @@
 
 /* $Id$ */
 
-///////////////////////////////////////////////////////
-//                                                   //
-//  Multi Chip Module object                         //
-//                                                   //
-///////////////////////////////////////////////////////
+////////////////////////////////////////////////////////////////////////////
+//                                                                        //
+//  Multi Chip Module object                                              //
+//                                                                        //
+////////////////////////////////////////////////////////////////////////////
 
 #include <TObject.h>
 
-class AliTRDtrigParam;
-
 class AliTRDmcm : public TObject {
 
  public:
 
-  enum { kMaxTrackletsPerMCM = 4, kMcmCol = 21, kMcmTBmax = 60, kSelClus = 6, kMaxClus = 4 };
+  enum { kMaxTrackletsPerMCM = 4
+       , kMcmCol             = 21
+       , kMcmTBmax           = 60
+       , kSelClus            = 6
+       , kMaxClus            = 4 };
 
   AliTRDmcm();
   AliTRDmcm(const AliTRDmcm &m);
-  AliTRDmcm(AliTRDtrigParam *trigp, Int_t id);
+  AliTRDmcm(Int_t id);
   virtual         ~AliTRDmcm();
   AliTRDmcm       &operator=(const AliTRDmcm &m);
 
@@ -56,7 +58,7 @@ class AliTRDmcm : public TObject {
           Bool_t   IsCluster(Float_t amp[3]) const;
           void     AddTimeBin(Int_t itime);
           Int_t    CreateSeeds();
-          void     Sort(Int_t nel, Int_t *x1, Int_t *x2, Int_t dir);
+          void     Sort(Int_t nel, Int_t *x1, Int_t *x2, Int_t dir) const;
 
           void     Filter(Int_t nexp, Int_t ftype = 0);
           void     DeConvExpA(Double_t *source, Double_t *target, Int_t n, Int_t nexp);
@@ -67,8 +69,6 @@ class AliTRDmcm : public TObject {
 
  protected:
 
-  AliTRDtrigParam *fTrigParam;                         //! Pointer to the trigger parameters class
-
           Int_t    fNtrk;                              //  Number of found tracklets
           Int_t    fTrkIndex[kMaxTrackletsPerMCM];     //  Index of found tracklets
           Int_t    fRobId;                             //  ROB id
@@ -94,7 +94,7 @@ class AliTRDmcm : public TObject {
 
           Int_t    fId;                                //  Dummy id
  
-  ClassDef(AliTRDmcm,2)                                //  TRD MCM class
+  ClassDef(AliTRDmcm,3)                                //  TRD MCM class
 
 };