CMS 3D CMS Logo

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