CMS 3D CMS Logo

EfficiencyAnalyzer.h
Go to the documentation of this file.
1 #ifndef EFFICIENCYANALYZER_H
2 #define EFFICIENCYANALYZER_H
3 
11 /* Base Class Headers */
12 #include <memory>
13 #include <fstream>
22 
30 
32 public:
33  /* Constructor */
35 
36  /* Destructor */
37  ~EfficiencyAnalyzer() override;
38 
39  /* Operations */
40  void analyze(const edm::Event& event, const edm::EventSetup& eventSetup) override;
41  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
42 
43 private:
45 
46  // Switch for verbosity
48 
49  //histo binning parameters
50  int etaBin_;
51  int phiBin_;
52  int ptBin_;
53 
54  double ptMin_;
55  double ptMax_;
56 
57  double etaMin_;
58  double etaMax_;
59 
60  double phiMin_;
61  double phiMax_;
62 
63  int vtxBin_;
64  double vtxMin_;
65  double vtxMax_;
66 
68 
90 
94 
110 
111  // Apply deltaBeta PU corrections to the PF isolation eficiencies.
118 
119  int _numPV;
120 
121  // STA Label
124 
125  //Vertex requirements
129 
131 };
132 #endif
EfficiencyAnalyzer::h_passProbes_EE_pfIsodBID_nVtx
MonitorElement * h_passProbes_EE_pfIsodBID_nVtx
Definition: EfficiencyAnalyzer.h:117
EfficiencyAnalyzer::ID_
std::string ID_
Definition: EfficiencyAnalyzer.h:67
EfficiencyAnalyzer::~EfficiencyAnalyzer
~EfficiencyAnalyzer() override
Definition: EfficiencyAnalyzer.cc:61
EfficiencyAnalyzer::h_passProbes_pfIsodBID_nVtx
MonitorElement * h_passProbes_pfIsodBID_nVtx
Definition: EfficiencyAnalyzer.h:115
EfficiencyAnalyzer::h_passProbes_ID_inner_eta
MonitorElement * h_passProbes_ID_inner_eta
Definition: EfficiencyAnalyzer.h:71
EfficiencyAnalyzer::theMuonCollectionLabel_
edm::EDGetTokenT< edm::View< reco::Muon > > theMuonCollectionLabel_
Definition: EfficiencyAnalyzer.h:122
EfficiencyAnalyzer::h_passProbes_EB_detIsoID_pt
MonitorElement * h_passProbes_EB_detIsoID_pt
Definition: EfficiencyAnalyzer.h:79
EfficiencyAnalyzer::h_passProbes_pfIsoID_nVtx
MonitorElement * h_passProbes_pfIsoID_nVtx
Definition: EfficiencyAnalyzer.h:85
EfficiencyAnalyzer::h_passProbes_pfIsodBID_pt
MonitorElement * h_passProbes_pfIsodBID_pt
Definition: EfficiencyAnalyzer.h:112
Muon.h
EfficiencyAnalyzer::h_passProbes_EE_pfIsoID_nVtx
MonitorElement * h_passProbes_EE_pfIsoID_nVtx
Definition: EfficiencyAnalyzer.h:89
EfficiencyAnalyzer::h_passProbes_EB_pfIsodBID_pt
MonitorElement * h_passProbes_EB_pfIsodBID_pt
Definition: EfficiencyAnalyzer.h:113
EfficiencyAnalyzer::h_allProbes_EE_pt
MonitorElement * h_allProbes_EE_pt
Definition: EfficiencyAnalyzer.h:97
EfficiencyAnalyzer::etaMin_
double etaMin_
Definition: EfficiencyAnalyzer.h:57
EfficiencyAnalyzer::h_passProbes_ID_EB_pt
MonitorElement * h_passProbes_ID_EB_pt
Definition: EfficiencyAnalyzer.h:73
edm::Run
Definition: Run.h:45
edm::EDGetTokenT
Definition: EDGetToken.h:33
EfficiencyAnalyzer::h_passProbes_EE_pfIsodBID_pt
MonitorElement * h_passProbes_EE_pfIsodBID_pt
Definition: EfficiencyAnalyzer.h:114
EfficiencyAnalyzer::etaBin_
int etaBin_
Definition: EfficiencyAnalyzer.h:50
EfficiencyAnalyzer::h_passProbes_ID_hp_eta
MonitorElement * h_passProbes_ID_hp_eta
Definition: EfficiencyAnalyzer.h:76
EfficiencyAnalyzer::h_allProbes_EB_ID_pt
MonitorElement * h_allProbes_EB_ID_pt
Definition: EfficiencyAnalyzer.h:105
EfficiencyAnalyzer::h_passProbes_ID_EE_pt
MonitorElement * h_passProbes_ID_EE_pt
Definition: EfficiencyAnalyzer.h:74
DQMStore.h
EfficiencyAnalyzer::h_passProbes_detIsoID_nVtx
MonitorElement * h_passProbes_detIsoID_nVtx
Definition: EfficiencyAnalyzer.h:84
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
EfficiencyAnalyzer::h_failProbes_ID_phi
MonitorElement * h_failProbes_ID_phi
Definition: EfficiencyAnalyzer.h:93
EfficiencyAnalyzer::h_passProbes_ID_inner_pt
MonitorElement * h_passProbes_ID_inner_pt
Definition: EfficiencyAnalyzer.h:70
EfficiencyAnalyzer::ptBin_
int ptBin_
Definition: EfficiencyAnalyzer.h:52
EfficiencyAnalyzer::h_passProbes_EB_detIsoID_nVtx
MonitorElement * h_passProbes_EB_detIsoID_nVtx
Definition: EfficiencyAnalyzer.h:86
EfficiencyAnalyzer::h_allProbes_phi
MonitorElement * h_allProbes_phi
Definition: EfficiencyAnalyzer.h:100
EfficiencyAnalyzer::h_passProbes_EB_pfIsoID_pt
MonitorElement * h_passProbes_EB_pfIsoID_pt
Definition: EfficiencyAnalyzer.h:82
MakerMacros.h
Track.h
EfficiencyAnalyzer::theFolder
std::string theFolder
Definition: EfficiencyAnalyzer.h:130
BeamSpot.h
EfficiencyAnalyzer::h_passProbes_detIsoID_pt
MonitorElement * h_passProbes_detIsoID_pt
Definition: EfficiencyAnalyzer.h:78
EfficiencyAnalyzer::h_allProbes_ID_nVtx
MonitorElement * h_allProbes_ID_nVtx
Definition: EfficiencyAnalyzer.h:107
Service.h
MuonFwd.h
EfficiencyAnalyzer::analyze
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup) override
Definition: EfficiencyAnalyzer.cc:158
EfficiencyAnalyzer::h_allProbes_hp_eta
MonitorElement * h_allProbes_hp_eta
Definition: EfficiencyAnalyzer.h:99
EfficiencyAnalyzer::h_failProbes_ID_eta
MonitorElement * h_failProbes_ID_eta
Definition: EfficiencyAnalyzer.h:92
EfficiencyAnalyzer::h_passProbes_EE_pfIsoID_pt
MonitorElement * h_passProbes_EE_pfIsoID_pt
Definition: EfficiencyAnalyzer.h:83
EfficiencyAnalyzer::h_passProbes_EE_detIsoID_nVtx
MonitorElement * h_passProbes_EE_detIsoID_nVtx
Definition: EfficiencyAnalyzer.h:87
EfficiencyAnalyzer::EfficiencyAnalyzer
EfficiencyAnalyzer(const edm::ParameterSet &pset)
Definition: EfficiencyAnalyzer.cc:29
DQMEDAnalyzer.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
Vertex.h
EfficiencyAnalyzer::etaMax_
double etaMax_
Definition: EfficiencyAnalyzer.h:58
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
EfficiencyAnalyzer::h_passProbes_ID_pt
MonitorElement * h_passProbes_ID_pt
Definition: EfficiencyAnalyzer.h:69
EfficiencyAnalyzer::doPVCheck_
bool doPVCheck_
Definition: EfficiencyAnalyzer.h:126
EfficiencyAnalyzer::vtxBin_
int vtxBin_
Definition: EfficiencyAnalyzer.h:63
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
EfficiencyAnalyzer::theTrackCollectionLabel_
edm::EDGetTokenT< reco::TrackCollection > theTrackCollectionLabel_
Definition: EfficiencyAnalyzer.h:123
EfficiencyAnalyzer::phiMax_
double phiMax_
Definition: EfficiencyAnalyzer.h:61
EfficiencyAnalyzer::h_passProbes_ID_phi
MonitorElement * h_passProbes_ID_phi
Definition: EfficiencyAnalyzer.h:77
EfficiencyAnalyzer::h_allProbes_EE_ID_nVtx
MonitorElement * h_allProbes_EE_ID_nVtx
Definition: EfficiencyAnalyzer.h:109
EfficiencyAnalyzer::h_passProbes_EB_pfIsodBID_nVtx
MonitorElement * h_passProbes_EB_pfIsodBID_nVtx
Definition: EfficiencyAnalyzer.h:116
EfficiencyAnalyzer
Definition: EfficiencyAnalyzer.h:31
EfficiencyAnalyzer::h_allProbes_inner_eta
MonitorElement * h_allProbes_inner_eta
Definition: EfficiencyAnalyzer.h:103
EfficiencyAnalyzer::h_allProbes_EB_ID_nVtx
MonitorElement * h_allProbes_EB_ID_nVtx
Definition: EfficiencyAnalyzer.h:108
EfficiencyAnalyzer::metname
std::string metname
Definition: EfficiencyAnalyzer.h:47
edm::EventSetup
Definition: EventSetup.h:58
EfficiencyAnalyzer::theBeamSpotLabel_
edm::EDGetTokenT< reco::BeamSpot > theBeamSpotLabel_
Definition: EfficiencyAnalyzer.h:128
EfficiencyAnalyzer::phiMin_
double phiMin_
Definition: EfficiencyAnalyzer.h:60
EfficiencyAnalyzer::phiBin_
int phiBin_
Definition: EfficiencyAnalyzer.h:51
TrajectorySeedCollection.h
EfficiencyAnalyzer::h_passProbes_EB_pfIsoID_nVtx
MonitorElement * h_passProbes_EB_pfIsoID_nVtx
Definition: EfficiencyAnalyzer.h:88
EfficiencyAnalyzer::ptMax_
double ptMax_
Definition: EfficiencyAnalyzer.h:55
EfficiencyAnalyzer::h_passProbes_pfIsoID_pt
MonitorElement * h_passProbes_pfIsoID_pt
Definition: EfficiencyAnalyzer.h:81
InputTag.h
EfficiencyAnalyzer::h_allProbes_inner_phi
MonitorElement * h_allProbes_inner_phi
Definition: EfficiencyAnalyzer.h:104
VertexFwd.h
EfficiencyAnalyzer::h_allProbes_inner_pt
MonitorElement * h_allProbes_inner_pt
Definition: EfficiencyAnalyzer.h:102
EfficiencyAnalyzer::vtxMax_
double vtxMax_
Definition: EfficiencyAnalyzer.h:65
EfficiencyAnalyzer::vtxMin_
double vtxMin_
Definition: EfficiencyAnalyzer.h:64
EfficiencyAnalyzer::h_passProbes_ID_eta
MonitorElement * h_passProbes_ID_eta
Definition: EfficiencyAnalyzer.h:75
EfficiencyAnalyzer::h_allProbes_eta
MonitorElement * h_allProbes_eta
Definition: EfficiencyAnalyzer.h:98
EfficiencyAnalyzer::h_failProbes_ID_pt
MonitorElement * h_failProbes_ID_pt
Definition: EfficiencyAnalyzer.h:91
EfficiencyAnalyzer::h_passProbes_EE_detIsoID_pt
MonitorElement * h_passProbes_EE_detIsoID_pt
Definition: EfficiencyAnalyzer.h:80
Frameworkfwd.h
EfficiencyAnalyzer::theVertexLabel_
edm::EDGetTokenT< reco::VertexCollection > theVertexLabel_
Definition: EfficiencyAnalyzer.h:127
EfficiencyAnalyzer::h_allProbes_ID_pt
MonitorElement * h_allProbes_ID_pt
Definition: EfficiencyAnalyzer.h:101
EfficiencyAnalyzer::parameters
edm::ParameterSet parameters
Definition: EfficiencyAnalyzer.h:44
dqm::implementation::IBooker
Definition: DQMStore.h:43
ParameterSet.h
event
Definition: event.py:1
edm::Event
Definition: Event.h:73
EfficiencyAnalyzer::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: EfficiencyAnalyzer.cc:63
EfficiencyAnalyzer::ptMin_
double ptMin_
Definition: EfficiencyAnalyzer.h:54
EfficiencyAnalyzer::h_allProbes_EE_ID_pt
MonitorElement * h_allProbes_EE_ID_pt
Definition: EfficiencyAnalyzer.h:106
EfficiencyAnalyzer::_numPV
int _numPV
Definition: EfficiencyAnalyzer.h:119
EfficiencyAnalyzer::h_allProbes_EB_pt
MonitorElement * h_allProbes_EB_pt
Definition: EfficiencyAnalyzer.h:96
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
EfficiencyAnalyzer::h_passProbes_ID_inner_phi
MonitorElement * h_passProbes_ID_inner_phi
Definition: EfficiencyAnalyzer.h:72
EfficiencyAnalyzer::h_allProbes_pt
MonitorElement * h_allProbes_pt
Definition: EfficiencyAnalyzer.h:95