]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HMPID/AliHMPIDRecoParam.h
Further fixes to the par file generation
[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 //Email: Levente.Molnar@ba.infn.it
13 //
14
15 #include "TNamed.h"
16
17 class AliHMPIDRecoParam : public TNamed
18 {
19  public: 
20   
21   AliHMPIDRecoParam();                                                                  //ctor
22   AliHMPIDRecoParam(const AliHMPIDRecoParam &p);                                            //copy ctor 
23   AliHMPIDRecoParam& operator=(const AliHMPIDRecoParam &p);                                 // ass. op.
24   virtual ~AliHMPIDRecoParam();                                                         //dtor
25   
26   Bool_t   GetRecoMode(            )       const  { return fRecoMode;          }
27   Bool_t   GetUserCutMode(         )       const  { return fUserCutMode;       }
28   Int_t   GetUserCut(Int_t iCh)            const  { return fUserCut[iCh];      }
29   void    SetRecoMode(Bool_t recoMode)            { fRecoMode=recoMode;        }
30   void    SetUserCut(Int_t iChamb,Int_t ucCh)     { fUserCut[iChamb]=ucCh;     }              //set user cut for a given chamber
31   void    SetUserCutMode(Bool_t userCutMode)      { fUserCutMode=userCutMode;  }
32   
33   static   AliHMPIDRecoParam *GetUserModeParam();        // make reco parameters
34   
35  
36   protected:
37    
38   Bool_t  fRecoMode;                                    //kTRUE = normal tracking reco, kFALSE = HTA
39   Int_t   fUserCut[7];                                 //user cut for the 7 chambers
40   Bool_t  fUserCutMode;                                 //kTRUE =  get user cut from OCDB, kFALSE = get user cut from AliHMPIDRecoParam
41   
42
43       ClassDef(AliHMPIDRecoParam, 1) 
44 };
45 #endif
46