#include <DPGAnalysis/SiStripTools/plugins/APVCyclePhaseProducerFromL1TS.cc>
Public Member Functions | |
APVCyclePhaseProducerFromL1TS (const edm::ParameterSet &) | |
~APVCyclePhaseProducerFromL1TS () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
virtual void | beginRun (const edm::Run &, const edm::EventSetup &) override |
bool | isBadRun (const unsigned int) const |
void | printConfiguration (std::stringstream &ss) const |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
std::vector< std::string > | _defpartnames |
std::vector< int > | _defphases |
edm::EDGetTokenT < Level1TriggerScalersCollection > | _l1tscollectionToken |
long long | _lastEventCounter0 |
long long | _lastHardReset |
long long | _lastOrbitCounter0 |
long long | _lastResync |
long long | _lastStart |
long long | _lastTestEnable |
int | _magicOffset |
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::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
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 m_badruns, printConfiguration(), and contentValuesCheck::ss.
APVCyclePhaseProducerFromL1TS::~APVCyclePhaseProducerFromL1TS | ( | ) |
Definition at line 136 of file APVCyclePhaseProducerFromL1TS.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 151 of file APVCyclePhaseProducerFromL1TS.cc.
References _defpartnames, _defphases, _magicOffset, _useEC0, edm::ESWatcher< T >::check(), edm::EventSetup::get(), isBadRun(), LogDebug, m_badRun, m_eswatcher, m_ignoreDB, m_rcdLabel, printConfiguration(), edm::RunBase::run(), contentValuesCheck::ss, and edmLumisInFiles::summary.
|
private |
Definition at line 271 of file APVCyclePhaseProducerFromL1TS.cc.
References m_badRun, m_badruns, and edm::second().
Referenced by beginRun(), and produce().
|
private |
Definition at line 282 of file APVCyclePhaseProducerFromL1TS.cc.
References _defpartnames, _defphases, _magicOffset, _useEC0, and m_badRun.
Referenced by APVCyclePhaseProducerFromL1TS(), and beginRun().
|
overrideprivatevirtual |
Implements edm::EDProducer.
Definition at line 187 of file APVCyclePhaseProducerFromL1TS.cc.
References _defpartnames, _defphases, _l1tscollectionToken, _lastEventCounter0, _lastHardReset, _lastOrbitCounter0, _lastResync, _lastStart, _lastTestEnable, _magicOffset, _useEC0, edm::hlt::Exception, edm::Event::getByToken(), APVCyclePhaseCollection::invalid, isBadRun(), LogDebug, edm::Event::put(), and edm::Event::run().
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 76 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by beginRun(), printConfiguration(), and produce().
|
private |
Definition at line 77 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by beginRun(), printConfiguration(), and produce().
|
private |
Definition at line 73 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by produce().
|
private |
Definition at line 87 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by produce().
|
private |
Definition at line 85 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by produce().
|
private |
Definition at line 88 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by produce().
|
private |
Definition at line 84 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by produce().
|
private |
Definition at line 86 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by produce().
|
private |
Definition at line 89 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 78 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by beginRun(), printConfiguration(), and produce().
|
private |
Definition at line 80 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by beginRun(), isBadRun(), and printConfiguration().
|
private |
Definition at line 82 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 74 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by beginRun().
|
private |
Definition at line 75 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by beginRun().