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 class DQMStore;
8 
9 #include "TString.h"
10 #include <string>
11 
12 class HTrack{
13 
14  public:
15  HTrack(std::string, std::string name, std::string whereIs ="");
16 
17 
18  double pull(double rec,double sim, double sigmarec);
19 
20  double resolution(double rec,double sim);
21 
23  SimTrack &simTracks,
24  HResolution* hReso);
25 
27  SimTrack &simTracks,
28  HResolution* hReso);
29 
31  SimTrack &simTracks,
32  HResolution* hReso);
33 
34 
36  SimTrack &simTrack);
37 
39  SimTrack& simTrack);
40 
42  void Fill(FreeTrajectoryState &);
43  void FillDeltaR(double);
44 
46 
47  private:
49 
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 };
void computePull(FreeTrajectoryState &fts, SimTrack &simTracks, HResolution *hReso)
Definition: HTrack.cc:288
void computeTDRResolution(FreeTrajectoryState &fts, SimTrack &simTracks, HResolution *hReso)
Definition: HTrack.cc:271
HResolution * hPull_08_12
Definition: HTrack.h:88
void computeResolutionAndPull(TrajectoryStateOnSurface &vtx, SimTrack &simTrack)
Definition: HTrack.cc:152
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
HTrack(std::string, std::string name, std::string whereIs="")
Definition: HTrack.cc:17
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:124
TString where
Definition: HTrack.h:121
HResolution * hResolution_10_40
Definition: HTrack.h:66
HResolution * hPull_10_40
Definition: HTrack.h:68
HResolution * hResolution_12_24
Definition: HTrack.h:96
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
double computeEfficiency(HTrackVariables *sim)
Definition: HTrack.cc:147
HResolution * hResolution_40_70
Definition: HTrack.h:71
HResolution * hResolution_08
Definition: HTrack.h:81
DQMStore * dbe_
Definition: HTrack.h:48
HResolution * hPull_70_100
Definition: HTrack.h:78
void Fill(TrajectoryStateOnSurface &)
Definition: HTrack.cc:129
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
void computeResolution(FreeTrajectoryState &fts, SimTrack &simTracks, HResolution *hReso)
Definition: HTrack.cc:255
HResolution * hPull_12_21_minus
Definition: HTrack.h:113
HResolution * hPull_12_24
Definition: HTrack.h:98
HResolution * hTDRResolution_70_100
Definition: HTrack.h:77
HResolution * hTDRResolution_08
Definition: HTrack.h:82
HResolution * hPull_12_24_plus
Definition: HTrack.h:108
double pull(double rec, double sim, double sigmarec)
Definition: HTrack.cc:120
HResolution * hResolution_70_100
Definition: HTrack.h:76
HResolution * hTDRResolution_10_40
Definition: HTrack.h:67
void FillDeltaR(double)
Definition: HTrack.cc:142
HResolution * hPull_5_10
Definition: HTrack.h:63
HResolution * hPull_08
Definition: HTrack.h:83
Definition: HTrack.h:12
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