#include <DPGAnalysis/SiStripTools/plugins/APVCyclePhaseProducerFromL1TS.cc>
Public Member Functions | |
APVCyclePhaseProducerFromL1TS (const edm::ParameterSet &) | |
~APVCyclePhaseProducerFromL1TS () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () const final |
Private Member Functions | |
void | beginRun (const edm::Run &, const edm::EventSetup &) override |
bool | isBadRun (const unsigned int) const |
void | printConfiguration (std::stringstream &ss) const |
void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
std::vector< std::string > | _defpartnames |
std::vector< int > | _defphases |
const bool | _forceSCAL |
edm::EDGetTokenT< Level1TriggerScalersCollection > | _l1tscollectionToken |
long long | _lastEventCounter0 |
long long | _lastHardReset |
long long | _lastOrbitCounter0 |
long long | _lastResync |
long long | _lastStart |
long long | _lastTestEnable |
int | _magicOffset |
edm::EDGetTokenT< TCDSRecord > | _tcdsRecordToken |
bool | _useEC0 |
bool | m_badRun |
std::vector< std::pair< unsigned int, unsigned int > > | m_badruns |
edm::ESWatcher< SiStripConfObjectRcd > | m_eswatcher |
const bool | m_ignoreDB |
const std::string | m_rcdLabel |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Description: EDproducer for APVCyclePhaseCollection which uses the configuration file to assign a phase to the run
Implementation: <Notes on="" implementation>="">
Definition at line 58 of file APVCyclePhaseProducerFromL1TS.cc.
|
explicit |
Definition at line 105 of file APVCyclePhaseProducerFromL1TS.cc.
References m_badruns, printConfiguration(), and contentValuesCheck::ss.
|
override |
Definition at line 137 of file APVCyclePhaseProducerFromL1TS.cc.
|
overrideprivate |
Definition at line 147 of file APVCyclePhaseProducerFromL1TS.cc.
References _defpartnames, _defphases, _magicOffset, _useEC0, edm::ESWatcher< T >::check(), SiStripConfObject::get(), edm::EventSetup::get(), get, isBadRun(), LogDebug, m_badRun, m_eswatcher, m_ignoreDB, m_rcdLabel, printConfiguration(), SiStripConfObject::printDebug(), edm::ESHandle< T >::product(), edm::RunBase::run(), contentValuesCheck::ss, and edmLumisInFiles::summary.
|
private |
Definition at line 299 of file APVCyclePhaseProducerFromL1TS.cc.
References m_badRun, m_badruns, writedatasetfile::run, and edm::second().
Referenced by beginRun(), and produce().
|
private |
Definition at line 310 of file APVCyclePhaseProducerFromL1TS.cc.
References _defpartnames, _defphases, _magicOffset, _useEC0, m_badRun, HLT_2018_cff::phase, and contentValuesCheck::ss.
Referenced by APVCyclePhaseProducerFromL1TS(), and beginRun().
|
overrideprivate |
Definition at line 180 of file APVCyclePhaseProducerFromL1TS.cc.
References _defpartnames, _defphases, _forceSCAL, _l1tscollectionToken, _lastEventCounter0, _lastHardReset, _lastOrbitCounter0, _lastResync, _lastStart, _lastTestEnable, _magicOffset, _tcdsRecordToken, _useEC0, Exception, iEvent, APVCyclePhaseCollection::invalid, isBadRun(), edm::HandleBase::isValid(), LogDebug, eostools::move(), phases, and edm::Handle< T >::product().
|
private |
Definition at line 77 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by beginRun(), printConfiguration(), and produce().
|
private |
Definition at line 78 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by beginRun(), printConfiguration(), and produce().
|
private |
Definition at line 82 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by produce().
|
private |
Definition at line 73 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by produce().
|
private |
Definition at line 89 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by produce().
|
private |
Definition at line 87 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by produce().
|
private |
Definition at line 90 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by produce().
|
private |
Definition at line 86 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by produce().
|
private |
Definition at line 88 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by produce().
|
private |
Definition at line 91 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by produce().
|
private |
Definition at line 80 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by beginRun(), printConfiguration(), and produce().
|
private |
Definition at line 74 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by produce().
|
private |
Definition at line 79 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by beginRun(), printConfiguration(), and produce().
|
private |
Definition at line 81 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by beginRun(), isBadRun(), and printConfiguration().
|
private |
Definition at line 84 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by APVCyclePhaseProducerFromL1TS(), and isBadRun().
|
private |
Definition at line 72 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by beginRun().
|
private |
Definition at line 75 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by beginRun().
|
private |
Definition at line 76 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by beginRun().