]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliGRPRecoParam.h
Introduction of AliGRPRecoParam object which is used in order to steer the global...
[u/mrichter/AliRoot.git] / STEER / AliGRPRecoParam.h
1 #ifndef ALIGRPRECOPARAM_H
2 #define ALIGRPRECOPARAM_H
3 /* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6
7 ///////////////////////////////////////////////////////////////////////////////
8 //                                                                           //
9 // Class with global reconstruction parameters                               //
10 // (initially, parameters for AliVertexerTracks)                             //
11 // Origin: andrea.dainese@lnl.infn.it                                        //
12 //                                                                           //
13 ///////////////////////////////////////////////////////////////////////////////
14
15
16 #include "AliDetectorRecoParam.h"
17
18 class AliGRPRecoParam : public AliDetectorRecoParam
19 {
20  public: 
21   AliGRPRecoParam();
22   virtual ~AliGRPRecoParam();
23
24   static AliGRPRecoParam *GetLowFluxParam();// make reco parameters for low flux env.
25   static AliGRPRecoParam *GetHighFluxParam();// make reco parameters for high flux env. 
26
27   void  SetVertexerTracksCuts(Int_t mode,Int_t ncuts,Double_t cuts[10]);
28   void  SetVertexerTracksCutsITS(Int_t ncuts,Double_t cuts[10])
29     { SetVertexerTracksCuts(0,ncuts,cuts); return; }
30   void  SetVertexerTracksCutsTPC(Int_t ncuts,Double_t cuts[10])
31     { SetVertexerTracksCuts(1,ncuts,cuts); return; }
32   Int_t GetVertexerTracksNCuts() const { return fVertexerTracksNCuts; }
33   void  GetVertexerTracksCuts(Int_t mode,Double_t *cuts) const;
34   void  GetVertexerTracksCutsITS(Double_t *cuts) const
35     { GetVertexerTracksCuts(0,cuts); return; }
36   void  GetVertexerTracksCutsTPC(Double_t *cuts) const
37     { GetVertexerTracksCuts(1,cuts); return; }
38
39   AliGRPRecoParam(const AliGRPRecoParam&);
40   AliGRPRecoParam& operator=(const AliGRPRecoParam&);
41
42  protected:
43   //
44
45   Int_t    fVertexerTracksNCuts; // number of cuts for AliVertexerTracks
46   // cuts for AliVertexerTracks: ITS mode
47   Double_t fVertexerTracksITSdcacut; // general dca
48   Double_t fVertexerTracksITSdcacutIter0; // dca in iteration 0
49   Double_t fVertexerTracksITSmaxd0z0; // max d0z0
50   Double_t fVertexerTracksITSminCls; // min clusters
51   Double_t fVertexerTracksITSmintrks; // min tracks
52   Double_t fVertexerTracksITSnsigma; // n sigma for d0 cut
53   Double_t fVertexerTracksITSnindetfitter; // min det to try inversion
54   Double_t fVertexerTracksITSmaxtgl; // max tgl 
55   Double_t fVertexerTracksITSfidR; // fiducial radius
56   Double_t fVertexerTracksITSfidZ; // fiducial z
57
58   // cuts for AliVertexerTracks: TPC-only mode
59   Double_t fVertexerTracksTPCdcacut; // general dca
60   Double_t fVertexerTracksTPCdcacutIter0; // dca in iteration 0
61   Double_t fVertexerTracksTPCmaxd0z0; // max d0z0
62   Double_t fVertexerTracksTPCminCls; // min clusters
63   Double_t fVertexerTracksTPCmintrks; // min tracks
64   Double_t fVertexerTracksTPCnsigma; // n sigma for d0 cut
65   Double_t fVertexerTracksTPCnindetfitter; // min det to try inversion
66   Double_t fVertexerTracksTPCmaxtgl; // max tgl 
67   Double_t fVertexerTracksTPCfidR; // fiducial radius
68   Double_t fVertexerTracksTPCfidZ; // fiducial z
69
70   ClassDef(AliGRPRecoParam,1) // global reco parameters
71 };
72
73 #endif