]>
Commit | Line | Data |
---|---|---|
68e9b988 | 1 | #ifndef AliOADBMuonTrackCutsParam_H |
2 | #define AliOADBMuonTrackCutsParam_H | |
3 | /* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | //------------------------------------------------------------------------- | |
9 | // OADB interface for the Muon track cuts | |
10 | // Author: Diego Stocco | |
11 | // | |
12 | // This class contains the parameters needed to configure the | |
13 | // muon track cuts | |
14 | // ------------------------------------------------------------------------- | |
15 | ||
16 | #include <TNamed.h> | |
17 | ||
18 | class TVector3; | |
19 | ||
20 | class AliOADBMuonTrackCutsParam : public TNamed { | |
21 | ||
22 | public : | |
23 | AliOADBMuonTrackCutsParam (); | |
24 | AliOADBMuonTrackCutsParam ( const char* name ); | |
25 | virtual ~AliOADBMuonTrackCutsParam (); | |
26 | AliOADBMuonTrackCutsParam ( const AliOADBMuonTrackCutsParam& other ); | |
27 | AliOADBMuonTrackCutsParam& operator = ( const AliOADBMuonTrackCutsParam& other ); | |
28 | ||
29 | void SetMeanDCA ( Double_t xAtDca, Double_t yAtDca, Double_t zAtDca = 0. ); | |
30 | TVector3 GetMeanDCA () const; | |
31 | ||
32 | void SetMeanPCorr ( Double_t pCorrThetaAbs23, Double_t pCorrThetaAbs310 ); | |
33 | Double_t GetMeanPCorr23 ( ) const; | |
34 | Double_t GetMeanPCorr310 ( ) const; | |
35 | ||
36 | void SetSigmaPdca ( Double_t sigmaThetaAbs23, Double_t sigmaThetaAbs310 ); | |
37 | Double_t GetSigmaPdca23 ( ) const; | |
38 | Double_t GetSigmaPdca310 ( ) const; | |
39 | ||
40 | void SetNSigmaPdca ( Double_t nSigmas ); | |
41 | Double_t GetNSigmaPdca () const; | |
42 | ||
43 | void SetChi2NormCut ( Double_t chi2normCut ); | |
44 | Double_t GetChi2NormCut () const; | |
45 | ||
46 | void SetRelPResolution ( Double_t relPResolution ); | |
47 | Double_t GetRelPResolution () const; | |
48 | ||
49 | void SetSlopeResolution ( Double_t slopeResolution ); | |
50 | Double_t GetSlopeResolution () const; | |
51 | ||
52 | void SetSharpPtCut ( Double_t valueApt, Double_t valueLpt, Double_t valueHpt ); | |
53 | Double_t GetSharpPtCut ( Int_t trigPtCut, Bool_t warn = kTRUE ) const; | |
54 | ||
55 | void Print ( Option_t* option = "" ) const; | |
56 | ||
57 | private : | |
58 | Double_t fMeanDcaX; ///< Average track DCA_x | |
59 | Double_t fMeanDcaY; ///< Average track DCA_y | |
60 | Double_t fMeanDcaZ; ///< Average track DCA_z | |
61 | Double_t fMeanPCorr23; ///< Average momentum correction in 2-3 deg | |
62 | Double_t fMeanPCorr310; ///< Average momentum correction in 3-10 deg | |
63 | Double_t fSigmaPdca23; ///< Sigma_PxDCA in 2-3 deg | |
64 | Double_t fSigmaPdca310; ///< Sigma_PxDCA in 3-10 deg | |
65 | Double_t fNSigmaPdcaCut; ///< Cut value in units of sigma_PxDCA | |
66 | Double_t fChi2NormCut; ///< Cut on the normalized chi2 of track | |
67 | Double_t fRelPResolution; ///< Relative momentum resolution | |
68 | Double_t fSlopeResolution; ///< Slope resolution | |
69 | Double_t fSharpPtApt; ///< Sharp tracker pt cut for Apt | |
70 | Double_t fSharpPtLpt; ///< Sharp tracker pt cut for Lpt | |
71 | Double_t fSharpPtHpt; ///< Sharp tracker pt cut for Hpt | |
72 | ||
73 | ClassDef(AliOADBMuonTrackCutsParam, 1); | |
74 | }; | |
75 | ||
76 | #endif |