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 beginLuminosityBlock(const edm::LuminosityBlock &lumi, const edm::EventSetup &eSetup) override;
64  void analyze(const edm::Event &e, const edm::EventSetup &eSetup) override;
65  void endLuminosityBlock(const edm::LuminosityBlock &lumi, const edm::EventSetup &eSetup) override;
66  void endRun(const edm::Run &run, const edm::EventSetup &eSetup) override;
67 
68 private:
69  //variables from config file
82 
89  std::unique_ptr<GenericTriggerEventFlag> num_genTriggerEventFlag_;
90  std::unique_ptr<GenericTriggerEventFlag> den_lep_genTriggerEventFlag_;
91  std::unique_ptr<GenericTriggerEventFlag> den_HT_genTriggerEventFlag_;
92 
94 
96 
97  double jetPtCut_;
98  double jetEtaCut_;
99  double metCut_;
100  double htCut_;
101  double nmusCut_;
102  double nelsCut_;
105  double lep_iso_cut_;
106  double lep_eta_cut_;
111 
112 
113  std::vector<double> ptbins_;
114  std::vector<double> htbins_;
124 
125 
126  // Histograms
139 
140 };
141 
142 #endif // ! DQMOffline_Trigger_LepHTMonitor_h
edm::EDGetTokenT< edm::ValueMap< bool > > theElectronVIDMap_
Definition: LepHTMonitor.h:73
double lep_d0_cut_e_
Definition: LepHTMonitor.h:109
float etabins_max_
Definition: LepHTMonitor.h:119
float npvbins_min_
Definition: LepHTMonitor.h:122
double lep_iso_cut_
Definition: LepHTMonitor.h:105
double jetEtaCut_
Definition: LepHTMonitor.h:98
std::string folderName_
Definition: LepHTMonitor.h:93
MonitorElement * h_pfHTTurnOn_num_
Definition: LepHTMonitor.h:127
edm::InputTag thePfMETTag_
Definition: LepHTMonitor.h:76
double jetPtCut_
Definition: LepHTMonitor.h:97
double lep_dz_cut_e_
Definition: LepHTMonitor.h:110
edm::InputTag theJetTagTag_
Definition: LepHTMonitor.h:80
MonitorElement * h_lepEtaTurnOn_den_
Definition: LepHTMonitor.h:132
MonitorElement * h_pfHTTurnOn_den_
Definition: LepHTMonitor.h:128
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
float etabins_min_
Definition: LepHTMonitor.h:118
MonitorElement * h_lepPhiTurnOn_num_
Definition: LepHTMonitor.h:133
void endLuminosityBlock(const edm::LuminosityBlock &lumi, const edm::EventSetup &eSetup) override
MonitorElement * h_NPVTurnOn_num_
Definition: LepHTMonitor.h:137
void beginLuminosityBlock(const edm::LuminosityBlock &lumi, const edm::EventSetup &eSetup) override
std::vector< double > ptbins_
Definition: LepHTMonitor.h:113
edm::EDGetTokenT< reco::PFMETCollection > thePfMETCollection_
Definition: LepHTMonitor.h:77
void bookHistograms(DQMStore::IBooker &ibooker, const edm::Run &, const edm::EventSetup &) override
double nmusCut_
Definition: LepHTMonitor.h:101
double lep_d0_cut_b_
Definition: LepHTMonitor.h:107
std::unique_ptr< GenericTriggerEventFlag > den_lep_genTriggerEventFlag_
Definition: LepHTMonitor.h:90
edm::EDGetTokenT< edm::View< reco::GsfElectron > > theElectronCollection_
Definition: LepHTMonitor.h:71
edm::InputTag thePfJetTag_
Definition: LepHTMonitor.h:78
edm::InputTag theElectronTag_
Definition: LepHTMonitor.h:70
edm::EDGetTokenT< reco::BeamSpot > theBeamSpot_
Definition: LepHTMonitor.h:88
MonitorElement * h_lepPtTurnOn_den_
Definition: LepHTMonitor.h:130
MonitorElement * h_lepPtTurnOn_num_
Definition: LepHTMonitor.h:129
edm::EDGetTokenT< reco::ConversionCollection > theConversionCollection_
Definition: LepHTMonitor.h:86
edm::EDGetTokenT< reco::JetTagCollection > theJetTagCollection_
Definition: LepHTMonitor.h:81
~LepHTMonitor() override
edm::InputTag theMuonTag_
Definition: LepHTMonitor.h:74
void analyze(const edm::Event &e, const edm::EventSetup &eSetup) override
edm::EDGetTokenT< reco::PFJetCollection > thePfJetCollection_
Definition: LepHTMonitor.h:79
double lep_counting_threshold_
Definition: LepHTMonitor.h:104
float phibins_max_
Definition: LepHTMonitor.h:121
MonitorElement * h_NPVTurnOn_den_
Definition: LepHTMonitor.h:138
float npvbins_max_
Definition: LepHTMonitor.h:123
float phibins_min_
Definition: LepHTMonitor.h:120
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
Definition: LepHTMonitor.h:89
double metCut_
Definition: LepHTMonitor.h:99
MonitorElement * h_lepEtaPhiTurnOn_den_
Definition: LepHTMonitor.h:136
std::vector< double > htbins_
Definition: LepHTMonitor.h:114
double lep_eta_cut_
Definition: LepHTMonitor.h:106
void dqmBeginRun(const edm::Run &run, const edm::EventSetup &e) override
double lep_pt_plateau_
Definition: LepHTMonitor.h:103
double nelsCut_
Definition: LepHTMonitor.h:102
void endRun(const edm::Run &run, const edm::EventSetup &eSetup) override
edm::EDGetTokenT< reco::VertexCollection > theVertexCollection_
Definition: LepHTMonitor.h:84
std::unique_ptr< GenericTriggerEventFlag > den_HT_genTriggerEventFlag_
Definition: LepHTMonitor.h:91
edm::InputTag theConversionCollectionTag_
Definition: LepHTMonitor.h:85
double lep_dz_cut_b_
Definition: LepHTMonitor.h:108
edm::InputTag theElectronVIDTag_
Definition: LepHTMonitor.h:72
MonitorElement * h_lepEtaPhiTurnOn_num_
Definition: LepHTMonitor.h:135
MonitorElement * h_lepPhiTurnOn_den_
Definition: LepHTMonitor.h:134
LepHTMonitor(const edm::ParameterSet &ps)
edm::InputTag theVertexCollectionTag_
Definition: LepHTMonitor.h:83
edm::EDGetTokenT< reco::MuonCollection > theMuonCollection_
Definition: LepHTMonitor.h:75
Definition: Run.h:42
edm::InputTag theBeamSpotTag_
Definition: LepHTMonitor.h:87
MonitorElement * h_lepEtaTurnOn_num_
Definition: LepHTMonitor.h:131