1 | #ifndef TrackSmearing_h
|
---|
2 | #define TrackSmearing_h
|
---|
3 |
|
---|
4 | /** \class TrackSmearing
|
---|
5 | *
|
---|
6 | * Performs d0, dZ, p, Theta, Phi smearing of tracks.
|
---|
7 | *
|
---|
8 | *
|
---|
9 | *
|
---|
10 | * \author A. Hart, M. Selvaggi
|
---|
11 | *
|
---|
12 | */
|
---|
13 |
|
---|
14 | #include "classes/DelphesModule.h"
|
---|
15 |
|
---|
16 | class TIterator;
|
---|
17 | class TObjArray;
|
---|
18 | class DelphesFormula;
|
---|
19 |
|
---|
20 | class TrackSmearing: public DelphesModule
|
---|
21 | {
|
---|
22 | public:
|
---|
23 |
|
---|
24 | TrackSmearing();
|
---|
25 | ~TrackSmearing();
|
---|
26 |
|
---|
27 | void Init();
|
---|
28 | void Process();
|
---|
29 | void Finish();
|
---|
30 |
|
---|
31 | private:
|
---|
32 |
|
---|
33 | Double_t ptError (const Double_t, const Double_t, const Double_t, const Double_t);
|
---|
34 |
|
---|
35 | Double_t fBz;
|
---|
36 |
|
---|
37 | DelphesFormula *fD0Formula; //!
|
---|
38 | std::string fD0ResolutionFile;
|
---|
39 | std::string fD0ResolutionHist;
|
---|
40 | Bool_t fUseD0Formula;
|
---|
41 |
|
---|
42 | DelphesFormula *fDZFormula; //!
|
---|
43 | std::string fDZResolutionFile;
|
---|
44 | std::string fDZResolutionHist;
|
---|
45 | Bool_t fUseDZFormula;
|
---|
46 |
|
---|
47 | DelphesFormula *fPFormula; //!
|
---|
48 | std::string fPResolutionFile;
|
---|
49 | std::string fPResolutionHist;
|
---|
50 | Bool_t fUsePFormula;
|
---|
51 |
|
---|
52 | DelphesFormula *fCtgThetaFormula; //!
|
---|
53 | std::string fCtgThetaResolutionFile;
|
---|
54 | std::string fCtgThetaResolutionHist;
|
---|
55 | Bool_t fUseCtgThetaFormula;
|
---|
56 |
|
---|
57 | DelphesFormula *fPhiFormula; //!
|
---|
58 | std::string fPhiResolutionFile;
|
---|
59 | std::string fPhiResolutionHist;
|
---|
60 | Bool_t fUsePhiFormula;
|
---|
61 |
|
---|
62 | Bool_t fApplyToPileUp;
|
---|
63 |
|
---|
64 | TIterator *fItInputArray; //!
|
---|
65 |
|
---|
66 | const TObjArray *fInputArray; //!
|
---|
67 | const TObjArray *fBeamSpotInputArray; //!
|
---|
68 |
|
---|
69 | TObjArray *fOutputArray; //!
|
---|
70 |
|
---|
71 | ClassDef(TrackSmearing, 1)
|
---|
72 | };
|
---|
73 |
|
---|
74 | #endif
|
---|