]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HMPID/AliHMPIDRecoParamV1.h
Moving the copy constructors and assignment operators to private: and removing the...
[u/mrichter/AliRoot.git] / HMPID / AliHMPIDRecoParamV1.h
CommitLineData
c458aab6 1#ifndef ALIHMPIDRECOPARAMV1_H
2#define ALIHMPIDRECOPARAMV1_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// This class is introduced as a copy of teh AliHMPIDRecoParam to solve //
11// the problem occured in v4-17-Rev-18 //
12// //
13// //
14///////////////////////////////////////////////////////////////////////////////
15
16#include "AliDetectorRecoParam.h"
17
18class AliHMPIDRecoParamV1 : public AliDetectorRecoParam
19{
20 public:
21
22 AliHMPIDRecoParamV1(); //ctor
23 AliHMPIDRecoParamV1(const AliHMPIDRecoParamV1 &p); //copy ctor
24 AliHMPIDRecoParamV1& operator=(const AliHMPIDRecoParamV1 &p); // ass. op.
25 virtual ~AliHMPIDRecoParamV1(); //dtor
26
27
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
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;
44
45
46 protected:
47
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
53
54
13b43427 55 ClassDef(AliHMPIDRecoParamV1, 1)
c458aab6 56};
57#endif
58