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
11 
13 
14 //Electron
17 
18 //Muon
21 
22 //MET
27 
28 //Jets
31 
32 //Trigger
39 
40 //Vertices
43 
44 //Conversions
47 
48 //Beam spot
50 
52 
53 class LepHTMonitor : public DQMEDAnalyzer {
54 public:
56  ~LepHTMonitor() override;
57 
58 protected:
59  void dqmBeginRun(const edm::Run& run, const edm::EventSetup& e) override;
60  void bookHistograms(DQMStore::IBooker& ibooker, const edm::Run&, const edm::EventSetup&) override;
61  void analyze(const edm::Event& e, const edm::EventSetup& eSetup) override;
62  void dqmEndRun(const edm::Run& run, const edm::EventSetup& eSetup) override;
63 
64 private:
65  //variables from config file
78 
85  std::unique_ptr<GenericTriggerEventFlag> num_genTriggerEventFlag_;
86  std::unique_ptr<GenericTriggerEventFlag> den_lep_genTriggerEventFlag_;
87  std::unique_ptr<GenericTriggerEventFlag> den_HT_genTriggerEventFlag_;
88 
90 
92 
93  double jetPtCut_;
94  double jetEtaCut_;
95  double metCut_;
96  double htCut_;
97  double nmusCut_;
98  double nelsCut_;
101  double lep_iso_cut_;
102  double lep_eta_cut_;
107 
108  std::vector<double> ptbins_;
109  std::vector<double> htbins_;
119 
120  // Histograms
133 };
134 
135 #endif // ! DQMOffline_Trigger_LepHTMonitor_h
edm::EDGetTokenT< edm::ValueMap< bool > > theElectronVIDMap_
Definition: LepHTMonitor.h:69
double lep_d0_cut_e_
Definition: LepHTMonitor.h:105
float etabins_max_
Definition: LepHTMonitor.h:114
float npvbins_min_
Definition: LepHTMonitor.h:117
double lep_iso_cut_
Definition: LepHTMonitor.h:101
double jetEtaCut_
Definition: LepHTMonitor.h:94
std::string folderName_
Definition: LepHTMonitor.h:89
MonitorElement * h_pfHTTurnOn_num_
Definition: LepHTMonitor.h:121
edm::InputTag thePfMETTag_
Definition: LepHTMonitor.h:72
double jetPtCut_
Definition: LepHTMonitor.h:93
double htCut_
Definition: LepHTMonitor.h:96
double lep_dz_cut_e_
Definition: LepHTMonitor.h:106
edm::InputTag theJetTagTag_
Definition: LepHTMonitor.h:76
MonitorElement * h_lepEtaTurnOn_den_
Definition: LepHTMonitor.h:126
MonitorElement * h_pfHTTurnOn_den_
Definition: LepHTMonitor.h:122
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
float etabins_min_
Definition: LepHTMonitor.h:113
MonitorElement * h_lepPhiTurnOn_num_
Definition: LepHTMonitor.h:127
MonitorElement * h_NPVTurnOn_num_
Definition: LepHTMonitor.h:131
std::vector< double > ptbins_
Definition: LepHTMonitor.h:108
edm::EDGetTokenT< reco::PFMETCollection > thePfMETCollection_
Definition: LepHTMonitor.h:73
void bookHistograms(DQMStore::IBooker &ibooker, const edm::Run &, const edm::EventSetup &) override
double nmusCut_
Definition: LepHTMonitor.h:97
double lep_d0_cut_b_
Definition: LepHTMonitor.h:103
std::unique_ptr< GenericTriggerEventFlag > den_lep_genTriggerEventFlag_
Definition: LepHTMonitor.h:86
edm::EDGetTokenT< edm::View< reco::GsfElectron > > theElectronCollection_
Definition: LepHTMonitor.h:67
edm::InputTag thePfJetTag_
Definition: LepHTMonitor.h:74
edm::InputTag theElectronTag_
Definition: LepHTMonitor.h:66
edm::EDGetTokenT< reco::BeamSpot > theBeamSpot_
Definition: LepHTMonitor.h:84
MonitorElement * h_lepPtTurnOn_den_
Definition: LepHTMonitor.h:124
MonitorElement * h_lepPtTurnOn_num_
Definition: LepHTMonitor.h:123
edm::EDGetTokenT< reco::ConversionCollection > theConversionCollection_
Definition: LepHTMonitor.h:82
edm::EDGetTokenT< reco::JetTagCollection > theJetTagCollection_
Definition: LepHTMonitor.h:77
~LepHTMonitor() override
edm::InputTag theMuonTag_
Definition: LepHTMonitor.h:70
void analyze(const edm::Event &e, const edm::EventSetup &eSetup) override
edm::EDGetTokenT< reco::PFJetCollection > thePfJetCollection_
Definition: LepHTMonitor.h:75
double lep_counting_threshold_
Definition: LepHTMonitor.h:100
float phibins_max_
Definition: LepHTMonitor.h:116
MonitorElement * h_NPVTurnOn_den_
Definition: LepHTMonitor.h:132
float npvbins_max_
Definition: LepHTMonitor.h:118
float phibins_min_
Definition: LepHTMonitor.h:115
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
Definition: LepHTMonitor.h:85
double metCut_
Definition: LepHTMonitor.h:95
MonitorElement * h_lepEtaPhiTurnOn_den_
Definition: LepHTMonitor.h:130
std::vector< double > htbins_
Definition: LepHTMonitor.h:109
void dqmEndRun(const edm::Run &run, const edm::EventSetup &eSetup) override
double lep_eta_cut_
Definition: LepHTMonitor.h:102
void dqmBeginRun(const edm::Run &run, const edm::EventSetup &e) override
double lep_pt_plateau_
Definition: LepHTMonitor.h:99
double nelsCut_
Definition: LepHTMonitor.h:98
edm::EDGetTokenT< reco::VertexCollection > theVertexCollection_
Definition: LepHTMonitor.h:80
std::unique_ptr< GenericTriggerEventFlag > den_HT_genTriggerEventFlag_
Definition: LepHTMonitor.h:87
edm::InputTag theConversionCollectionTag_
Definition: LepHTMonitor.h:81
double lep_dz_cut_b_
Definition: LepHTMonitor.h:104
edm::InputTag theElectronVIDTag_
Definition: LepHTMonitor.h:68
MonitorElement * h_lepEtaPhiTurnOn_num_
Definition: LepHTMonitor.h:129
MonitorElement * h_lepPhiTurnOn_den_
Definition: LepHTMonitor.h:128
LepHTMonitor(const edm::ParameterSet &ps)
edm::InputTag theVertexCollectionTag_
Definition: LepHTMonitor.h:79
edm::EDGetTokenT< reco::MuonCollection > theMuonCollection_
Definition: LepHTMonitor.h:71
Definition: Run.h:45
edm::InputTag theBeamSpotTag_
Definition: LepHTMonitor.h:83
MonitorElement * h_lepEtaTurnOn_num_
Definition: LepHTMonitor.h:125