#include <DPGAnalysis/SiStripTools/plugins/APVCyclePhaseProducerFromL1ABC.cc>
Public Member Functions | |
APVCyclePhaseProducerFromL1ABC (const edm::ParameterSet &) | |
~APVCyclePhaseProducerFromL1ABC () | |
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) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Member Functions | |
virtual void | beginJob () override |
virtual void | beginRun (const edm::Run &, const edm::EventSetup &) override |
virtual void | endJob () override |
virtual void | endRun (const edm::Run &, const edm::EventSetup &) override |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
edm::EventNumber_t | _curroffevent |
long long | _curroffset |
const std::vector< std::string > | _defpartnames |
const std::vector< int > | _defphases |
const unsigned int | _firstgoodrun |
TH1F ** | _hbx |
TH1F ** | _hdbx |
TH1F ** | _hdorbit |
edm::EDGetTokenT< L1AcceptBunchCrossingCollection > | _l1abccollectionToken |
std::map< edm::EventNumber_t, long long > | _offsets |
const int | _orbitoffsetSOR |
const bool | _wantHistos |
RunHistogramManager | m_rhm |
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 54 of file APVCyclePhaseProducerFromL1ABC.cc.
|
explicit |
Definition at line 98 of file APVCyclePhaseProducerFromL1ABC.cc.
References _hbx, _hdbx, _hdorbit, _wantHistos, m_rhm, and RunHistogramManager::makeTH1F().
APVCyclePhaseProducerFromL1ABC::~APVCyclePhaseProducerFromL1ABC | ( | ) |
Definition at line 123 of file APVCyclePhaseProducerFromL1ABC.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 287 of file APVCyclePhaseProducerFromL1ABC.cc.
|
overrideprivatevirtual |
Definition at line 138 of file APVCyclePhaseProducerFromL1ABC.cc.
References _firstgoodrun, _hbx, _hdbx, _hdorbit, _offsets, _wantHistos, RunHistogramManager::beginRun(), m_rhm, and edm::RunBase::run().
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 293 of file APVCyclePhaseProducerFromL1ABC.cc.
References DEFINE_FWK_MODULE.
|
overrideprivatevirtual |
Definition at line 174 of file APVCyclePhaseProducerFromL1ABC.cc.
References _offsets, and PFRecoTauDiscriminationByIsolation_cfi::offset.
|
overrideprivatevirtual |
Definition at line 187 of file APVCyclePhaseProducerFromL1ABC.cc.
References _curroffevent, _curroffset, _defpartnames, _defphases, _firstgoodrun, _hbx, _hdbx, _hdorbit, _l1abccollectionToken, _offsets, _orbitoffsetSOR, _wantHistos, edm::EventBase::bunchCrossing(), edm::EventID::event(), Exception, edm::Event::getByToken(), edm::EventBase::id(), eostools::move(), edm::EventBase::orbitNumber(), phases, edm::Event::put(), and edm::Event::run().
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 82 of file APVCyclePhaseProducerFromL1ABC.cc.
Referenced by produce().
|
private |
Definition at line 81 of file APVCyclePhaseProducerFromL1ABC.cc.
Referenced by produce().
|
private |
Definition at line 69 of file APVCyclePhaseProducerFromL1ABC.cc.
Referenced by produce().
|
private |
Definition at line 70 of file APVCyclePhaseProducerFromL1ABC.cc.
Referenced by produce().
|
private |
Definition at line 79 of file APVCyclePhaseProducerFromL1ABC.cc.
Referenced by beginRun(), and produce().
|
private |
Definition at line 76 of file APVCyclePhaseProducerFromL1ABC.cc.
Referenced by APVCyclePhaseProducerFromL1ABC(), beginRun(), and produce().
|
private |
Definition at line 77 of file APVCyclePhaseProducerFromL1ABC.cc.
Referenced by APVCyclePhaseProducerFromL1ABC(), beginRun(), and produce().
|
private |
Definition at line 78 of file APVCyclePhaseProducerFromL1ABC.cc.
Referenced by APVCyclePhaseProducerFromL1ABC(), beginRun(), and produce().
|
private |
Definition at line 68 of file APVCyclePhaseProducerFromL1ABC.cc.
Referenced by produce().
|
private |
Definition at line 80 of file APVCyclePhaseProducerFromL1ABC.cc.
Referenced by beginRun(), endRun(), and produce().
|
private |
Definition at line 71 of file APVCyclePhaseProducerFromL1ABC.cc.
Referenced by produce().
|
private |
Definition at line 72 of file APVCyclePhaseProducerFromL1ABC.cc.
Referenced by APVCyclePhaseProducerFromL1ABC(), beginRun(), and produce().
|
private |
Definition at line 74 of file APVCyclePhaseProducerFromL1ABC.cc.
Referenced by APVCyclePhaseProducerFromL1ABC(), and beginRun().