]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDpidLQ.h
New version of AliAlignObj. The new things are the ITS mapping and some added functio...
[u/mrichter/AliRoot.git] / TRD / AliTRDpidLQ.h
index 20773bab6a81b52c512f988d87ab6b654fcc8505..42a126a0a750fc91690584aaf628cc89f040b51e 100644 (file)
@@ -5,6 +5,18 @@
 
 /* $Id$ */
 
+
+///////////////////////////////////////////////////////////////////////////////
+//                                                                           //
+//   The TRD particle identification class                                   //
+//                                                                           //
+//   Its main purposes are:                                                  //
+//      - Creation and bookkeeping of the propability distributions          //
+//      - Assignment of a e/pi propability to a given track based on         //
+//        the LQ method                                                      //
+//                                                                           //
+///////////////////////////////////////////////////////////////////////////////
+
 #include "AliTRDpid.h"
 
 class AliTRDpidLQ : public AliTRDpid {
@@ -17,17 +29,19 @@ class AliTRDpidLQ : public AliTRDpid {
   virtual ~AliTRDpidLQ();
   AliTRDpidLQ &operator=(const AliTRDpidLQ &p);
 
-  virtual void          Copy(TObject &p);
+  virtual void          Copy(TObject &p) const;
   virtual Bool_t        Init();
+  virtual Bool_t        AssignLikelihood()            { return 0; };
+  virtual Bool_t        AssignLikelihood(TObjArray *) { return 0; };
   virtual Bool_t        AssignLikelihood(AliTRDtrack *t);
-  virtual Bool_t        CreateHistograms(const Int_t   nmom
-                                       , const Float_t minmom
-                                       , const Float_t maxmom);
+  virtual Bool_t        CreateHistograms(Int_t nmom, Float_t minmom, Float_t maxmom);
+  virtual Bool_t        FillSpectra()                 { return 0; };
+  virtual Bool_t        FillSpectra(TObjArray*)       { return 0; };
   virtual Bool_t        FillSpectra(const AliTRDtrack *t);
 
-  inline  Int_t         GetIndex(const AliTRDtrack *t);
-  inline  Int_t         GetIndex(const Int_t imom, const Int_t ipid);
-  inline  Int_t         GetIndex(const Float_t mom, const Int_t ipid);
+          Int_t         GetIndex(const AliTRDtrack *t);
+          Int_t         GetIndex(Int_t imom, Int_t ipid);
+          Int_t         GetIndex(Float_t mom, Int_t ipid);
 
           TObjArray*    GetHist() const                     { return fHist;        };
 
@@ -38,12 +52,12 @@ class AliTRDpidLQ : public AliTRDpid {
           Float_t       GetMinLh() const                    { return fMinLh;       };
           Float_t       GetMaxLh() const                    { return fMaxLh;       };
 
-          void          SetChargeMin(const Float_t min)     { fChargeMin   = min;  };
-          void          SetNClusterMin(const Int_t min)     { fNClusterMin = min;  };
+          void          SetChargeMin(Float_t min)     { fChargeMin   = min;  };
+          void          SetNClusterMin(Int_t min)     { fNClusterMin = min;  };
 
-          void          SetNLh(const Int_t n)               { fNLh         = n;    };
-          void          SetMinLh(const Float_t min)         { fMinLh       = min;  };
-          void          SetMaxLh(const Float_t max)         { fMaxLh       = max;  };
+          void          SetNLh(Int_t n)               { fNLh         = n;    };
+          void          SetMinLh(Float_t min)         { fMinLh       = min;  };
+          void          SetMaxLh(Float_t max)         { fMaxLh       = max;  };
 
  protected: