#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 |
void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
void | beginRun (edm::Run 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 | 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_ |
edm::ESHandle< EcalTPGStripStatus > | StripStatusRcd |
std::map< uint32_t, unsigned > | towerReadouts_ |
edm::ESHandle< EcalTPGTowerStatus > | TTStatusRcd |
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 | |
bool | booked_ |
MESetCollection | MEs_ |
std::string | name_ |
bool | onlineMode_ |
Timestamp | timestamp_ |
int | verbosity_ |
bool | willConvertToEDM_ |
Definition at line 15 of file TrigPrimTask.h.
Enumerator | |
---|---|
nBXBins |
Definition at line 32 of file TrigPrimTask.h.
ecaldqm::TrigPrimTask::TrigPrimTask | ( | ) |
Definition at line 17 of file TrigPrimTask.cc.
|
inline |
Definition at line 18 of file TrigPrimTask.h.
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 45 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 58 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 68 of file TrigPrimTask.cc.
References edm::EventBase::bunchCrossing(), bxBin_, bxBinEdges_, edm::EventSetup::get(), EcalTPGStripStatus::getMap(), EcalTPGTowerStatus::getMap(), ecaldqm::DQWorker::MEs_, nBXBins, realTps_, and towerReadouts_.
|
overridevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 61 of file TrigPrimTask.cc.
References ecaldqm::DQWorker::MEs_.
|
overridevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 51 of file TrigPrimTask.cc.
References edm::EventSetup::get(), StripStatusRcd, and TTStatusRcd.
void ecaldqm::TrigPrimTask::runOnDigis | ( | DigiCollection const & | _digis | ) |
Definition at line 172 of file TrigPrimTask.cc.
References ecaldqm::getTrigTowerMap(), DetId::rawId(), and towerReadouts_.
Referenced by analyze().
void ecaldqm::TrigPrimTask::runOnEmulTPs | ( | EcalTrigPrimDigiCollection const & | _tps | ) |
Definition at line 282 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 181 of file TrigPrimTask.cc.
References edm::SortedCollection< T, SORT >::begin(), bxBin_, EcalTrigTowerConstituentsMap::constituentsOf(), EcalBarrel, EcalEndcap, edm::SortedCollection< T, SORT >::end(), ecaldqm::getElectronicsMap(), ecaldqm::getTrigTowerMap(), ecaldqm::DQWorker::MEs_, edm::ESHandle< class >::product(), realTps_, StripStatusRcd, EcalTriggerElectronicsId::tccId(), towerReadouts_, EcalTriggerElectronicsId::ttId(), and TTStatusRcd.
Referenced by analyze().
|
overrideprivatevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 32 of file TrigPrimTask.cc.
References edm::ParameterSet::getUntrackedParameter(), ecaldqm::DQWorker::MEs_, runOnEmul_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 49 of file TrigPrimTask.h.
Referenced by beginEvent(), and runOnRealTPs().
|
private |
Definition at line 48 of file TrigPrimTask.h.
Referenced by beginEvent().
|
private |
Definition at line 39 of file TrigPrimTask.h.
Referenced by beginEvent(), runOnEmulTPs(), and runOnRealTPs().
|
private |
Definition at line 41 of file TrigPrimTask.h.
Referenced by addDependencies(), analyze(), and setParams().
|
private |
Definition at line 54 of file TrigPrimTask.h.
Referenced by beginRun(), and runOnRealTPs().
|
private |
Definition at line 51 of file TrigPrimTask.h.
Referenced by beginEvent(), runOnDigis(), runOnEmulTPs(), and runOnRealTPs().
|
private |
Definition at line 53 of file TrigPrimTask.h.
Referenced by beginRun(), and runOnRealTPs().