#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 | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
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 | |
edm::ESGetToken< SiStripConfObject, SiStripConfObjectRcd > | _confObjectToken |
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 |
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > | _tTopoToken |
bool | _useEC0 |
bool | m_badRun |
std::vector< std::pair< unsigned int, unsigned int > > | m_badruns |
edm::ESWatcher< SiStripConfObjectRcd > | m_eswatcher |
const bool | m_ignoreDB |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::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 106 of file APVCyclePhaseProducerFromL1TS.cc.
References edm::ParameterSet::getUntrackedParameter(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 143 of file APVCyclePhaseProducerFromL1TS.cc.
|
overrideprivate |
Definition at line 153 of file APVCyclePhaseProducerFromL1TS.cc.
References _confObjectToken, _defpartnames, _defphases, _magicOffset, _tTopoToken, _useEC0, edm::ESWatcher< T >::check(), edm::EventSetup::getData(), isBadRun(), LogDebug, m_badRun, m_eswatcher, m_ignoreDB, printConfiguration(), edm::RunBase::run(), contentValuesCheck::ss, and edmLumisInFiles::summary.
|
private |
Definition at line 301 of file APVCyclePhaseProducerFromL1TS.cc.
References m_badRun, m_badruns, writedatasetfile::run, edm::second(), and trackerHitRTTI::vector.
Referenced by beginRun(), and produce().
|
private |
Definition at line 312 of file APVCyclePhaseProducerFromL1TS.cc.
References _defpartnames, _defphases, _magicOffset, _useEC0, m_badRun, and contentValuesCheck::ss.
Referenced by beginRun().
|
overrideprivate |
Definition at line 182 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(), configurableapvcyclephaseproducer_CRAFT08_cfi::phases, edm::Handle< T >::product(), and BeamMonitor_cff::tcdsRecord.
|
private |
Definition at line 76 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by beginRun().
|
private |
Definition at line 78 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by beginRun(), printConfiguration(), and produce().
|
private |
Definition at line 79 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by beginRun(), printConfiguration(), and produce().
|
private |
Definition at line 83 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by produce().
|
private |
Definition at line 74 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by produce().
|
private |
Definition at line 90 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 87 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by produce().
|
private |
Definition at line 89 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by produce().
|
private |
Definition at line 92 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by produce().
|
private |
Definition at line 81 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by beginRun(), printConfiguration(), and produce().
|
private |
Definition at line 75 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by produce().
|
private |
Definition at line 77 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by beginRun().
|
private |
Definition at line 80 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by beginRun(), printConfiguration(), and produce().
|
private |
Definition at line 82 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by beginRun(), isBadRun(), and printConfiguration().
|
private |
Definition at line 85 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by isBadRun().
|
private |
Definition at line 73 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by beginRun().
|
private |
Definition at line 72 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by beginRun().