#include <TimeoutPoolOutputModule.h>
Static Public Member Functions | |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::PoolOutputModule | |
static void | fillDescription (ParameterSetDescription &desc) |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::OutputModuleBase | |
static const std::string & | baseType () |
static void | fillDescription (ParameterSetDescription &desc) |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions | |
bool | shouldWeCloseFile () const override |
allow inheriting classes to override but still be able to call this method in the overridden version More... | |
void | write (EventForOutput const &e) override |
Protected Member Functions inherited from edm::PoolOutputModule | |
virtual void | doExtrasAfterCloseFile () |
virtual std::pair< std::string, std::string > | physicalAndLogicalNameForNewFile () |
Protected Member Functions inherited from edm::one::OutputModuleBase | |
void | configure (OutputModuleDescription const &desc) |
ModuleDescription const & | description () const |
void | doBeginJob () |
bool | doBeginLuminosityBlock (LuminosityBlockPrincipal const &lbp, EventSetupImpl const &c, ModuleCallingContext const *) |
bool | doBeginRun (RunPrincipal const &rp, EventSetupImpl const &c, ModuleCallingContext const *) |
void | doEndJob () |
bool | doEndLuminosityBlock (LuminosityBlockPrincipal const &lbp, EventSetupImpl const &c, ModuleCallingContext const *) |
bool | doEndRun (RunPrincipal const &rp, EventSetupImpl const &c, ModuleCallingContext const *) |
bool | doEvent (EventPrincipal const &ep, EventSetupImpl const &c, ActivityRegistry *, ModuleCallingContext const *) |
void | doPreallocate (PreallocationConfiguration const &) |
std::map< BranchID::value_type, BranchID::value_type > const & | droppedBranchIDToKeptBranchID () |
virtual void | preallocLumis (unsigned int) |
ParameterSetID | selectorConfig () const |
void | setEventSelectionInfo (std::map< std::string, std::vector< std::pair< std::string, int >>> const &outputModulePathPositions, bool anyProductProduced) |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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) |
Private Attributes | |
unsigned int | eventsWrittenInCurrentFile |
time_t | m_lastEvent |
int | m_timeout |
Additional Inherited Members | |
Public Types inherited from edm::PoolOutputModule | |
typedef std::array< AuxItem, NumBranchTypes > | AuxItemArray |
enum | DropMetaData { DropNone, DropDroppedPrior, DropPrior, DropAll } |
typedef std::vector< OutputItem > | OutputItemList |
typedef std::array< OutputItemList, NumBranchTypes > | OutputItemListArray |
Public Types inherited from edm::one::OutputModuleBase | |
typedef OutputModuleBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Definition at line 23 of file TimeoutPoolOutputModule.h.
|
explicit |
Definition at line 13 of file TimeoutPoolOutputModule.cc.
Referenced by ~TimeoutPoolOutputModule().
|
inlineoverride |
Definition at line 26 of file TimeoutPoolOutputModule.h.
References MillePedeFileConverter_cfg::e, fillDescriptions(), operator=(), shouldWeCloseFile(), TimeoutPoolOutputModule(), and write().
|
delete |
|
static |
Definition at line 21 of file TimeoutPoolOutputModule.cc.
References edm::ConfigurationDescriptions::add(), and edm::PoolOutputModule::fillDescription().
Referenced by ~TimeoutPoolOutputModule().
|
delete |
Referenced by ~TimeoutPoolOutputModule().
|
overrideprotectedvirtual |
allow inheriting classes to override but still be able to call this method in the overridden version
Reimplemented from edm::PoolOutputModule.
Definition at line 27 of file TimeoutPoolOutputModule.cc.
References edm::PoolOutputModule::currentFileName(), eventsWrittenInCurrentFile, m_lastEvent, m_timeout, fileCollector::now, edm::PoolOutputModule::shouldWeCloseFile(), and ntuplemaker::time.
Referenced by ~TimeoutPoolOutputModule().
|
overrideprotectedvirtual |
Reimplemented from edm::PoolOutputModule.
Definition at line 8 of file TimeoutPoolOutputModule.cc.
References eventsWrittenInCurrentFile, and edm::PoolOutputModule::write().
Referenced by ~TimeoutPoolOutputModule().
|
mutableprivate |
Definition at line 38 of file TimeoutPoolOutputModule.h.
Referenced by shouldWeCloseFile(), and write().
|
mutableprivate |
Definition at line 37 of file TimeoutPoolOutputModule.h.
Referenced by shouldWeCloseFile().
|
mutableprivate |
Definition at line 39 of file TimeoutPoolOutputModule.h.
Referenced by shouldWeCloseFile().