#include <DPGAnalysis/SiStripTools/plugins/APVCyclePhaseProducerFromL1TS.cc>
Public Member Functions | |
APVCyclePhaseProducerFromL1TS (const edm::ParameterSet &) | |
~APVCyclePhaseProducerFromL1TS () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
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 | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
virtual void | beginJob () |
virtual void | beginRun (const edm::Run &, const edm::EventSetup &) override |
virtual void | endJob () |
bool | isBadRun (const unsigned int) const |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
const std::vector< std::string > | _defpartnames |
const std::vector< int > | _defphases |
TH1F ** | _hdlec0lresync |
TH1F ** | _hdlresynclHR |
TH1F ** | _hlEC0 |
TH1F ** | _hlHR |
TH1F ** | _hlOC0 |
TH1F ** | _hlresync |
TH1F ** | _hlstart |
TH1F ** | _hlTE |
TH1F ** | _hsize |
const edm::InputTag | _l1tscollection |
long long | _lastEventCounter0 |
long long | _lastHardReset |
long long | _lastOrbitCounter0 |
long long | _lastResync |
long long | _lastStart |
long long | _lastTestEnable |
const int | _magicOffset |
const bool | _useEC0 |
const bool | _wantHistos |
std::vector< std::pair < unsigned int, unsigned int > > | m_badruns |
const unsigned int | m_LSfrac |
const unsigned int | m_maxLS |
RunHistogramManager | m_rhm |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
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::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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 55 of file APVCyclePhaseProducerFromL1TS.cc.
|
explicit |
Definition at line 116 of file APVCyclePhaseProducerFromL1TS.cc.
References _hdlec0lresync, _hdlresynclHR, _hlEC0, _hlHR, _hlOC0, _hlresync, _hlstart, _hlTE, _hsize, _wantHistos, m_badruns, m_LSfrac, m_maxLS, m_rhm, and RunHistogramManager::makeTH1F().
APVCyclePhaseProducerFromL1TS::~APVCyclePhaseProducerFromL1TS | ( | ) |
Definition at line 157 of file APVCyclePhaseProducerFromL1TS.cc.
|
privatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 329 of file APVCyclePhaseProducerFromL1TS.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 172 of file APVCyclePhaseProducerFromL1TS.cc.
References _hdlec0lresync, _hdlresynclHR, _hlEC0, _hlHR, _hlOC0, _hlresync, _hlstart, _hlTE, _wantHistos, RunHistogramManager::beginRun(), isBadRun(), LogDebug, m_rhm, and edm::RunBase::run().
|
privatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 335 of file APVCyclePhaseProducerFromL1TS.cc.
|
private |
Definition at line 339 of file APVCyclePhaseProducerFromL1TS.cc.
References m_badruns, and edm::second().
Referenced by beginRun(), and produce().
|
overrideprivatevirtual |
Implements edm::EDProducer.
Definition at line 231 of file APVCyclePhaseProducerFromL1TS.cc.
References _defpartnames, _defphases, _hdlec0lresync, _hdlresynclHR, _hlEC0, _hlHR, _hlOC0, _hlresync, _hlstart, _hlTE, _hsize, _l1tscollection, _lastEventCounter0, _lastHardReset, _lastOrbitCounter0, _lastResync, _lastStart, _lastTestEnable, _magicOffset, _useEC0, _wantHistos, edm::hlt::Exception, edm::Event::getByLabel(), 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 71 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by produce().
|
private |
Definition at line 72 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by produce().
|
private |
Definition at line 89 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by APVCyclePhaseProducerFromL1TS(), beginRun(), and produce().
|
private |
Definition at line 90 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by APVCyclePhaseProducerFromL1TS(), beginRun(), and produce().
|
private |
Definition at line 86 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by APVCyclePhaseProducerFromL1TS(), beginRun(), and produce().
|
private |
Definition at line 87 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by APVCyclePhaseProducerFromL1TS(), beginRun(), and produce().
|
private |
Definition at line 83 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by APVCyclePhaseProducerFromL1TS(), beginRun(), and produce().
|
private |
Definition at line 82 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by APVCyclePhaseProducerFromL1TS(), beginRun(), and produce().
|
private |
Definition at line 85 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by APVCyclePhaseProducerFromL1TS(), beginRun(), and produce().
|
private |
Definition at line 84 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by APVCyclePhaseProducerFromL1TS(), beginRun(), and produce().
|
private |
Definition at line 81 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by APVCyclePhaseProducerFromL1TS(), and produce().
|
private |
Definition at line 70 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by produce().
|
private |
Definition at line 97 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by produce().
|
private |
Definition at line 95 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by produce().
|
private |
Definition at line 98 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by produce().
|
private |
Definition at line 94 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by produce().
|
private |
Definition at line 96 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by produce().
|
private |
Definition at line 99 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by produce().
|
private |
Definition at line 75 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by produce().
|
private |
Definition at line 74 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by produce().
|
private |
Definition at line 73 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by APVCyclePhaseProducerFromL1TS(), beginRun(), and produce().
|
private |
Definition at line 92 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by APVCyclePhaseProducerFromL1TS(), and isBadRun().
|
private |
Definition at line 77 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by APVCyclePhaseProducerFromL1TS().
|
private |
Definition at line 76 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by APVCyclePhaseProducerFromL1TS().
|
private |
Definition at line 79 of file APVCyclePhaseProducerFromL1TS.cc.
Referenced by APVCyclePhaseProducerFromL1TS(), and beginRun().