#include <BaseTnPEfficiencyTask.h>
Protected Member Functions | |
void | analyze (const edm::Event &event, const edm::EventSetup &context) override |
Analyze. More... | |
void | bookHistograms (DQMStore::IBooker &iBooker, edm::Run const &run, edm::EventSetup const &context) override |
void | dqmBeginRun (const edm::Run &run, const edm::EventSetup &context) override |
BeginRun. More... | |
bool | hasTrigger (std::vector< int > &trigIndices, const trigger::TriggerObjectCollection &trigObjs, edm::Handle< trigger::TriggerEvent > &trigEvent, const reco::Muon &muon) |
virtual std::string | topFolder () const =0 |
Return the top folder. More... | |
Protected Member Functions inherited from DQMEDAnalyzer | |
uint64_t | meId () const |
Protected Attributes | |
const double | m_borderCut |
const bool | m_detailedAnalysis |
const double | m_dxCut |
std::map< std::string, MonitorElement * > | m_histos |
const edm::EDGetTokenT< reco::MuonCollection > | m_muToken |
int | m_nEvents |
std::vector< std::vector< unsigned > > | m_probeIndices |
std::vector< std::vector< unsigned > > | m_tagIndices |
Protected Attributes inherited from DQMEDAnalyzer | |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
unsigned int | streamId_ |
Private Attributes | |
const double | m_dxyCut |
const double | m_dzCut |
const double | m_highPairMassCut |
HLTConfigProvider | m_hltConfig |
const double | m_lowPairMassCut |
const edm::EDGetTokenT< std::vector< reco::Vertex > > | m_primaryVerticesToken |
const StringCutObjectSelector< reco::Candidate, true > | m_probeSelector |
const StringCutObjectSelector< reco::Muon, true > | m_tagSelector |
const edm::EDGetTokenT< trigger::TriggerEvent > | m_triggerEventToken |
const edm::EDGetTokenT< edm::TriggerResults > | m_triggerResultsToken |
std::vector< int > | m_trigIndices |
const std::string | m_trigName |
Definition at line 35 of file BaseTnPEfficiencyTask.h.
BaseTnPEfficiencyTask::BaseTnPEfficiencyTask | ( | const edm::ParameterSet & | config | ) |
Constructor.
Definition at line 25 of file BaseTnPEfficiencyTask.cc.
References LogTrace.
|
override |
Destructor.
Definition at line 46 of file BaseTnPEfficiencyTask.cc.
References LogTrace, and m_nEvents.
|
overrideprotectedvirtual |
Analyze.
Reimplemented from DQMEDAnalyzer.
Reimplemented in RPCTnPEfficiencyTask, DTTnPEfficiencyTask, and CSCTnPEfficiencyTask.
Definition at line 89 of file BaseTnPEfficiencyTask.cc.
References funct::abs(), reco::LeafCandidate::charge(), hasTrigger(), edm::HandleBase::isValid(), m_dxyCut, m_dzCut, m_highPairMassCut, m_histos, m_muToken, m_nEvents, m_primaryVerticesToken, m_probeIndices, m_probeSelector, m_tagIndices, m_tagSelector, m_triggerEventToken, m_triggerResultsToken, m_trigIndices, HLT_2022v15_cff::muon, PDWG_BPHSkim_cff::muons, reco::LeafCandidate::polarP4(), egammaIdentification::pt_max, makeGlobalPositionRcd_cfg::tag, PDWG_DiPhoton_SD_cff::triggerEvent, triggerResults, mkLumiAveragedPlots::tuple, and bphysicsOniaDQM_cfi::vertex.
Referenced by CSCTnPEfficiencyTask::analyze(), DTTnPEfficiencyTask::analyze(), and RPCTnPEfficiencyTask::analyze().
|
overrideprotectedvirtual |
Implements DQMEDAnalyzer.
Reimplemented in RPCTnPEfficiencyTask, CSCTnPEfficiencyTask, and DTTnPEfficiencyTask.
Definition at line 68 of file BaseTnPEfficiencyTask.cc.
References ALCARECODTCalibSynchDQM_cff::baseDir, dqm::implementation::IBooker::book1D(), LogTrace, m_detailedAnalysis, m_histos, Pi, dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and topFolder().
Referenced by CSCTnPEfficiencyTask::bookHistograms(), DTTnPEfficiencyTask::bookHistograms(), and RPCTnPEfficiencyTask::bookHistograms().
|
overrideprotectedvirtual |
BeginRun.
Reimplemented from DQMEDAnalyzer.
Definition at line 51 of file BaseTnPEfficiencyTask.cc.
References visDQMUpload::context, HLTConfigProvider::init(), m_hltConfig, m_trigIndices, m_trigName, hltMonBTagIPClient_cfi::pathName, writedatasetfile::run, HLTConfigProvider::size(), simpleEdmComparison::tName, and HLTConfigProvider::triggerName().
|
protected |
Definition at line 184 of file BaseTnPEfficiencyTask.cc.
References HLTMuonOfflineAnalyzer_cfi::deltaR2, spr::find(), relativeConstraints::keys, m_hltConfig, HLTConfigProvider::moduleLabels(), B2GTnPMonitor_cfi::trigEvent, and TriggerAnalyzer::trigObjs.
Referenced by analyze().
|
protectedpure virtual |
Return the top folder.
Implemented in RPCTnPEfficiencyTask, CSCTnPEfficiencyTask, and DTTnPEfficiencyTask.
Referenced by bookHistograms().
|
protected |
Definition at line 68 of file BaseTnPEfficiencyTask.h.
Referenced by CSCTnPEfficiencyTask::analyze(), DTTnPEfficiencyTask::analyze(), and RPCTnPEfficiencyTask::analyze().
|
protected |
Definition at line 70 of file BaseTnPEfficiencyTask.h.
Referenced by CSCTnPEfficiencyTask::analyze(), DTTnPEfficiencyTask::analyze(), RPCTnPEfficiencyTask::analyze(), and bookHistograms().
|
protected |
Definition at line 69 of file BaseTnPEfficiencyTask.h.
Referenced by CSCTnPEfficiencyTask::analyze(), DTTnPEfficiencyTask::analyze(), and RPCTnPEfficiencyTask::analyze().
|
private |
Definition at line 82 of file BaseTnPEfficiencyTask.h.
Referenced by analyze().
|
private |
Definition at line 83 of file BaseTnPEfficiencyTask.h.
Referenced by analyze().
|
private |
Definition at line 92 of file BaseTnPEfficiencyTask.h.
Referenced by analyze().
|
protected |
Definition at line 62 of file BaseTnPEfficiencyTask.h.
Referenced by CSCTnPEfficiencyTask::analyze(), DTTnPEfficiencyTask::analyze(), RPCTnPEfficiencyTask::analyze(), analyze(), RPCTnPEfficiencyTask::bookEndcapHistos(), CSCTnPEfficiencyTask::bookHistograms(), DTTnPEfficiencyTask::bookHistograms(), RPCTnPEfficiencyTask::bookHistograms(), bookHistograms(), DTTnPEfficiencyTask::bookWheelHistos(), and RPCTnPEfficiencyTask::bookWheelHistos().
|
private |
Definition at line 78 of file BaseTnPEfficiencyTask.h.
Referenced by dqmBeginRun(), and hasTrigger().
|
private |
Definition at line 91 of file BaseTnPEfficiencyTask.h.
|
protected |
Definition at line 66 of file BaseTnPEfficiencyTask.h.
Referenced by CSCTnPEfficiencyTask::analyze(), DTTnPEfficiencyTask::analyze(), RPCTnPEfficiencyTask::analyze(), and analyze().
|
protected |
Definition at line 64 of file BaseTnPEfficiencyTask.h.
Referenced by analyze(), ~BaseTnPEfficiencyTask(), CSCTnPEfficiencyTask::~CSCTnPEfficiencyTask(), DTTnPEfficiencyTask::~DTTnPEfficiencyTask(), and RPCTnPEfficiencyTask::~RPCTnPEfficiencyTask().
|
private |
Definition at line 73 of file BaseTnPEfficiencyTask.h.
Referenced by analyze().
|
protected |
Definition at line 59 of file BaseTnPEfficiencyTask.h.
Referenced by CSCTnPEfficiencyTask::analyze(), DTTnPEfficiencyTask::analyze(), RPCTnPEfficiencyTask::analyze(), and analyze().
|
private |
Definition at line 81 of file BaseTnPEfficiencyTask.h.
Referenced by analyze().
|
protected |
Definition at line 60 of file BaseTnPEfficiencyTask.h.
Referenced by analyze().
|
private |
Definition at line 86 of file BaseTnPEfficiencyTask.h.
Referenced by analyze().
|
private |
Definition at line 75 of file BaseTnPEfficiencyTask.h.
Referenced by analyze().
|
private |
Definition at line 74 of file BaseTnPEfficiencyTask.h.
Referenced by analyze().
|
private |
Definition at line 89 of file BaseTnPEfficiencyTask.h.
Referenced by analyze(), and dqmBeginRun().
|
private |
Definition at line 77 of file BaseTnPEfficiencyTask.h.
Referenced by dqmBeginRun().