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 | TrackSmearing();
|
---|
24 | ~TrackSmearing();
|
---|
25 |
|
---|
26 | void Init();
|
---|
27 | void Process();
|
---|
28 | void Finish();
|
---|
29 |
|
---|
30 | private:
|
---|
31 | Double_t ptError(const Double_t, const Double_t, const Double_t, const Double_t);
|
---|
32 |
|
---|
33 | Double_t fBz;
|
---|
34 |
|
---|
35 | DelphesFormula *fD0Formula; //!
|
---|
36 | std::string fD0ResolutionFile;
|
---|
37 | std::string fD0ResolutionHist;
|
---|
38 | Bool_t fUseD0Formula;
|
---|
39 |
|
---|
40 | DelphesFormula *fDZFormula; //!
|
---|
41 | std::string fDZResolutionFile;
|
---|
42 | std::string fDZResolutionHist;
|
---|
43 | Bool_t fUseDZFormula;
|
---|
44 |
|
---|
45 | DelphesFormula *fPFormula; //!
|
---|
46 | std::string fPResolutionFile;
|
---|
47 | std::string fPResolutionHist;
|
---|
48 | Bool_t fUsePFormula;
|
---|
49 |
|
---|
50 | DelphesFormula *fCtgThetaFormula; //!
|
---|
51 | std::string fCtgThetaResolutionFile;
|
---|
52 | std::string fCtgThetaResolutionHist;
|
---|
53 | Bool_t fUseCtgThetaFormula;
|
---|
54 |
|
---|
55 | DelphesFormula *fPhiFormula; //!
|
---|
56 | std::string fPhiResolutionFile;
|
---|
57 | std::string fPhiResolutionHist;
|
---|
58 | Bool_t fUsePhiFormula;
|
---|
59 |
|
---|
60 | Bool_t fApplyToPileUp;
|
---|
61 |
|
---|
62 | TIterator *fItInputArray; //!
|
---|
63 |
|
---|
64 | const TObjArray *fInputArray; //!
|
---|
65 | const TObjArray *fBeamSpotInputArray; //!
|
---|
66 |
|
---|
67 | TObjArray *fOutputArray; //!
|
---|
68 |
|
---|
69 | ClassDef(TrackSmearing, 1)
|
---|
70 | };
|
---|
71 |
|
---|
72 | #endif
|
---|