test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HTrack.h
Go to the documentation of this file.
1 class HTrackVariables;
2 class HResolution;
3 class TFile;
4 class SimTrack;
7 
8 
9 #include "TString.h"
10 #include <string>
13 
14 class HTrack{
15 
16  public:
18 
19 
20  double pull(double rec,double sim, double sigmarec);
21 
22  double resolution(double rec,double sim);
23 
24  void computeResolution(const FreeTrajectoryState& fts,
25  SimTrack &simTracks,
26  HResolution* hReso);
27 
29  SimTrack &simTracks,
30  HResolution* hReso);
31 
32  void computePull(const FreeTrajectoryState& fts,
33  SimTrack &simTracks,
34  HResolution* hReso);
35 
36 
38  SimTrack &simTrack);
39 
41  SimTrack& simTrack);
42 
44  void Fill(const FreeTrajectoryState &);
45  void FillDeltaR(double);
46 
48 
49  private:
51 
52  // Global Resolution
55 
56  // TDR Resolution
59 
60  // [5-10] GeV range
64 
65  // [10-40] GeV range
69 
70  // [40-70] GeV range
74 
75  // [70-100] GeV range
79 
80  // eta range |eta|<0.8
84 
85  // eta range 0.8<|eta|<1.2
89 
90  // eta range 1.2<|eta|<2.1
94 
95  // eta range 1.2<|eta|<2.4
99 
100  // eta range 1.2<eta<2.1
104 
105  // eta range 1.2<eta<2.4
109 
110  // eta range -2.1<eta<-1.2
114 
115  // eta range -2.4<eta<-1.2
119 
120  TString theName;
121  TString where;
122 
124 };
HResolution * hPull_08_12
Definition: HTrack.h:88
void computeResolutionAndPull(TrajectoryStateOnSurface &vtx, SimTrack &simTrack)
Definition: HTrack.cc:146
HResolution * hResolution_12_21
Definition: HTrack.h:91
HResolution * hTDRResolution
Definition: HTrack.h:57
HResolution * hTDRResolution_12_24_plus
Definition: HTrack.h:107
HResolution * hPull
Definition: HTrack.h:54
HResolution * hResolution
Definition: HTrack.h:53
HResolution * hTDRResolution_12_24
Definition: HTrack.h:97
HResolution * hTDRResolution_40_70
Definition: HTrack.h:72
HResolution * hResolution_12_24_plus
Definition: HTrack.h:106
double resolution(double rec, double sim)
Definition: HTrack.cc:118
TString where
Definition: HTrack.h:121
void computeTDRResolution(const FreeTrajectoryState &fts, SimTrack &simTracks, HResolution *hReso)
Definition: HTrack.cc:265
HResolution * hResolution_10_40
Definition: HTrack.h:66
HResolution * hPull_10_40
Definition: HTrack.h:68
HResolution * hResolution_12_24
Definition: HTrack.h:96
void computeResolution(const FreeTrajectoryState &fts, SimTrack &simTracks, HResolution *hReso)
Definition: HTrack.cc:249
HResolution * hResolution_12_21_plus
Definition: HTrack.h:101
Definition: sim.h:19
TString theName
Definition: HTrack.h:120
HResolution * hTDRResolution_5_10
Definition: HTrack.h:62
HResolution * hResolution_12_24_minus
Definition: HTrack.h:116
HResolution * hResolution_5_10
Definition: HTrack.h:61
HTrackVariables * hVariables
Definition: HTrack.h:50
HResolution * hTDRResolution_12_21_minus
Definition: HTrack.h:112
HResolution * hPull_12_21
Definition: HTrack.h:93
HResolution * hResolution_08_12
Definition: HTrack.h:86
HResolution * hTDRResolution_12_21
Definition: HTrack.h:92
HResolution * hTDRResolution_12_24_minus
Definition: HTrack.h:117
HResolution * hResolution_40_70
Definition: HTrack.h:71
HResolution * hResolution_08
Definition: HTrack.h:81
HResolution * hPull_70_100
Definition: HTrack.h:78
void Fill(TrajectoryStateOnSurface &)
Definition: HTrack.cc:123
bool doSubHisto
Definition: HTrack.h:123
HResolution * hTDRPull
Definition: HTrack.h:58
HResolution * hPull_40_70
Definition: HTrack.h:73
HResolution * hTDRResolution_08_12
Definition: HTrack.h:87
HResolution * hPull_12_24_minus
Definition: HTrack.h:118
HResolution * hPull_12_21_minus
Definition: HTrack.h:113
HResolution * hPull_12_24
Definition: HTrack.h:98
double computeEfficiency(HTrackVariables *sim, DQMStore::IBooker &)
Definition: HTrack.cc:141
HResolution * hTDRResolution_70_100
Definition: HTrack.h:77
HResolution * hTDRResolution_08
Definition: HTrack.h:82
HResolution * hPull_12_24_plus
Definition: HTrack.h:108
HTrack(DQMStore::IBooker &, std::string, std::string name, std::string whereIs="")
Definition: HTrack.cc:17
double pull(double rec, double sim, double sigmarec)
Definition: HTrack.cc:114
HResolution * hResolution_70_100
Definition: HTrack.h:76
HResolution * hTDRResolution_10_40
Definition: HTrack.h:67
void FillDeltaR(double)
Definition: HTrack.cc:136
void computePull(const FreeTrajectoryState &fts, SimTrack &simTracks, HResolution *hReso)
Definition: HTrack.cc:282
HResolution * hPull_5_10
Definition: HTrack.h:63
HResolution * hPull_08
Definition: HTrack.h:83
Definition: HTrack.h:14
HResolution * hResolution_12_21_minus
Definition: HTrack.h:111
HResolution * hPull_12_21_plus
Definition: HTrack.h:103
HResolution * hTDRResolution_12_21_plus
Definition: HTrack.h:102