Class AliHMPIDRecoParamV1 introduced (29-11-2009) as a copy of AliHMPIDRecoParam...
[u/mrichter/AliRoot.git] / HMPID / AliHMPIDRecoParam.h
1 #ifndef ALIHMPIDRECOPARAM_H
2 #define ALIHMPIDRECOPARAM_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 ///////////////////////////////////////////////////////////////////////////////
7 //                                                                           //
8 // Class to set HMPID reconstruction parameters (normal, HTA, UserCut ...    //
9 //                                                                           //
10 //                                                                           //
11 //                                                                           //
12 ///////////////////////////////////////////////////////////////////////////////
13
14 #include "AliDetectorRecoParam.h"
15
16 class AliHMPIDRecoParam : public AliDetectorRecoParam
17 {
18  public: 
19   
20   AliHMPIDRecoParam();                                                                                           //ctor
21   AliHMPIDRecoParam(const AliHMPIDRecoParam &p);                                                               //copy ctor 
22   AliHMPIDRecoParam& operator=(const AliHMPIDRecoParam &p);                                                    // ass. op.
23   virtual ~AliHMPIDRecoParam();                                                                                  //dtor
24
25   
26   static AliHMPIDRecoParam *GetLowFluxParam();                                                                   // reco params for low flux env.
27   static AliHMPIDRecoParam *GetHighFluxParam();                                                                  // reco params for high flux env. 
28   static AliHMPIDRecoParam *GetCosmicParam();                                                                    // reco params for cosmic  
29     
30   Bool_t   GetHmpRecoMode(            )        const            { return fHmpRecoMode;          }                  //kTRUE = normal tracking reco, kFALSE = HTA     
31   void     SetHmpRecoMode(Bool_t recoMode)                       { fHmpRecoMode=recoMode;        }                 //kTRUE = normal tracking reco, kFALSE = HTA   
32   Int_t    GetHmpUserCut(Int_t iCh)            const             { return fHmpUserCut[iCh];      }                 //user cut for the 7 chambers
33   void     SetHmpUserCut(Int_t iChamb,Int_t ucCh)     { fHmpUserCut[iChamb]=ucCh; Printf("fUserCut[%d]=%d",iChamb,ucCh);    }       //set user cut (DAQ Sigma) for a given chamber
34   Bool_t   IsFixedDistCut()                    const             { return fHmpFixedDistCut;      }                  //if kTRUE the track matching  distance is a fix number, if kFALSE the distance depends on momentum
35   void     SetIsFixedDistCut(Bool_t isFix)                       { fHmpFixedDistCut=isFix;       }                  //Change from fix distance cut to parameterized
36   Double_t GetHmpTrackMatchingDist()           const             { return fHmpTrackMatchingDist; }                  //Get distance between the MIP cluster
37   void     SetHmpTrackMatchingDist(Double_t dist)                { fHmpTrackMatchingDist=dist;   }                  //Set distance between the MIP cluster
38   Double_t GetHmpTrackMatchingDistParam(Int_t par) const         {return fHmpTrackMatchingDistParas[par];}          //Prevision to get  momentum dependen track matching parameters
39   void     SetHmpTrackMatchingDistParam(Int_t par, Double_t val) {fHmpTrackMatchingDistParas[par]=val;}             //Prevision to set  momentum dependen track matching parameters
40
41   virtual void PrintParameters() const;
42   
43  
44   protected:
45    
46   Bool_t   fHmpRecoMode;                                    //kTRUE = normal tracking reco, kFALSE = HTA
47   Int_t    fHmpUserCut[7];                                  //user cut for the 7 chambers
48   Bool_t   fHmpFixedDistCut;                                //if kTRUE the track matching  distance is a fix number, if kFALSE the distance depends on momentum
49   Double_t fHmpTrackMatchingDist;                           //distance between the MIP cluster
50   Double_t fHmpTrackMatchingDistParas[5];                   //Prevision for momentum dependen track matching
51   
52
53   ClassDef(AliHMPIDRecoParam, 3) 
54 };
55 #endif
56