#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 ()(false) |
Private Member Functions | |
void | setParams (edm::ParameterSet const &) override |
Private Attributes | |
double | bxBin_ |
std::array< int, nBXBins+1 > | bxBinEdges_ |
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.
References bxBin_, and towerReadouts_.
|
inline |
Definition at line 18 of file TrigPrimTask.h.
References addDependencies(), analyze(), beginEvent(), beginLuminosityBlock(), beginRun(), runOnDigis(), runOnEmulTPs(), and runOnRealTPs().
|
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_.
Referenced by ~TrigPrimTask().
|
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().
Referenced by ~TrigPrimTask().
|
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_, edm::ESHandle< T >::product(), realTps_, and towerReadouts_.
Referenced by ~TrigPrimTask().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 61 of file TrigPrimTask.cc.
References ecaldqm::DQWorker::MEs_.
Referenced by ~TrigPrimTask().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 51 of file TrigPrimTask.cc.
References edm::EventSetup::get(), StripStatusRcd, and TTStatusRcd.
Referenced by ~TrigPrimTask().
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(), and ~TrigPrimTask().
void ecaldqm::TrigPrimTask::runOnEmulTPs | ( | EcalTrigPrimDigiCollection const & | _tps | ) |
Definition at line 282 of file TrigPrimTask.cc.
References edm::SortedCollection< T, SORT >::begin(), EcalTrigTowerConstituentsMap::constituentsOf(), DEFINE_ECALDQM_WORKER, edm::SortedCollection< T, SORT >::end(), stringResolutionProvider_cfi::et, edm::SortedCollection< T, SORT >::find(), ecaldqm::getTrigTowerMap(), match(), ecaldqm::DQWorker::MEs_, realTps_, and towerReadouts_.
Referenced by analyze(), and ~TrigPrimTask().
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(), stringResolutionProvider_cfi::et, ecaldqm::getElectronicsMap(), ecaldqm::getTrigTowerMap(), ecaldqm::DQWorker::MEs_, edm::ESHandle< T >::product(), realTps_, StripStatusRcd, EcalTriggerElectronicsId::tccId(), towerReadouts_, EcalTriggerElectronicsId::ttId(), and TTStatusRcd.
Referenced by analyze(), and ~TrigPrimTask().
|
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(), runOnRealTPs(), and TrigPrimTask().
|
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(), runOnRealTPs(), and TrigPrimTask().
|
private |
Definition at line 53 of file TrigPrimTask.h.
Referenced by beginRun(), and runOnRealTPs().