#include <DTLocalTriggerBaseTask.h>
Public Member Functions | |
DTLocalTriggerBaseTask (const edm::ParameterSet &ps) | |
Constructor. More... | |
virtual | ~DTLocalTriggerBaseTask () |
Destructor. More... | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
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::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
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 > *phTrigs, std::vector< L1MuDTChambThDigi > *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 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 |
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 |
std::map< int, std::map < std::string, MonitorElement * > > | wheelHistos |
Friends | |
class | DTMonitorModule |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
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 67 of file DTLocalTriggerBaseTask.cc.
References bestAccRange, detailedAnalysis, edm::ParameterSet::getUntrackedParameter(), LogTrace, cppFunctionSkipper::operator, processDCC, processDDU, targetBXDCC, targetBXDDU, theDQMStore, theParams, theTypes, topFolder(), and tpMode.
|
virtual |
Destructor.
Definition at line 100 of file DTLocalTriggerBaseTask.cc.
References LogTrace, nEvents, and theTrigGeomUtils.
|
protectedvirtual |
Analyze.
Implements edm::EDAnalyzer.
Definition at line 188 of file DTLocalTriggerBaseTask.cc.
References MonitorElement::Fill(), edm::Event::getByLabel(), edm::ParameterSet::getUntrackedParameter(), edm::HandleBase::isValid(), nEventMonitor, nEvents, nEventsInLS, processDCC, processDDU, runDCCAnalysis(), runDDUAnalysis(), runDDUvsDCCAnalysis(), theCompMap, and theParams.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 109 of file DTLocalTriggerBaseTask.cc.
References LogTrace.
|
protectedvirtual |
To reset the MEs.
Reimplemented from edm::EDAnalyzer.
Definition at line 140 of file DTLocalTriggerBaseTask.cc.
References chamberHistos, edm::ParameterSet::getUntrackedParameter(), LogTrace, nEventsInLS, nLumis, and theParams.
|
protectedvirtual |
Beginrun.
Reimplemented from edm::EDAnalyzer.
Definition at line 117 of file DTLocalTriggerBaseTask.cc.
References DQMStore::bookFloat(), bookHistos(), DTChamberId, edm::EventSetup::get(), LogTrace, nEventMonitor, DQMStore::setCurrentFolder(), theDQMStore, and theTrigGeomUtils.
|
private |
Book the histograms.
Definition at line 236 of file DTLocalTriggerBaseTask.cc.
References DQMStore::book1D(), DQMStore::book2D(), chamberHistos, detailedAnalysis, edm::ParameterSet::getUntrackedParameter(), LogTrace, DTTrigGeomUtils::phiRange(), processDCC, processDDU, DetId::rawId(), DTChamberId::sector(), DQMStore::setCurrentFolder(), 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 345 of file DTLocalTriggerBaseTask.cc.
References DQMStore::bookProfile2D(), LogTrace, MonitorElement::setAxisTitle(), DQMStore::setCurrentFolder(), theDQMStore, topFolder(), and wheelHistos.
|
protectedvirtual |
EndJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 177 of file DTLocalTriggerBaseTask.cc.
References nEvents, processDCC, processDDU, DQMStore::rmdir(), theDQMStore, and topFolder().
|
protectedvirtual |
Perform trend plot operations.
Reimplemented from edm::EDAnalyzer.
Definition at line 163 of file DTLocalTriggerBaseTask.cc.
References LogTrace, edm::LuminosityBlockBase::luminosityBlock(), nEventsInLS, and trendHistos.
|
private |
Run analysis on DCC data.
Definition at line 365 of file DTLocalTriggerBaseTask.cc.
References abs, bestAccRange, chamberHistos, detailedAnalysis, dir, pos, DetId::rawId(), targetBXDCC, theCompMap, theTrigGeomUtils, tpMode, DTTrigGeomUtils::trigDir(), and DTTrigGeomUtils::trigPos().
Referenced by analyze().
|
private |
Run analysis on ROS data.
Definition at line 446 of file DTLocalTriggerBaseTask.cc.
References abs, bestAccRange, chamberHistos, DetId::rawId(), targetBXDDU, theCompMap, and tpMode.
Referenced by analyze().
|
private |
Run analysis on ROS data.
Definition at line 504 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 530 of file DTLocalTriggerBaseTask.cc.
References MonitorElement::getTH1(), interpolateCardsSimple::histo, i, and reco_calib_source_client_cfg::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 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(), 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 118 of file DTLocalTriggerBaseTask.h.
Referenced by bookHistos(), and runDDUvsDCCAnalysis().