Public Member Functions | |
void | analyze (const edm::Event &evt, const edm::EventSetup &evtSetup) override |
void | endJob () override |
SiStripDetVOffHandler (const edm::ParameterSet &iConfig) | |
~SiStripDetVOffHandler () override | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
~EDAnalyzer () override | |
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 Attributes | |
std::string | m_condDb |
cond::persistency::ConnectionPool | m_connectionPool |
std::string | m_localCondDbFile |
std::string | m_targetTag |
int | maxTimeBeforeNewIOV_ |
edm::Service< SiStripDetVOffBuilder > | modHVBuilder |
std::vector< std::pair< SiStripDetVOff *, cond::Time_t > > | newPayloads |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
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) |
Definition at line 15 of file SiStripDetVOffHandler.cc.
|
explicit |
Definition at line 34 of file SiStripDetVOffHandler.cc.
References cond::persistency::ConnectionPool::configure(), edm::ParameterSet::getParameter(), m_condDb, m_connectionPool, m_localCondDbFile, and cond::persistency::ConnectionPool::setParameters().
|
override |
Definition at line 46 of file SiStripDetVOffHandler.cc.
|
override |
Definition at line 49 of file SiStripDetVOffHandler.cc.
References SiStripDetVOffBuilder::BuildDetVOffObj(), cond::persistency::Transaction::commit(), cond::persistency::Session::createIov(), cond::persistency::ConnectionPool::createSession(), cond::persistency::Session::editIov(), cond::persistency::Session::existsDatabase(), cond::persistency::Session::existsIov(), cond::persistency::Session::fetchPayload(), cond::persistency::IOVEditor::flush(), cond::persistency::IOVProxy::getLast(), SiStripDetVOffBuilder::getModulesVOff(), cond::persistency::IOVEditor::insert(), m_condDb, m_connectionPool, m_localCondDbFile, m_targetTag, maxTimeBeforeNewIOV_, modHVBuilder, newPayloads, jets_cff::payload, cond::Iov_t::payloadId, cond::persistency::Session::readIov(), edm::second(), cond::persistency::IOVEditor::setDescription(), SiStripDetVOffBuilder::setLastSiStripDetVOff(), cond::Iov_t::since, cond::persistency::Transaction::start(), cond::persistency::Session::storePayload(), cond::timestamp, cond::time::to_boost(), and cond::persistency::Session::transaction().
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 131 of file SiStripDetVOffHandler.cc.
Referenced by o2olib.O2ORunMgr::executeJob().
|
private |
Definition at line 24 of file SiStripDetVOffHandler.cc.
Referenced by analyze(), and SiStripDetVOffHandler().
|
private |
Definition at line 23 of file SiStripDetVOffHandler.cc.
Referenced by analyze(), and SiStripDetVOffHandler().
|
private |
Definition at line 25 of file SiStripDetVOffHandler.cc.
Referenced by analyze(), and SiStripDetVOffHandler().
|
private |
Definition at line 26 of file SiStripDetVOffHandler.cc.
Referenced by analyze().
|
private |
Definition at line 28 of file SiStripDetVOffHandler.cc.
Referenced by analyze().
|
private |
Definition at line 31 of file SiStripDetVOffHandler.cc.
Referenced by analyze().
|
private |
Definition at line 30 of file SiStripDetVOffHandler.cc.
Referenced by analyze().