ATO-98 Extended print. Bug. fix. Initilaization of the flags in AddCorrectionCompact...
[u/mrichter/AliRoot.git] / HMPID / HMPIDrec / AliHMPIDRecoParamV1.h
CommitLineData
b4b2d95f 1#ifndef ALIHMPIDRECOPARAMV1_H
2#define ALIHMPIDRECOPARAMV1_H
55a829a5 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// //
b4b2d95f 10// This class is introduced as a copy of teh AliHMPIDRecoParam to solve //
11// the problem occured in v4-17-Rev-18 //
9130f705 12// //
13// //
55a829a5 14///////////////////////////////////////////////////////////////////////////////
55a829a5 15
451299f3 16#include "AliDetectorRecoParam.h"
55a829a5 17
b4b2d95f 18class AliHMPIDRecoParamV1 : public AliDetectorRecoParam
55a829a5 19{
20 public:
21
b4b2d95f 22 AliHMPIDRecoParamV1(); //ctor
23 AliHMPIDRecoParamV1(const AliHMPIDRecoParamV1 &p); //copy ctor
24 AliHMPIDRecoParamV1& operator=(const AliHMPIDRecoParamV1 &p); // ass. op.
25 virtual ~AliHMPIDRecoParamV1(); //dtor
451299f3 26
55a829a5 27
b4b2d95f 28 static AliHMPIDRecoParamV1 *GetLowFluxParam(); // reco params for low flux env.
29 static AliHMPIDRecoParamV1 *GetHighFluxParam(); // reco params for high flux env.
30 static AliHMPIDRecoParamV1 *GetCosmicParam(); // reco params for cosmic
451299f3 31
32 Bool_t GetHmpRecoMode( ) const { return fHmpRecoMode; } //kTRUE = normal tracking reco, kFALSE = HTA
33 void SetHmpRecoMode(Bool_t recoMode) { fHmpRecoMode=recoMode; } //kTRUE = normal tracking reco, kFALSE = HTA
34 Int_t GetHmpUserCut(Int_t iCh) const { return fHmpUserCut[iCh]; } //user cut for the 7 chambers
35 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
36 Bool_t IsFixedDistCut() const { return fHmpFixedDistCut; } //if kTRUE the track matching distance is a fix number, if kFALSE the distance depends on momentum
37 void SetIsFixedDistCut(Bool_t isFix) { fHmpFixedDistCut=isFix; } //Change from fix distance cut to parameterized
38 Double_t GetHmpTrackMatchingDist() const { return fHmpTrackMatchingDist; } //Get distance between the MIP cluster
39 void SetHmpTrackMatchingDist(Double_t dist) { fHmpTrackMatchingDist=dist; } //Set distance between the MIP cluster
40 Double_t GetHmpTrackMatchingDistParam(Int_t par) const {return fHmpTrackMatchingDistParas[par];} //Prevision to get momentum dependen track matching parameters
41 void SetHmpTrackMatchingDistParam(Int_t par, Double_t val) {fHmpTrackMatchingDistParas[par]=val;} //Prevision to set momentum dependen track matching parameters
42
43 virtual void PrintParameters() const;
55a829a5 44
45
46 protected:
47
451299f3 48 Bool_t fHmpRecoMode; //kTRUE = normal tracking reco, kFALSE = HTA
49 Int_t fHmpUserCut[7]; //user cut for the 7 chambers
50 Bool_t fHmpFixedDistCut; //if kTRUE the track matching distance is a fix number, if kFALSE the distance depends on momentum
51 Double_t fHmpTrackMatchingDist; //distance between the MIP cluster
52 Double_t fHmpTrackMatchingDistParas[5]; //Prevision for momentum dependen track matching
55a829a5 53
54
b4b2d95f 55 ClassDef(AliHMPIDRecoParamV1, 1)
55a829a5 56};
55a829a5 57#endif
58