#include <DTLocalTriggerBaseTask.h>
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) |
Analyze. More... | |
void | beginJob () |
void | beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) |
To reset the MEs. More... | |
void | beginRun (const edm::Run &, const edm::EventSetup &) |
Beginrun. More... | |
void | endJob (void) |
EndJob. More... | |
void | endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) |
Perform trend plot operations. More... | |
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 Member Functions | |
void | bookHistos (const DTChamberId &chamb) |
Book the histograms. More... | |
void | bookHistos (int wh) |
Book the histograms. More... | |
void | runDCCAnalysis (std::vector< L1MuDTChambPhDigi > const *phTrigs, std::vector< L1MuDTChambThDigi > const *thTrigs) |
Run analysis on DCC data. More... | |
void | runDDUAnalysis (edm::Handle< DTLocalTriggerCollection > &trigsDDU) |
Run analysis on ROS data. More... | |
void | runDDUvsDCCAnalysis () |
Run analysis on ROS data. More... | |
void | setQLabels (MonitorElement *me, short int iaxis) |
Set Quality labels. More... | |
std::string & | topFolder (std::string const &type) |
Get the Top folder (different between Physics and TP and DCC/DDU) More... | |
Private Attributes | |
std::string | baseFolder [2] |
int | bestAccRange |
std::map< uint32_t, std::map < std::string, MonitorElement * > > | chamberHistos |
edm::EDGetTokenT < L1MuDTChambPhContainer > | dcc_phi_Token_ |
edm::EDGetTokenT < L1MuDTChambThContainer > | dcc_theta_Token_ |
bool | detailedAnalysis |
MonitorElement * | nEventMonitor |
int | nEvents |
int | nEventsInLS |
int | nLumis |
bool | processDCC |
bool | processDDU |
int | targetBXDCC |
int | targetBXDDU |
std::map< uint32_t, DTTPGCompareUnit > | theCompMap |
DQMStore * | theDQMStore |
edm::ParameterSet | theParams |
DTTrigGeomUtils * | theTrigGeomUtils |
std::vector< std::string > | theTypes |
bool | tpMode |
std::map< uint32_t, DTTimeEvolutionHisto * > | trendHistos |
edm::EDGetTokenT < DTLocalTriggerCollection > | trig_Token_ |
std::map< int, std::map < std::string, MonitorElement * > > | wheelHistos |
Friends | |
class | DTMonitorModule |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Definition at line 43 of file DTLocalTriggerBaseTask.h.
DTLocalTriggerBaseTask::DTLocalTriggerBaseTask | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 63 of file DTLocalTriggerBaseTask.cc.
References bestAccRange, dcc_phi_Token_, dcc_theta_Token_, detailedAnalysis, edm::ParameterSet::getUntrackedParameter(), LogTrace, cppFunctionSkipper::operator, processDCC, processDDU, targetBXDCC, targetBXDDU, theDQMStore, theParams, theTypes, topFolder(), tpMode, and trig_Token_.
|
virtual |
Destructor.
Definition at line 103 of file DTLocalTriggerBaseTask.cc.
References LogTrace, nEvents, and theTrigGeomUtils.
|
protectedvirtual |
Analyze.
Implements edm::EDAnalyzer.
Definition at line 191 of file DTLocalTriggerBaseTask.cc.
References dcc_phi_Token_, dcc_theta_Token_, MonitorElement::Fill(), edm::Event::getByToken(), edm::ParameterSet::getUntrackedParameter(), edm::HandleBase::isValid(), nEventMonitor, nEvents, nEventsInLS, processDCC, processDDU, runDCCAnalysis(), runDDUAnalysis(), runDDUvsDCCAnalysis(), theCompMap, theParams, and trig_Token_.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 112 of file DTLocalTriggerBaseTask.cc.
References LogTrace.
|
protectedvirtual |
To reset the MEs.
Reimplemented from edm::EDAnalyzer.
Definition at line 143 of file DTLocalTriggerBaseTask.cc.
References chamberHistos, edm::ParameterSet::getUntrackedParameter(), LogTrace, nEventsInLS, nLumis, and theParams.
|
protectedvirtual |
Beginrun.
Reimplemented from edm::EDAnalyzer.
Definition at line 120 of file DTLocalTriggerBaseTask.cc.
References bookHistos(), DTChamberId, edm::EventSetup::get(), LogTrace, nEventMonitor, theDQMStore, and theTrigGeomUtils.
|
private |
Book the histograms.
Definition at line 239 of file DTLocalTriggerBaseTask.cc.
References chamberHistos, detailedAnalysis, edm::ParameterSet::getUntrackedParameter(), LogTrace, DTTrigGeomUtils::phiRange(), processDCC, processDDU, DetId::rawId(), DTChamberId::sector(), setQLabels(), DTChamberId::station(), relativeConstraints::station, theDQMStore, theParams, theTrigGeomUtils, theTypes, topFolder(), tpMode, trendHistos, and DTChamberId::wheel().
Referenced by beginRun().
|
private |
Book the histograms.
Definition at line 348 of file DTLocalTriggerBaseTask.cc.
References LogTrace, MonitorElement::setAxisTitle(), theDQMStore, topFolder(), and wheelHistos.
|
protectedvirtual |
EndJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 180 of file DTLocalTriggerBaseTask.cc.
References nEvents, processDCC, processDDU, theDQMStore, and topFolder().
|
protectedvirtual |
Perform trend plot operations.
Reimplemented from edm::EDAnalyzer.
Definition at line 166 of file DTLocalTriggerBaseTask.cc.
References LogTrace, edm::LuminosityBlockBase::luminosityBlock(), nEventsInLS, and trendHistos.
|
private |
Run analysis on DCC data.
Definition at line 368 of file DTLocalTriggerBaseTask.cc.
References funct::abs(), bestAccRange, chamberHistos, detailedAnalysis, dir, DetId::rawId(), targetBXDCC, theCompMap, theTrigGeomUtils, tpMode, DTTrigGeomUtils::trigDir(), and DTTrigGeomUtils::trigPos().
Referenced by analyze().
|
private |
Run analysis on ROS data.
Definition at line 449 of file DTLocalTriggerBaseTask.cc.
References funct::abs(), bestAccRange, chamberHistos, DetId::rawId(), targetBXDDU, theCompMap, and tpMode.
Referenced by analyze().
|
private |
Run analysis on ROS data.
Definition at line 507 of file DTLocalTriggerBaseTask.cc.
References chamberHistos, DTTPGCompareUnit::deltaBX(), DTTPGCompareUnit::hasBoth(), DTTPGCompareUnit::hasOne(), DTTPGCompareUnit::hasSameQual(), DTTPGCompareUnit::qualDCC(), DTTPGCompareUnit::qualDDU(), DTChamberId::sector(), DTChamberId::station(), theCompMap, trendHistos, DTChamberId::wheel(), and wheelHistos.
Referenced by analyze().
|
private |
Set Quality labels.
Definition at line 533 of file DTLocalTriggerBaseTask.cc.
References MonitorElement::getTH1(), timingPdfMaker::histo, i, and tablePrinter::labels.
Referenced by bookHistos().
|
inlineprivate |
Get the Top folder (different between Physics and TP and DCC/DDU)
Definition at line 87 of file DTLocalTriggerBaseTask.h.
References baseFolder.
Referenced by bookHistos(), DTLocalTriggerBaseTask(), and endJob().
|
friend |
Definition at line 45 of file DTLocalTriggerBaseTask.h.
|
private |
Definition at line 102 of file DTLocalTriggerBaseTask.h.
Referenced by topFolder().
|
private |
Definition at line 110 of file DTLocalTriggerBaseTask.h.
Referenced by DTLocalTriggerBaseTask(), runDCCAnalysis(), and runDDUAnalysis().
|
private |
Definition at line 119 of file DTLocalTriggerBaseTask.h.
Referenced by beginLuminosityBlock(), bookHistos(), runDCCAnalysis(), runDDUAnalysis(), and runDDUvsDCCAnalysis().
|
private |
Definition at line 123 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), and DTLocalTriggerBaseTask().
|
private |
Definition at line 124 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), and DTLocalTriggerBaseTask().
|
private |
Definition at line 104 of file DTLocalTriggerBaseTask.h.
Referenced by bookHistos(), DTLocalTriggerBaseTask(), and runDCCAnalysis().
|
private |
Definition at line 121 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 98 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), endJob(), looper.Looper::loop(), and ~DTLocalTriggerBaseTask().
|
private |
Definition at line 99 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 100 of file DTLocalTriggerBaseTask.h.
Referenced by beginLuminosityBlock().
|
private |
Definition at line 105 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), bookHistos(), DTLocalTriggerBaseTask(), and endJob().
|
private |
Definition at line 106 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), bookHistos(), DTLocalTriggerBaseTask(), and endJob().
|
private |
Definition at line 109 of file DTLocalTriggerBaseTask.h.
Referenced by DTLocalTriggerBaseTask(), and runDCCAnalysis().
|
private |
Definition at line 108 of file DTLocalTriggerBaseTask.h.
Referenced by DTLocalTriggerBaseTask(), and runDDUAnalysis().
|
private |
Definition at line 117 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), runDCCAnalysis(), runDDUAnalysis(), and runDDUvsDCCAnalysis().
|
private |
Definition at line 112 of file DTLocalTriggerBaseTask.h.
Referenced by beginRun(), bookHistos(), DTLocalTriggerBaseTask(), and endJob().
|
private |
Definition at line 113 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), beginLuminosityBlock(), bookHistos(), and DTLocalTriggerBaseTask().
|
private |
Definition at line 114 of file DTLocalTriggerBaseTask.h.
Referenced by beginRun(), bookHistos(), runDCCAnalysis(), and ~DTLocalTriggerBaseTask().
|
private |
Definition at line 115 of file DTLocalTriggerBaseTask.h.
Referenced by bookHistos(), and DTLocalTriggerBaseTask().
|
private |
Definition at line 103 of file DTLocalTriggerBaseTask.h.
Referenced by bookHistos(), DTLocalTriggerBaseTask(), runDCCAnalysis(), and runDDUAnalysis().
|
private |
Definition at line 120 of file DTLocalTriggerBaseTask.h.
Referenced by bookHistos(), endLuminosityBlock(), and runDDUvsDCCAnalysis().
|
private |
Definition at line 125 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), and DTLocalTriggerBaseTask().
|
private |
Definition at line 118 of file DTLocalTriggerBaseTask.h.
Referenced by bookHistos(), and runDDUvsDCCAnalysis().