#include <TrigPrimTask.h>
Public Types | |
enum | Constants { nBXBins = 15 } |
Public Types inherited from ecaldqm::DQWorkerTask | |
typedef EcalDCCHeaderBlock::EcalDCCEventSettings | EventSettings |
Public Member Functions | |
void | addDependencies (DependencySet &) override |
bool | analyze (void const *, Collections) override |
void | beginEvent (edm::Event const &, edm::EventSetup const &) override |
template<typename DigiCollection > | |
void | runOnDigis (DigiCollection const &) |
void | runOnEmulTPs (EcalTrigPrimDigiCollection const &) |
void | runOnRealTPs (EcalTrigPrimDigiCollection const &) |
TrigPrimTask () | |
~TrigPrimTask () | |
Public Member Functions inherited from ecaldqm::DQWorkerTask | |
DQWorkerTask () | |
virtual void | endEvent (edm::Event const &, edm::EventSetup const &) |
virtual bool | filterRunType (short const *) |
virtual bool | filterTrigger (edm::TriggerResultsByName const &) |
void | recoverStats () |
virtual void | setTokens (edm::ConsumesCollector &) |
void | softReset () |
virtual | ~DQWorkerTask () |
Public Member Functions inherited from ecaldqm::DQWorker | |
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
virtual void | beginRun (edm::Run const &, edm::EventSetup const &) |
virtual void | bookMEs (DQMStore &) |
virtual void | bookMEs (DQMStore::IBooker &) |
DQWorker () | |
virtual void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
virtual void | endRun (edm::Run const &, edm::EventSetup const &) |
std::string const & | getName () const |
bool | onlineMode () const |
virtual void | releaseMEs () |
void | setEventNumber (edm::EventNumber_t _e) |
void | setLumiNumber (edm::LuminosityBlockNumber_t _l) |
void | setRunNumber (edm::RunNumber_t _r) |
void | setTime (time_t _t) |
virtual | ~DQWorker () |
Private Member Functions | |
void | setParams (edm::ParameterSet const &) override |
Private Attributes | |
double | bxBin_ |
int | bxBinEdges_ [nBXBins+1] |
EcalTrigPrimDigiCollection const * | realTps_ |
bool | runOnEmul_ |
std::map< uint32_t, unsigned > | towerReadouts_ |
Additional Inherited Members | |
Static Public Member Functions inherited from ecaldqm::DQWorkerTask | |
static void | fillDescriptions (edm::ParameterSetDescription &) |
Static Public Member Functions inherited from ecaldqm::DQWorker | |
static void | fillDescriptions (edm::ParameterSetDescription &_desc) |
Protected Member Functions inherited from ecaldqm::DQWorkerTask | |
void | setME (edm::ParameterSet const &) final |
Protected Member Functions inherited from ecaldqm::DQWorker | |
void | initialize (std::string const &_name, edm::ParameterSet const &) |
void | print_ (std::string const &, int=0) const |
virtual void | setSource (edm::ParameterSet const &) |
void | setVerbosity (int _verbosity) |
Protected Attributes inherited from ecaldqm::DQWorkerTask | |
std::set< std::string > | resettable_ |
Protected Attributes inherited from ecaldqm::DQWorker | |
MESetCollection | MEs_ |
std::string | name_ |
bool | onlineMode_ |
Timestamp | timestamp_ |
int | verbosity_ |
bool | willConvertToEDM_ |
Definition at line 10 of file TrigPrimTask.h.
Enumerator | |
---|---|
nBXBins |
Definition at line 25 of file TrigPrimTask.h.
ecaldqm::TrigPrimTask::TrigPrimTask | ( | ) |
Definition at line 14 of file TrigPrimTask.cc.
|
inline |
Definition at line 13 of file TrigPrimTask.h.
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 42 of file TrigPrimTask.cc.
References ecaldqm::kEBDigi, ecaldqm::kEEDigi, ecaldqm::kTrigPrimDigi, ecaldqm::kTrigPrimEmulDigi, ecaldqm::DependencySet::push_back(), and runOnEmul_.
|
inlineoverridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 47 of file TrigPrimTask.h.
References ecaldqm::kEBDigi, ecaldqm::kEEDigi, ecaldqm::kTrigPrimDigi, ecaldqm::kTrigPrimEmulDigi, runOnDigis(), runOnEmul_, runOnEmulTPs(), and runOnRealTPs().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 48 of file TrigPrimTask.cc.
References edm::EventBase::bunchCrossing(), bxBin_, bxBinEdges_, nBXBins, realTps_, and towerReadouts_.
void ecaldqm::TrigPrimTask::runOnDigis | ( | DigiCollection const & | _digis | ) |
Definition at line 120 of file TrigPrimTask.cc.
References ecaldqm::getTrigTowerMap(), DetId::rawId(), and towerReadouts_.
Referenced by analyze().
void ecaldqm::TrigPrimTask::runOnEmulTPs | ( | EcalTrigPrimDigiCollection const & | _tps | ) |
Definition at line 192 of file TrigPrimTask.cc.
References edm::SortedCollection< T, SORT >::begin(), EcalTrigTowerConstituentsMap::constituentsOf(), edm::SortedCollection< T, SORT >::end(), edm::SortedCollection< T, SORT >::find(), ecaldqm::getTrigTowerMap(), match(), ecaldqm::DQWorker::MEs_, realTps_, and towerReadouts_.
Referenced by analyze().
void ecaldqm::TrigPrimTask::runOnRealTPs | ( | EcalTrigPrimDigiCollection const & | _tps | ) |
Definition at line 129 of file TrigPrimTask.cc.
References edm::SortedCollection< T, SORT >::begin(), bxBin_, EcalTrigTowerConstituentsMap::constituentsOf(), EcalBarrel, EcalEndcap, edm::SortedCollection< T, SORT >::end(), ecaldqm::getTrigTowerMap(), ecaldqm::DQWorker::MEs_, realTps_, and towerReadouts_.
Referenced by analyze().
|
overrideprivatevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 29 of file TrigPrimTask.cc.
References edm::ParameterSet::getUntrackedParameter(), ecaldqm::DQWorker::MEs_, runOnEmul_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 42 of file TrigPrimTask.h.
Referenced by beginEvent(), and runOnRealTPs().
|
private |
Definition at line 41 of file TrigPrimTask.h.
Referenced by beginEvent().
|
private |
Definition at line 32 of file TrigPrimTask.h.
Referenced by beginEvent(), runOnEmulTPs(), and runOnRealTPs().
|
private |
Definition at line 34 of file TrigPrimTask.h.
Referenced by addDependencies(), analyze(), and setParams().
|
private |
Definition at line 44 of file TrigPrimTask.h.
Referenced by beginEvent(), runOnDigis(), runOnEmulTPs(), and runOnRealTPs().