#include <RPCTTUMonitor.h>
Protected Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Private Attributes | |
MonitorElement * | m_bxDistDiffDt [8] |
MonitorElement * | m_bxDistDiffPac [8] |
MonitorElement * | m_dataVsemulator [8] |
std::vector< int > | m_DTcandidatesBx |
bool | m_dtTrigger |
std::vector< int > | m_GMTcandidatesBx |
edm::EDGetTokenT < L1MuGMTReadoutCollection > | m_gmtReadoutLabel |
edm::EDGetTokenT < L1GlobalTriggerReadoutRecord > | m_gtReadoutLabel |
int | m_maxttBits |
std::vector< int > | m_RPCcandidatesBx |
edm::EDGetTokenT < L1GtTechnicalTriggerRecord > | m_rpcTechTrigEmu |
bool | m_rpcTrigger |
std::vector< unsigned > | m_ttBits |
MonitorElement * | m_ttBitsDecisionData |
MonitorElement * | m_ttBitsDecisionEmulator |
std::string | outputFile |
std::string | ttuFolder |
Definition at line 48 of file RPCTTUMonitor.h.
|
explicit |
Definition at line 6 of file RPCTTUMonitor.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), m_gmtReadoutLabel, m_gtReadoutLabel, m_maxttBits, m_rpcTechTrigEmu, m_ttBits, outputFile, AlCaHLTBitMon_QueryRunRegistry::string, and ttuFolder.
RPCTTUMonitor::~RPCTTUMonitor | ( | ) |
Definition at line 21 of file RPCTTUMonitor.cc.
|
overrideprotectedvirtual |
Implements edm::stream::EDAnalyzerBase.
Definition at line 25 of file RPCTTUMonitor.cc.
References edm::EventBase::bunchCrossing(), discriminateDecision(), discriminateGMT(), MonitorElement::Fill(), edm::Event::getByToken(), edm::HandleBase::isValid(), relval_2017::k, m_bxDistDiffDt, m_bxDistDiffPac, m_DTcandidatesBx, m_dtTrigger, m_GMTcandidatesBx, m_gtReadoutLabel, m_maxttBits, m_rpcTechTrigEmu, m_rpcTrigger, m_ttBits, m_ttBitsDecisionData, and m_ttBitsDecisionEmulator.
|
overrideprotectedvirtual |
Implements DQMEDAnalyzer.
Definition at line 235 of file RPCTTUMonitor.cc.
References DQMStore::IBooker::book1D(), relval_2017::k, m_bxDistDiffDt, m_bxDistDiffPac, m_dataVsemulator, m_maxttBits, m_ttBits, m_ttBitsDecisionData, m_ttBitsDecisionEmulator, DQMStore::IBooker::setCurrentFolder(), and ttuFolder.
void RPCTTUMonitor::discriminateDecision | ( | bool | data, |
bool | emu, | ||
int | indx | ||
) |
Definition at line 218 of file RPCTTUMonitor.cc.
References MonitorElement::Fill(), and m_dataVsemulator.
Referenced by analyze().
int RPCTTUMonitor::discriminateGMT | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 135 of file RPCTTUMonitor.cc.
References edm::Event::getByToken(), L1MuGMTReadoutCollection::getRecords(), edm::HandleBase::isValid(), m_DTcandidatesBx, m_dtTrigger, m_GMTcandidatesBx, m_gmtReadoutLabel, m_rpcTrigger, and edm::Handle< T >::product().
Referenced by analyze().
|
private |
Definition at line 67 of file RPCTTUMonitor.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 66 of file RPCTTUMonitor.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 68 of file RPCTTUMonitor.h.
Referenced by bookHistograms(), and discriminateDecision().
|
private |
Definition at line 80 of file RPCTTUMonitor.h.
Referenced by analyze(), and discriminateGMT().
|
private |
Definition at line 76 of file RPCTTUMonitor.h.
Referenced by analyze(), and discriminateGMT().
|
private |
Definition at line 79 of file RPCTTUMonitor.h.
Referenced by analyze(), and discriminateGMT().
|
private |
Definition at line 86 of file RPCTTUMonitor.h.
Referenced by discriminateGMT(), and RPCTTUMonitor().
|
private |
Definition at line 85 of file RPCTTUMonitor.h.
Referenced by analyze(), and RPCTTUMonitor().
|
private |
Definition at line 73 of file RPCTTUMonitor.h.
Referenced by analyze(), bookHistograms(), and RPCTTUMonitor().
|
private |
Definition at line 81 of file RPCTTUMonitor.h.
|
private |
Definition at line 87 of file RPCTTUMonitor.h.
Referenced by analyze(), and RPCTTUMonitor().
|
private |
Definition at line 77 of file RPCTTUMonitor.h.
Referenced by analyze(), and discriminateGMT().
|
private |
Definition at line 74 of file RPCTTUMonitor.h.
Referenced by analyze(), bookHistograms(), and RPCTTUMonitor().
|
private |
Definition at line 64 of file RPCTTUMonitor.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 65 of file RPCTTUMonitor.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 71 of file RPCTTUMonitor.h.
Referenced by RPCTTUMonitor().
|
private |
Definition at line 70 of file RPCTTUMonitor.h.
Referenced by bookHistograms(), and RPCTTUMonitor().