CMS 3D CMS Logo

LepHTMonitor.h
Go to the documentation of this file.
1 #ifndef DQMOffline_Trigger_LepHTMonitor_h
2 #define DQMOffline_Trigger_LepHTMonitor_h
3 
4 //event
7 
8 //DQM
12 
14 
15 //Electron
18 
19 //Muon
22 
23 //MET
28 
29 //Jets
32 
33 //Trigger
40 
41 //Vertices
44 
45 //Conversions
48 
49 //Beam spot
51 
53 
55 
56 public:
58  ~LepHTMonitor() override;
59 
60 protected:
61  void dqmBeginRun(const edm::Run &run, const edm::EventSetup &e) override;
62  void bookHistograms(DQMStore::IBooker &ibooker, const edm::Run &, const edm::EventSetup &) override;
63  void analyze(const edm::Event &e, const edm::EventSetup &eSetup) override;
64  void endRun(const edm::Run &run, const edm::EventSetup &eSetup) override;
65 
66 private:
67  //variables from config file
80 
87  std::unique_ptr<GenericTriggerEventFlag> num_genTriggerEventFlag_;
88  std::unique_ptr<GenericTriggerEventFlag> den_lep_genTriggerEventFlag_;
89  std::unique_ptr<GenericTriggerEventFlag> den_HT_genTriggerEventFlag_;
90 
92 
94 
95  double jetPtCut_;
96  double jetEtaCut_;
97  double metCut_;
98  double htCut_;
99  double nmusCut_;
100  double nelsCut_;
103  double lep_iso_cut_;
104  double lep_eta_cut_;
109 
110 
111  std::vector<double> ptbins_;
112  std::vector<double> htbins_;
122 
123 
124  // Histograms
137 
138 };
139 
140 #endif // ! DQMOffline_Trigger_LepHTMonitor_h
edm::EDGetTokenT< edm::ValueMap< bool > > theElectronVIDMap_
Definition: LepHTMonitor.h:71
double lep_d0_cut_e_
Definition: LepHTMonitor.h:107
float etabins_max_
Definition: LepHTMonitor.h:117
float npvbins_min_
Definition: LepHTMonitor.h:120
double lep_iso_cut_
Definition: LepHTMonitor.h:103
double jetEtaCut_
Definition: LepHTMonitor.h:96
std::string folderName_
Definition: LepHTMonitor.h:91
MonitorElement * h_pfHTTurnOn_num_
Definition: LepHTMonitor.h:125
edm::InputTag thePfMETTag_
Definition: LepHTMonitor.h:74
double jetPtCut_
Definition: LepHTMonitor.h:95
double htCut_
Definition: LepHTMonitor.h:98
double lep_dz_cut_e_
Definition: LepHTMonitor.h:108
edm::InputTag theJetTagTag_
Definition: LepHTMonitor.h:78
MonitorElement * h_lepEtaTurnOn_den_
Definition: LepHTMonitor.h:130
MonitorElement * h_pfHTTurnOn_den_
Definition: LepHTMonitor.h:126
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
float etabins_min_
Definition: LepHTMonitor.h:116
MonitorElement * h_lepPhiTurnOn_num_
Definition: LepHTMonitor.h:131
MonitorElement * h_NPVTurnOn_num_
Definition: LepHTMonitor.h:135
std::vector< double > ptbins_
Definition: LepHTMonitor.h:111
edm::EDGetTokenT< reco::PFMETCollection > thePfMETCollection_
Definition: LepHTMonitor.h:75
void bookHistograms(DQMStore::IBooker &ibooker, const edm::Run &, const edm::EventSetup &) override
double nmusCut_
Definition: LepHTMonitor.h:99
double lep_d0_cut_b_
Definition: LepHTMonitor.h:105
std::unique_ptr< GenericTriggerEventFlag > den_lep_genTriggerEventFlag_
Definition: LepHTMonitor.h:88
edm::EDGetTokenT< edm::View< reco::GsfElectron > > theElectronCollection_
Definition: LepHTMonitor.h:69
edm::InputTag thePfJetTag_
Definition: LepHTMonitor.h:76
edm::InputTag theElectronTag_
Definition: LepHTMonitor.h:68
edm::EDGetTokenT< reco::BeamSpot > theBeamSpot_
Definition: LepHTMonitor.h:86
MonitorElement * h_lepPtTurnOn_den_
Definition: LepHTMonitor.h:128
MonitorElement * h_lepPtTurnOn_num_
Definition: LepHTMonitor.h:127
edm::EDGetTokenT< reco::ConversionCollection > theConversionCollection_
Definition: LepHTMonitor.h:84
edm::EDGetTokenT< reco::JetTagCollection > theJetTagCollection_
Definition: LepHTMonitor.h:79
~LepHTMonitor() override
edm::InputTag theMuonTag_
Definition: LepHTMonitor.h:72
void analyze(const edm::Event &e, const edm::EventSetup &eSetup) override
edm::EDGetTokenT< reco::PFJetCollection > thePfJetCollection_
Definition: LepHTMonitor.h:77
double lep_counting_threshold_
Definition: LepHTMonitor.h:102
float phibins_max_
Definition: LepHTMonitor.h:119
MonitorElement * h_NPVTurnOn_den_
Definition: LepHTMonitor.h:136
float npvbins_max_
Definition: LepHTMonitor.h:121
float phibins_min_
Definition: LepHTMonitor.h:118
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
Definition: LepHTMonitor.h:87
double metCut_
Definition: LepHTMonitor.h:97
MonitorElement * h_lepEtaPhiTurnOn_den_
Definition: LepHTMonitor.h:134
std::vector< double > htbins_
Definition: LepHTMonitor.h:112
double lep_eta_cut_
Definition: LepHTMonitor.h:104
void dqmBeginRun(const edm::Run &run, const edm::EventSetup &e) override
double lep_pt_plateau_
Definition: LepHTMonitor.h:101
double nelsCut_
Definition: LepHTMonitor.h:100
void endRun(const edm::Run &run, const edm::EventSetup &eSetup) override
edm::EDGetTokenT< reco::VertexCollection > theVertexCollection_
Definition: LepHTMonitor.h:82
std::unique_ptr< GenericTriggerEventFlag > den_HT_genTriggerEventFlag_
Definition: LepHTMonitor.h:89
edm::InputTag theConversionCollectionTag_
Definition: LepHTMonitor.h:83
double lep_dz_cut_b_
Definition: LepHTMonitor.h:106
edm::InputTag theElectronVIDTag_
Definition: LepHTMonitor.h:70
MonitorElement * h_lepEtaPhiTurnOn_num_
Definition: LepHTMonitor.h:133
MonitorElement * h_lepPhiTurnOn_den_
Definition: LepHTMonitor.h:132
LepHTMonitor(const edm::ParameterSet &ps)
edm::InputTag theVertexCollectionTag_
Definition: LepHTMonitor.h:81
edm::EDGetTokenT< reco::MuonCollection > theMuonCollection_
Definition: LepHTMonitor.h:73
Definition: Run.h:45
edm::InputTag theBeamSpotTag_
Definition: LepHTMonitor.h:85
MonitorElement * h_lepEtaTurnOn_num_
Definition: LepHTMonitor.h:129