CMS 3D CMS Logo

TriggerMatchMonitor.h
Go to the documentation of this file.
1 #ifndef TriggerMatchMonitor_H
2 #define TriggerMatchMonitor_H
3 
10 #include <memory>
11 #include <fstream>
19 
35 
37 public:
40 
42  ~TriggerMatchMonitor() override;
43 
44  void analyze(const edm::Event&, const edm::EventSetup&) override;
45  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
46 
47 private:
48  // ----------member data ---------------------------
50 
51  // triggerNames to be passed from config
58 
59  //Vertex requirements
66 
69 
70  // histograms
71  std::vector<MonitorElement*> matchHists;
78 
85 
87 };
88 #endif
MonitorElement * h_passHLTPath2_eta_Tight
MonitorElement * h_passHLTPath2_phi_Tight
MonitorElement * h_totalHLTPath1_phi_Tight
edm::EDGetTokenT< reco::BeamSpot > theBeamSpotLabel_
edm::ParameterSet parameters
MonitorElement * h_totalHLTPath2_pt_Tight
edm::EDGetTokenT< reco::BeamSpot > beamSpotToken_
~TriggerMatchMonitor() override
Destructor.
MonitorElement * h_totalHLTPath1_eta_Tight
MonitorElement * h_passHLTPath1_phi_Tight
MonitorElement * h_passHLTPath1_eta_Tight
MonitorElement * h_totalHLTPath1_pt_Tight
edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken_
edm::EDGetTokenT< std::vector< pat::TriggerObjectStandAlone > > triggerObjects_
MonitorElement * h_totalHLTPath2_eta_Tight
void analyze(const edm::Event &, const edm::EventSetup &) override
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * h_passHLTPath2_pt_Tight
edm::EDGetTokenT< edm::View< reco::Muon > > theMuonCollectionLabel_
MonitorElement * h_totalHLTPath2_phi_Tight
MonitorElement * h_passHLTPath1_pt_Tight
edm::EDGetTokenT< reco::VertexCollection > theVertexLabel_
edm::EDGetTokenT< edm::View< pat::Muon > > thePATMuonCollectionLabel_
std::vector< MonitorElement * > matchHists
TriggerMatchMonitor(const edm::ParameterSet &pSet)
Constructor.
Definition: Run.h:45
edm::EDGetTokenT< std::vector< reco::Vertex > > primaryVerticesToken_