CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TkConvValidator.h
Go to the documentation of this file.
1 #ifndef TkConvValidator_H
2 #define TkConvValidator_H
18 //
19 //DQM services
23 
24 
25 //
26 #include <map>
27 #include <vector>
28 
29 // forward declarations
30 class TFile;
31 class TH1F;
32 class TH2F;
33 class TProfile;
34 class TTree;
35 class SimVertex;
36 class SimTrack;
49 {
50 
51  public:
52 
53  //
54  explicit TkConvValidator( const edm::ParameterSet& ) ;
55  virtual ~TkConvValidator();
56 
57 
58  virtual void analyze( const edm::Event&, const edm::EventSetup& ) ;
59  virtual void beginJob();
60  virtual void beginRun( edm::Run const & r, edm::EventSetup const & theEventSetup) ;
61  virtual void endRun (edm::Run& r, edm::EventSetup const & es);
62  virtual void endJob() ;
63 
64  private:
65  //
66 
67  float phiNormalization( float& a);
68  float etaTransformation( float a, float b);
70 
71 
72  std::string fName_;
75 
77  int nEvt_;
78  int nEntry_;
79  int nSimConv_[2];
80  int nMatched_;
81  int nRecConv_;
84 
86 
90 
92  std::string conversionCollection_;
94 
96  std::string photonCollection_;
97 
98  std::string dqmpath_;
99 
101 
104 
106 
107  double minPhoEtCut_;
110  double trkPtLow_;
111  double lip_;
113  double bcEtLow_;
118  double trkPtSumCut_;
129  double minProb_;
131  double minLxy_;
132 
133 
135  double mcPhi_;
136  double mcEta_;
137  double mcConvPt_;
138  double mcConvR_;
139  double mcConvZ_;
140  double mcConvY_;
141  double mcConvX_;
142  double mcConvPhi_;
143  double mcConvEta_;
144  double mcJetEta_;
145  double mcJetPhi_;
146 
148  //std::vector<TrackingParticleRef> theConvTP_;
149 
158 
159  double simMinPt_;
160  double simMaxPt_;
161 
163  double recMinPt_;
164  double recMaxPt_;
165 
166  //
167  //
170  //
173 
176 
177 
190  // Numerator for double-counting quantification
195 
196  // Denominators for conversion fake rate
198  // Numerators for conversion fake rate
200 
201 
212 
215 
216 
219 
221 
223 
229 
235 
237 
243 
245 
246 
247 
252 
259 
264 
269 
270 
273 
276 
281 
282 
285 
287 
288 
290 
291 
292 
297 
308 
309 
310 
323 
325 
331 
333 
335 
339 
340 };
341 
342 
343 
344 
345 #endif
MonitorElement * h2_DPhiTracksAtVtxVsR_
MonitorElement * h_SimRecConvOneMTracks_[5]
MonitorElement * h2_dzPVVsR_
MonitorElement * h_maxDlClosestHitToVtx_[3][3]
MonitorElement * h_convPt_[3][3]
MonitorElement * p_convVtxdYVsY_
std::string dqmpath_
MonitorElement * h2_DCotTracksVsR_
MonitorElement * h_VisSimConvLarge_
MonitorElement * h_convVtxdR_
edm::ESHandle< CaloTopology > theCaloTopo_
std::string conversionTrackProducer_
MonitorElement * h2_DCotTracksVsEta_
MonitorElement * h_simConvVtxRvsZ_[4]
virtual void endRun(edm::Run &r, edm::EventSetup const &es)
MonitorElement * h_convZplot_
MonitorElement * h_nSimConv_[2]
MonitorElement * h_convSCdPhi_[3][3]
MonitorElement * h_SimConvTwoMTracksAndVtxPGT0_[5]
MonitorElement * h_SimConvOneMTracks_[5]
MonitorElement * h_SimConvTwoMTracksAndVtxPGT0005_[5]
std::string photonCollection_
MonitorElement * h_DCotTracks_[3][3]
MonitorElement * nHitsVsEta_[3]
MonitorElement * h_lxybs_[3][3]
edm::RefVector< TrackingParticleCollection > theConvTP_
MonitorElement * h_trailNHitsBeforeVtx_[3][3]
math::XYZVector recalculateMomentumAtFittedVertex(const MagneticField &mf, const TrackerGeometry &trackerGeom, const edm::RefToBase< reco::Track > &tk, const reco::Vertex &vtx)
MonitorElement * p_Chi2VsR_[3]
MonitorElement * h_convVtxYvsX_zoom_[2]
MonitorElement * p_DCotTracksVsR_
MonitorElement * h_tkChi2_[3]
MonitorElement * h_SimConvTwoMTracksAndVtxPGT01_[5]
MonitorElement * h_convVtxdX_
virtual void analyze(const edm::Event &, const edm::EventSetup &)
MonitorElement * h_convPtRes_[3]
MonitorElement * h_convEtaMatchSC_[3][3]
MonitorElement * h2_Chi2VsEta_[3]
MonitorElement * p_TkPtPull_[3]
MonitorElement * h_SimRecConvTwoMTracks_[5]
MonitorElement * h_vtxChi2Prob_[3][3]
MonitorElement * h_convVtxdX_endcap_
MonitorElement * h_convVtxdR_endcap_
MonitorElement * h_zPVFromTracks_[2]
MonitorElement * h_convVtxdY_barrel_
MonitorElement * h_tkChi2Large_[3]
edm::ParameterSet parameters_
MonitorElement * p_DCotTracksVsEta_
MonitorElement * h_maxDlClosestHitToVtxSig_[3][3]
MonitorElement * h_convVtxdR_barrel_
MonitorElement * h_leadExpectedHitsInner_[3][3]
MonitorElement * h_convSCdEta_[3][3]
MonitorElement * h_sumNHitsBeforeVtx_[3][3]
virtual ~TkConvValidator()
MonitorElement * h_dzPVFromTracks_[2]
MonitorElement * h_nConv_[3][3]
info per conversion
edm::ESHandle< CaloGeometry > theCaloGeom_
MonitorElement * h_convVtxdY_
MonitorElement * p2_effRZ_
MonitorElement * p_DPhiTracksAtVtxVsEta_
MonitorElement * h_deltaExpectedHitsInner_[3][3]
MonitorElement * h_convVtxdEta_
MonitorElement * h_convVtxYvsX_
TrackAssociatorBase * theTrackAssociator_
MonitorElement * p_convVtxdZVsR_
MonitorElement * p_convVtxdRVsR_
MonitorElement * h_convR_[3][3]
float etaTransformation(float a, float b)
double recMinPt_
Global variables for reco Photon.
float phiNormalization(float &a)
std::string conversionCollection_
MonitorElement * h_VisSimConv_[6]
MonitorElement * h2_photonPtRecVsPtSim_
MonitorElement * h2_DPhiTracksAtEcalVsR_
MonitorElement * h_EoverPTracks_[3][3]
edm::ESHandle< MagneticField > theMF_
PhotonMCTruthFinder * thePhotonMCTruthFinder_
MonitorElement * h_leadNHitsBeforeVtx_[3][3]
MonitorElement * h_distMinAppTracks_[3][3]
MonitorElement * p_DPhiTracksAtVtxVsR_
TkConvValidator(const edm::ParameterSet &)
MonitorElement * h_SimConvEtaPix_[2]
MonitorElement * h_convVtxdX_barrel_
MonitorElement * h_DEtaTracksAtEcal_[3][3]
MonitorElement * p_nHitsVsEta_[3]
MonitorElement * h_simTkPt_
MonitorElement * p_convVtxdXVsX_
MonitorElement * h_convVtxdY_endcap_
MonitorElement * h_convEta_[3][3]
MonitorElement * h2_DPhiTracksAtEcalVsEta_
MonitorElement * h_convVtxRvsZ_zoom_[2]
MonitorElement * h_simConvVtxYvsX_
MonitorElement * h_DPhiTracksAtEcal_[3][3]
MonitorElement * h_convEta2_[3][3]
MonitorElement * h_nHitsBeforeVtx_[3]
MonitorElement * p2_convVtxdRVsRZ_
MonitorElement * p_Chi2VsEta_[3]
MonitorElement * nHits_[3]
MonitorElement * h_SimConvTwoTracks_[5]
MonitorElement * h_RecoConvTwoMTracks_[5]
MonitorElement * h_convVtxdZ_
MonitorElement * h_SimConvOneTracks_[5]
Numerator for efficiencies.
MonitorElement * h_convVtxRvsZ_[3]
MonitorElement * h2_DPhiTracksAtVtxVsEta_
MonitorElement * h_convPhi_[3][3]
MonitorElement * p_DPhiTracksAtEcalVsR_
XYZVectorD XYZVector
spatial vector with cartesian internal representation
Definition: Vector3D.h:31
MonitorElement * h_convVtxdZ_barrel_
MonitorElement * h2_convVtxRrecVsTrue_
virtual void endJob()
double b
Definition: hdecay.h:120
MonitorElement * h_AllSimConv_[5]
Denominator for efficiencies.
MonitorElement * h_convRplot_
MonitorElement * p_nHitsVsR_[3]
MonitorElement * p_dzPVVsR_
MonitorElement * h2_Chi2VsR_[3]
MonitorElement * h_SimRecConvOneTracks_[5]
std::string conversionCollectionProducer_
std::string fName_
MonitorElement * h_convVtxdPhi_
MonitorElement * h_invMass_[3][3]
MonitorElement * h_convZ_[3][3]
MonitorElement * h_dlClosestHitToVtxSig_[3]
MonitorElement * h2_PtRecVsPtSim_[3]
std::string photonCollectionProducer_
MonitorElement * h_match_
double mcPhi_
global variable for the MC photon
MonitorElement * p_convVtxdZVsZ_
MonitorElement * h2_TkPtPull_[3]
double a
Definition: hdecay.h:121
MonitorElement * h_RecoConvTwoTracks_[5]
edm::InputTag label_tp_
MonitorElement * h_convVtxdZ_endcap_
MonitorElement * h2_convVtxdRVsR_
MonitorElement * h_DPhiTracksAtVtx_[3][3]
MonitorElement * nHitsVsR_[3]
MonitorElement * p_DPhiTracksAtEcalVsEta_
MonitorElement * h_simTkEta_
MonitorElement * h_TkPtPull_[3]
MonitorElement * p2_convVtxdZVsRZ_
virtual void beginJob()
MonitorElement * h_SimRecConvTwoTracks_[5]
MonitorElement * h_SimConvTwoMTracks_[5]
MonitorElement * p_convVtxdRVsEta_
virtual void beginRun(edm::Run const &r, edm::EventSetup const &theEventSetup)
MonitorElement * h_dlClosestHitToVtx_[3]
MonitorElement * h_TkD0_[3]
MonitorElement * h2_convVtxdRVsEta_
MonitorElement * h_nSharedHits_[3][3]
Definition: Run.h:33
MonitorElement * h_maxNHitsBeforeVtx_[3][3]