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
TriggerMatchMonitor::thePATMuonCollectionLabel_
edm::EDGetTokenT< edm::View< pat::Muon > > thePATMuonCollectionLabel_
Definition: TriggerMatchMonitor.h:61
TriggerMatchMonitor::triggerHistName1_
std::string triggerHistName1_
Definition: TriggerMatchMonitor.h:53
Handle.h
Muon.h
TriggerMatchMonitor::h_passHLTPath2_phi_Tight
MonitorElement * h_passHLTPath2_phi_Tight
Definition: TriggerMatchMonitor.h:81
TriggerMatchMonitor::theVertexLabel_
edm::EDGetTokenT< reco::VertexCollection > theVertexLabel_
Definition: TriggerMatchMonitor.h:62
TriggerMatchMonitor::h_passHLTPath1_eta_Tight
MonitorElement * h_passHLTPath1_eta_Tight
Definition: TriggerMatchMonitor.h:72
TriggerResults.h
edm::Run
Definition: Run.h:45
TriggerEvent.h
edm::EDGetTokenT
Definition: EDGetToken.h:33
Muon.h
TriggerMatchMonitor::parameters
edm::ParameterSet parameters
Definition: TriggerMatchMonitor.h:49
TriggerMatchMonitor::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: TriggerMatchMonitor.cc:48
TriggerMatchMonitor
Definition: TriggerMatchMonitor.h:36
DQMStore.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
TriggerMatchMonitor::h_passHLTPath2_pt_Tight
MonitorElement * h_passHLTPath2_pt_Tight
Definition: TriggerMatchMonitor.h:80
MakerMacros.h
TriggerMatchMonitor::h_totalHLTPath2_pt_Tight
MonitorElement * h_totalHLTPath2_pt_Tight
Definition: TriggerMatchMonitor.h:83
Track.h
TrackFwd.h
TriggerMatchMonitor::h_totalHLTPath1_phi_Tight
MonitorElement * h_totalHLTPath1_phi_Tight
Definition: TriggerMatchMonitor.h:77
BeamSpot.h
MuonSelectors.h
Service.h
MuonFwd.h
TriggerMatchMonitor::h_totalHLTPath2_eta_Tight
MonitorElement * h_totalHLTPath2_eta_Tight
Definition: TriggerMatchMonitor.h:82
TriggerMatchMonitor::matchHists
std::vector< MonitorElement * > matchHists
Definition: TriggerMatchMonitor.h:71
TriggerMatchMonitor::h_totalHLTPath1_eta_Tight
MonitorElement * h_totalHLTPath1_eta_Tight
Definition: TriggerMatchMonitor.h:75
TriggerMatchMonitor::h_passHLTPath2_eta_Tight
MonitorElement * h_passHLTPath2_eta_Tight
Definition: TriggerMatchMonitor.h:79
DQMEDAnalyzer.h
TriggerMatchMonitor::beamSpotToken_
edm::EDGetTokenT< reco::BeamSpot > beamSpotToken_
Definition: TriggerMatchMonitor.h:67
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
TriggerMatchMonitor::theFolder
std::string theFolder
Definition: TriggerMatchMonitor.h:86
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
TriggerMatchMonitor::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: TriggerMatchMonitor.cc:137
TriggerNames.h
TriggerMatchMonitor::triggerPathName1_
std::string triggerPathName1_
Definition: TriggerMatchMonitor.h:52
TriggerMatchMonitor::h_totalHLTPath2_phi_Tight
MonitorElement * h_totalHLTPath2_phi_Tight
Definition: TriggerMatchMonitor.h:84
edm::EventSetup
Definition: EventSetup.h:58
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TriggerMatchMonitor::theBeamSpotLabel_
edm::EDGetTokenT< reco::BeamSpot > theBeamSpotLabel_
Definition: TriggerMatchMonitor.h:63
TriggerMatchMonitor::h_passHLTPath1_pt_Tight
MonitorElement * h_passHLTPath1_pt_Tight
Definition: TriggerMatchMonitor.h:73
VertexFwd.h
TriggerMatchMonitor::triggerObjects_
edm::EDGetTokenT< std::vector< pat::TriggerObjectStandAlone > > triggerObjects_
Definition: TriggerMatchMonitor.h:65
TriggerMatchMonitor::triggerHistName2_
std::string triggerHistName2_
Definition: TriggerMatchMonitor.h:56
TriggerMatchMonitor::TriggerMatchMonitor
TriggerMatchMonitor(const edm::ParameterSet &pSet)
Constructor.
Definition: TriggerMatchMonitor.cc:20
TriggerMatchMonitor::~TriggerMatchMonitor
~TriggerMatchMonitor() override
Destructor.
Definition: TriggerMatchMonitor.cc:46
TriggerMatchMonitor::h_passHLTPath1_phi_Tight
MonitorElement * h_passHLTPath1_phi_Tight
Definition: TriggerMatchMonitor.h:74
Vertex.h
Frameworkfwd.h
TriggerMatchMonitor::theMuonCollectionLabel_
edm::EDGetTokenT< edm::View< reco::Muon > > theMuonCollectionLabel_
Definition: TriggerMatchMonitor.h:60
TriggerMatchMonitor::primaryVerticesToken_
edm::EDGetTokenT< std::vector< reco::Vertex > > primaryVerticesToken_
Definition: TriggerMatchMonitor.h:68
TriggerMatchMonitor::triggerResultsToken_
edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken_
Definition: TriggerMatchMonitor.h:64
dqm::implementation::IBooker
Definition: DQMStore.h:43
ParameterSet.h
edm::Event
Definition: Event.h:73
MuonEnergy.h
TriggerMatchMonitor::triggerPathName2_
std::string triggerPathName2_
Definition: TriggerMatchMonitor.h:55
TriggerObjectStandAlone.h
TriggerMatchMonitor::h_totalHLTPath1_pt_Tight
MonitorElement * h_totalHLTPath1_pt_Tight
Definition: TriggerMatchMonitor.h:76
TriggerMatchMonitor::triggerPtThresholdPath2_
double triggerPtThresholdPath2_
Definition: TriggerMatchMonitor.h:57
TriggerMatchMonitor::triggerPtThresholdPath1_
double triggerPtThresholdPath1_
Definition: TriggerMatchMonitor.h:54