#include <TimingTask.h>
Public Types | |
enum | MESets { kTimeMap, kTimeAmp, kTimeAll, kTimeAllMap, kTimeAmpAll, nMESets } |
Public Types inherited from ecaldqm::DQWorker | |
enum | MESets { nMESets } |
Public Member Functions | |
void | analyze (const void *, Collections) override |
bool | filterRunType (const std::vector< short > &) override |
void | runOnRecHits (const EcalRecHitCollection &, Collections) |
TimingTask (const edm::ParameterSet &, const edm::ParameterSet &) | |
~TimingTask () | |
Public Member Functions inherited from ecaldqm::DQWorkerTask | |
virtual void | beginEvent (const edm::Event &, const edm::EventSetup &) |
DQWorkerTask (const edm::ParameterSet &, const edm::ParameterSet &, std::string const &) | |
virtual void | endEvent (const edm::Event &, const edm::EventSetup &) |
virtual bool | filterTrigger (const edm::TriggerResultsByName &) |
virtual const std::vector < std::pair< Collections, Collections > > & | getDependencies () |
virtual bool | runsOn (unsigned) |
virtual | ~DQWorkerTask () |
Public Member Functions inherited from ecaldqm::DQWorker | |
virtual void | beginLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) |
virtual void | beginRun (const edm::Run &, const edm::EventSetup &) |
virtual void | bookMEs () |
DQWorker (const edm::ParameterSet &, const edm::ParameterSet &, std::string const &) | |
virtual void | endLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) |
virtual void | endRun (const edm::Run &, const edm::EventSetup &) |
const std::vector< MESet * > & | getMEs () |
virtual std::string const & | getName () |
virtual bool | isInitialized () |
virtual void | reset () |
virtual void | setInitialized (bool _init) |
virtual void | setVerbosity (int _verbosity) |
virtual | ~DQWorker () |
Static Public Member Functions | |
static void | setMEData (std::vector< MEData > &) |
Static Public Member Functions inherited from ecaldqm::DQWorker | |
static void | setMEData (std::vector< MEData > &) |
Private Attributes | |
float | energyThresholdEB_ |
float | energyThresholdEE_ |
Additional Inherited Members | |
Static Public Attributes inherited from ecaldqm::DQWorker | |
static std::map< std::string, std::vector< MEData > > | meData |
Protected Member Functions inherited from ecaldqm::DQWorker | |
MESet * | createMESet_ (std::string const &, MEData const &, bool _readOnly=false) const |
void | meSet_ (unsigned, edm::ParameterSet const &) |
Protected Attributes inherited from ecaldqm::DQWorkerTask | |
uint32_t | collectionMask_ |
std::vector< std::pair < Collections, Collections > > | dependencies_ |
Protected Attributes inherited from ecaldqm::DQWorker | |
bool | initialized_ |
std::vector< MESet * > | MEs_ |
std::string | name_ |
int | verbosity_ |
Definition at line 10 of file TimingTask.h.
Enumerator | |
---|---|
kTimeMap | |
kTimeAmp | |
kTimeAll | |
kTimeAllMap | |
kTimeAmpAll | |
nMESets |
Definition at line 21 of file TimingTask.h.
ecaldqm::TimingTask::TimingTask | ( | const edm::ParameterSet & | _params, |
const edm::ParameterSet & | _paths | ||
) |
Definition at line 7 of file TimingTask.cc.
References ecaldqm::DQWorkerTask::collectionMask_, energyThresholdEB_, energyThresholdEE_, edm::ParameterSet::getUntrackedParameterSet(), ecaldqm::kEBRecHit, ecaldqm::kEERecHit, and ecaldqm::DQWorker::name_.
ecaldqm::TimingTask::~TimingTask | ( | ) |
Definition at line 22 of file TimingTask.cc.
|
inlineoverridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 37 of file TimingTask.h.
References ecaldqm::kEBRecHit, ecaldqm::kEERecHit, and runOnRecHits().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 27 of file TimingTask.cc.
References EcalDCCHeaderBlock::COSMIC, EcalDCCHeaderBlock::COSMICS_GLOBAL, EcalDCCHeaderBlock::COSMICS_LOCAL, EcalDCCHeaderBlock::MTCC, EcalDCCHeaderBlock::PHYSICS_GLOBAL, and EcalDCCHeaderBlock::PHYSICS_LOCAL.
void ecaldqm::TimingTask::runOnRecHits | ( | const EcalRecHitCollection & | _hits, |
Collections | _collection | ||
) |
Definition at line 42 of file TimingTask.cc.
References edm::SortedCollection< T, SORT >::begin(), edm::SortedCollection< T, SORT >::end(), relval_parameters_module::energy, energyThresholdEB_, energyThresholdEE_, ecaldqm::kEBRecHit, EcalRecHit::kGood, EcalRecHit::kOutOfTime, kTimeAll, kTimeAllMap, kTimeAmp, kTimeAmpAll, kTimeMap, ecaldqm::DQWorker::MEs_, dtDQMClient_cfg::threshold, and cond::rpcobgas::time.
Referenced by analyze().
|
static |
Definition at line 69 of file TimingTask.cc.
References MonitorElement::DQM_KIND_TH1F, MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TPROFILE2D, EcalDQMBinningService::AxisSpecs::edges, EcalDQMBinningService::AxisSpecs::high, i, EcalDQMBinningService::kCrystal, EcalDQMBinningService::kEcal2P, EcalDQMBinningService::kEcal3P, EcalDQMBinningService::kSM, EcalDQMBinningService::kSuperCrystal, kTimeAll, kTimeAllMap, kTimeAmp, kTimeAmpAll, kTimeMap, EcalDQMBinningService::kUser, EcalDQMBinningService::AxisSpecs::low, EcalDQMBinningService::AxisSpecs::nbins, and funct::pow().
|
private |
Definition at line 33 of file TimingTask.h.
Referenced by runOnRecHits(), and TimingTask().
|
private |
Definition at line 34 of file TimingTask.h.
Referenced by runOnRecHits(), and TimingTask().