#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 &) |
void | setTokens (edm::ConsumesCollector &) override |
TrigPrimTask () | |
~TrigPrimTask () override | |
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 &) |
~DQWorkerTask () override | |
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_ |
edm::InputTag | lhcStatusInfoCollectionTag_ |
edm::EDGetTokenT< TCDSRecord > | lhcStatusInfoRecordToken_ |
bool | lhcStatusSet_ |
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 Types inherited from ecaldqm::DQWorker | |
typedef dqm::legacy::DQMStore | DQMStore |
typedef dqm::legacy::MonitorElement | MonitorElement |
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::DQWorker | |
bool | booked_ |
MESetCollection | MEs_ |
std::string | name_ |
bool | onlineMode_ |
Timestamp | timestamp_ |
int | verbosity_ |
bool | willConvertToEDM_ |
Definition at line 19 of file TrigPrimTask.h.
ecaldqm::TrigPrimTask::TrigPrimTask | ( | ) |
Definition at line 16 of file TrigPrimTask.cc.
References bxBin_, lhcStatusInfoCollectionTag_, lhcStatusSet_, and towerReadouts_.
|
inlineoverride |
Definition at line 22 of file TrigPrimTask.h.
References addDependencies(), analyze(), beginEvent(), beginLuminosityBlock(), beginRun(), siStripShotFilter_cfi::DigiCollection, runOnDigis(), runOnEmulTPs(), runOnRealTPs(), and setTokens().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 43 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 66 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 66 of file TrigPrimTask.cc.
References edm::EventBase::bunchCrossing(), bxBin_, bxBinEdges_, ecaldqm::MESet::fill(), edm::EventSetup::get(), BSTRecord::getBeamMode(), TCDSRecord::getBST(), edm::Event::getByToken(), EcalTPGTowerStatus::getMap(), EcalTPGStripStatus::getMap(), edm::HandleBase::isValid(), lhcStatusInfoRecordToken_, lhcStatusSet_, ecaldqm::DQWorker::MEs_, muonRecoAnalyzer_cfi::pBin, edm::ESHandle< T >::product(), realTps_, and towerReadouts_.
Referenced by ~TrigPrimTask().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 56 of file TrigPrimTask.cc.
References lhcStatusSet_, and ecaldqm::DQWorker::MEs_.
Referenced by ~TrigPrimTask().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 48 of file TrigPrimTask.cc.
References edm::EventSetup::get(), StripStatusRcd, and TTStatusRcd.
Referenced by ~TrigPrimTask().
void ecaldqm::TrigPrimTask::runOnDigis | ( | DigiCollection const & | _digis | ) |
Definition at line 175 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 287 of file TrigPrimTask.cc.
References edm::SortedCollection< T, SORT >::begin(), EcalTrigTowerConstituentsMap::constituentsOf(), DEFINE_ECALDQM_WORKER, edm::SortedCollection< T, SORT >::end(), EgHLTOffHistBins_cfi::et, edm::SortedCollection< T, SORT >::find(), ecaldqm::getTrigTowerMap(), match(), heavyionUCCDQM_cfi::maxEt, ecaldqm::DQWorker::MEs_, realTps_, and towerReadouts_.
Referenced by analyze(), and ~TrigPrimTask().
void ecaldqm::TrigPrimTask::runOnRealTPs | ( | EcalTrigPrimDigiCollection const & | _tps | ) |
Definition at line 186 of file TrigPrimTask.cc.
References edm::SortedCollection< T, SORT >::begin(), bxBin_, EcalTrigTowerConstituentsMap::constituentsOf(), EcalBarrel, EcalEndcap, edm::SortedCollection< T, SORT >::end(), EgHLTOffHistBins_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 30 of file TrigPrimTask.cc.
References edm::ParameterSet::getUntrackedParameter(), HLT_2018_cff::InputTag, lhcStatusInfoCollectionTag_, ecaldqm::DQWorker::MEs_, runOnEmul_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 182 of file TrigPrimTask.cc.
References edm::ConsumesCollector::consumes(), lhcStatusInfoCollectionTag_, and lhcStatusInfoRecordToken_.
Referenced by ~TrigPrimTask().
|
private |
Definition at line 54 of file TrigPrimTask.h.
Referenced by beginEvent(), runOnRealTPs(), and TrigPrimTask().
|
private |
Definition at line 53 of file TrigPrimTask.h.
Referenced by beginEvent().
|
private |
Definition at line 61 of file TrigPrimTask.h.
Referenced by setParams(), setTokens(), and TrigPrimTask().
|
private |
Definition at line 62 of file TrigPrimTask.h.
Referenced by beginEvent(), and setTokens().
|
private |
Definition at line 63 of file TrigPrimTask.h.
Referenced by beginEvent(), beginLuminosityBlock(), and TrigPrimTask().
|
private |
Definition at line 44 of file TrigPrimTask.h.
Referenced by beginEvent(), runOnEmulTPs(), and runOnRealTPs().
|
private |
Definition at line 46 of file TrigPrimTask.h.
Referenced by addDependencies(), analyze(), and setParams().
|
private |
Definition at line 59 of file TrigPrimTask.h.
Referenced by beginRun(), and runOnRealTPs().
|
private |
Definition at line 56 of file TrigPrimTask.h.
Referenced by beginEvent(), runOnDigis(), runOnEmulTPs(), runOnRealTPs(), and TrigPrimTask().
|
private |
Definition at line 58 of file TrigPrimTask.h.
Referenced by beginRun(), and runOnRealTPs().