#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 () | |
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 () |
void | softReset () |
~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 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 19 of file TrigPrimTask.h.
Enumerator | |
---|---|
nBXBins |
Definition at line 38 of file TrigPrimTask.h.
ecaldqm::TrigPrimTask::TrigPrimTask | ( | ) |
Definition at line 17 of file TrigPrimTask.cc.
References bxBin_, lhcStatusInfoCollectionTag_, lhcStatusSet_, and towerReadouts_.
|
inline |
Definition at line 22 of file TrigPrimTask.h.
References addDependencies(), analyze(), beginEvent(), beginLuminosityBlock(), beginRun(), runOnDigis(), runOnEmulTPs(), runOnRealTPs(), and setTokens().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 48 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 68 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 76 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_, edm::ESHandle< T >::product(), realTps_, towerReadouts_, and pfDeepBoostedJetPreprocessParams_cfi::upper_bound.
Referenced by ~TrigPrimTask().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 64 of file TrigPrimTask.cc.
References lhcStatusSet_, and ecaldqm::DQWorker::MEs_.
Referenced by ~TrigPrimTask().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 54 of file TrigPrimTask.cc.
References edm::EventSetup::get(), StripStatusRcd, and TTStatusRcd.
Referenced by ~TrigPrimTask().
void ecaldqm::TrigPrimTask::runOnDigis | ( | DigiCollection const & | _digis | ) |
Definition at line 191 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 309 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 206 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 34 of file TrigPrimTask.cc.
References edm::ParameterSet::getUntrackedParameter(), lhcStatusInfoCollectionTag_, ecaldqm::DQWorker::MEs_, runOnEmul_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 200 of file TrigPrimTask.cc.
References edm::ConsumesCollector::consumes(), lhcStatusInfoCollectionTag_, and lhcStatusInfoRecordToken_.
Referenced by ~TrigPrimTask().
|
private |
Definition at line 55 of file TrigPrimTask.h.
Referenced by beginEvent(), runOnRealTPs(), and TrigPrimTask().
|
private |
Definition at line 54 of file TrigPrimTask.h.
Referenced by beginEvent().
|
private |
Definition at line 62 of file TrigPrimTask.h.
Referenced by setParams(), setTokens(), and TrigPrimTask().
|
private |
Definition at line 63 of file TrigPrimTask.h.
Referenced by beginEvent(), and setTokens().
|
private |
Definition at line 64 of file TrigPrimTask.h.
Referenced by beginEvent(), beginLuminosityBlock(), and TrigPrimTask().
|
private |
Definition at line 45 of file TrigPrimTask.h.
Referenced by beginEvent(), runOnEmulTPs(), and runOnRealTPs().
|
private |
Definition at line 47 of file TrigPrimTask.h.
Referenced by addDependencies(), analyze(), and setParams().
|
private |
Definition at line 60 of file TrigPrimTask.h.
Referenced by beginRun(), and runOnRealTPs().
|
private |
Definition at line 57 of file TrigPrimTask.h.
Referenced by beginEvent(), runOnDigis(), runOnEmulTPs(), runOnRealTPs(), and TrigPrimTask().
|
private |
Definition at line 59 of file TrigPrimTask.h.
Referenced by beginRun(), and runOnRealTPs().