#include <PoolOutputModule.h>
Classes | |
struct | AuxItem |
struct | OutputItem |
struct | SpecialSplitLevelForBranch |
Public Types | |
using | AuxItemArray = std::array< AuxItem, numberOfRunLumiEventProductTrees > |
enum | DropMetaData { DropNone, DropDroppedPrior, DropPrior, DropAll } |
using | OutputItemList = std::vector< OutputItem > |
Public Types inherited from edm::one::OutputModuleBase | |
typedef OutputModuleBase | ModuleType |
Public Types inherited from edm::core::OutputModuleCore | |
typedef OutputModuleCore | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions | |
static void | fillDescription (ParameterSetDescription &desc) |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::core::OutputModuleCore | |
static const std::string & | baseType () |
static void | fillDescription (ParameterSetDescription &desc, std::vector< std::string > const &iDefaultOutputCommands=ProductSelectorRules::defaultSelectionStrings()) |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions | |
virtual void | doExtrasAfterCloseFile () |
virtual std::pair< std::string, std::string > | physicalAndLogicalNameForNewFile () |
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::one::OutputModuleBase | |
void | configure (OutputModuleDescription const &desc) |
void | doBeginJob () |
bool | doEvent (EventTransitionInfo const &, ActivityRegistry *, ModuleCallingContext const *) |
void | doPreallocate (PreallocationConfiguration const &) |
Protected Member Functions inherited from edm::core::OutputModuleCore | |
void | configure (OutputModuleDescription const &desc) |
ModuleDescription const & | description () const |
void | doAccessInputProcessBlock (ProcessBlockPrincipal const &, ModuleCallingContext const *) |
void | doBeginJob_ () |
bool | doBeginLuminosityBlock (LumiTransitionInfo const &, ModuleCallingContext const *) |
void | doBeginProcessBlock (ProcessBlockPrincipal const &, ModuleCallingContext const *) |
bool | doBeginRun (RunTransitionInfo const &, ModuleCallingContext const *) |
void | doEndJob () |
bool | doEndLuminosityBlock (LumiTransitionInfo const &, ModuleCallingContext const *) |
void | doEndProcessBlock (ProcessBlockPrincipal const &, ModuleCallingContext const *) |
bool | doEndRun (RunTransitionInfo const &, ModuleCallingContext const *) |
bool | doEvent_ (EventTransitionInfo const &, 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) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Private Types | |
using | BranchParents = std::map< BranchID, std::set< ParentageID > > |
Additional Inherited Members | |
Protected Attributes inherited from edm::core::OutputModuleCore | |
std::atomic< int > | remainingEvents_ |
Definition at line 41 of file PoolOutputModule.h.
using edm::PoolOutputModule::AuxItemArray = std::array<AuxItem, numberOfRunLumiEventProductTrees> |
Definition at line 80 of file PoolOutputModule.h.
|
private |
Definition at line 162 of file PoolOutputModule.h.
using edm::PoolOutputModule::OutputItemList = std::vector<OutputItem> |
Definition at line 116 of file PoolOutputModule.h.
Enumerator | |
---|---|
DropNone | |
DropDroppedPrior | |
DropPrior | |
DropAll |
Definition at line 43 of file PoolOutputModule.h.
|
explicit |
Definition at line 36 of file PoolOutputModule.cc.
References edm::errors::Configuration, DropAll, DropDroppedPrior, dropMetaData(), dropMetaData_, DropNone, DropPrior, edm::FileBlock::EventSelectionUsed, Exception, moduleLabel_, muonDTDigis_cfi::pset, alignCSCRings::s, specialSplitLevelForBranches_, statusFileName_, AlCaHLTBitMon_QueryRunRegistry::string, edm::core::OutputModuleCore::wantAllEvents(), and whyNotFastClonable_.
|
override |
Definition at line 292 of file PoolOutputModule.cc.
|
delete |
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 230 of file PoolOutputModule.cc.
References edm::FileBlock::branchChildren(), branchChildren_, edm::BranchChildren::childLookup(), edm::BranchChildren::insertChild(), isFileOpen(), edm::core::OutputModuleCore::remainingEvents(), and rootOutputFile_.
Referenced by openFile(), and respondToOpenInputFile().
|
overrideprivatevirtual |
Reimplemented from edm::core::OutputModuleCore.
Definition at line 110 of file PoolOutputModule.cc.
References submitPVResolutionJobs::desc, edm::InEvent, copyEcalPFRecHitThresholds_cfg::prod, and producedBranches_.
|
inline |
Definition at line 134 of file PoolOutputModule.h.
References branchChildren_.
|
inline |
|
inline |
Definition at line 59 of file PoolOutputModule.h.
References compactEventAuxiliary_.
|
inline |
Definition at line 51 of file PoolOutputModule.h.
References compressionAlgorithm_.
|
inline |
Definition at line 50 of file PoolOutputModule.h.
References compressionLevel_.
std::string const & edm::PoolOutputModule::currentFileName | ( | ) | const |
Definition at line 120 of file PoolOutputModule.cc.
References rootOutputFile_.
Referenced by edm::TimeoutPoolOutputModule::shouldWeCloseFile().
|
protectedvirtual |
Reimplemented in dqmservices::JsonWritingTimeoutPoolOutputModule.
Definition at line 357 of file PoolOutputModule.cc.
Referenced by reallyCloseFile().
|
inline |
Definition at line 61 of file PoolOutputModule.h.
References dropMetaData_.
Referenced by PoolOutputModule().
|
inline |
Definition at line 54 of file PoolOutputModule.h.
References eventAutoFlushSize_.
Referenced by edm::RootOutputFile::RootOutputFile().
|
inline |
Definition at line 53 of file PoolOutputModule.h.
References eventAuxBasketSize_.
|
inline |
Definition at line 48 of file PoolOutputModule.h.
References fileName_.
Referenced by physicalAndLogicalNameForNewFile().
|
private |
Definition at line 439 of file PoolOutputModule.cc.
References branchChildren_, branchParents_, edm::ParentageRegistry::getMapped(), edm::BranchChildren::insertChild(), edm::ParentageRegistry::instance(), class-composition::parent, parents, and edm::Parentage::parents().
Referenced by reallyCloseFile().
|
static |
Definition at line 454 of file PoolOutputModule.cc.
References edm::ParameterSetDescription::addUntracked(), relval_nano::dataSet, submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by edm::TimeoutPoolOutputModule::fillDescriptions(), and fillDescriptions().
|
static |
Definition at line 536 of file PoolOutputModule.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and fillDescription().
|
private |
Definition at line 173 of file PoolOutputModule.cc.
References auxItems_, b, edm::PoolOutputModule::OutputItem::basketSize(), edm::PoolOutputModule::AuxItem::basketSize_, edm::PoolOutputModule::OutputItem::basketSize_, edm::BranchTypeToAuxiliaryBranchName(), eventAuxBasketSize_, edm::InEvent, edm::InProcess, edm::BranchDescription::invalidBasketSize, edm::BranchDescription::invalidSplitLevel, edm::core::OutputModuleCore::keptProducts(), overrideInputFileSplitLevels_, edm::core::OutputModuleCore::processName(), copyEcalPFRecHitThresholds_cfg::prod, edm::sort_all(), specialSplitLevelForBranches_, edm::PoolOutputModule::OutputItem::splitLevel(), and edm::PoolOutputModule::OutputItem::splitLevel_.
Referenced by respondToOpenInputFile().
|
private |
Definition at line 353 of file PoolOutputModule.cc.
References rootOutputFile_.
Referenced by reallyCloseFile().
|
inline |
|
overrideprivatevirtual |
Reimplemented from edm::core::OutputModuleCore.
Definition at line 358 of file PoolOutputModule.cc.
References rootOutputFile_.
Referenced by beginInputFile(), and openFile().
|
inline |
Definition at line 49 of file PoolOutputModule.h.
References logicalFileName_.
Referenced by physicalAndLogicalNameForNewFile().
|
inline |
Definition at line 64 of file PoolOutputModule.h.
References maxFileSize_.
|
inline |
|
inline |
|
overrideprivatevirtual |
Reimplemented from edm::core::OutputModuleCore.
Definition at line 244 of file PoolOutputModule.cc.
References beginInputFile(), isFileOpen(), and reallyOpenFile().
|
delete |
|
inline |
Definition at line 58 of file PoolOutputModule.h.
References overrideInputFileSplitLevels_.
|
protectedvirtual |
Reimplemented in dqmservices::JsonWritingTimeoutPoolOutputModule.
Definition at line 361 of file PoolOutputModule.cc.
References relativeConstraints::empty, Exception, fileName(), inputFileCount_, logicalFileName(), edm::errors::LogicError, HLT_IsoTrack_cff::offset, outputFileCount_, AlCaHLTBitMon_QueryRunRegistry::string, and Ecal_PulseShapes_cfg::suffix.
Referenced by reallyOpenFile().
|
overrideprivatevirtualnoexcept |
Reimplemented from edm::one::OutputModuleBase.
Definition at line 425 of file PoolOutputModule.cc.
References Options::const, DropAll, dropMetaData_, and ecalHexDisplay_cfg::ep.
|
overrideprivatevirtual |
Reimplemented from edm::core::OutputModuleCore.
Definition at line 312 of file PoolOutputModule.cc.
References branchChildren_, branchParents_, edm::BranchChildren::clear(), doExtrasAfterCloseFile(), fillDependencyGraph(), finishEndFile(), startEndFile(), writeBranchIDListRegistry(), writeEventAuxiliary(), writeFileFormatVersion(), writeFileIdentifier(), writeIndexIntoFile(), writeParameterSetRegistry(), writeParentageRegistry(), writeProcessBlockHelper(), writeProcessHistoryRegistry(), writeProductDependencies(), writeProductDescriptionRegistry(), writeStoredMergeableRunProductMetadata(), and writeThinnedAssociationsHelper().
|
private |
Definition at line 388 of file PoolOutputModule.cc.
References names, overrideGUID_, physicalAndLogicalNameForNewFile(), processesWithSelectedMergeableRunProducts_, and rootOutputFile_.
Referenced by openFile().
|
overrideprivate |
Definition at line 283 of file PoolOutputModule.cc.
References rootOutputFile_.
|
overrideprivate |
Definition at line 251 of file PoolOutputModule.cc.
References beginInputFile(), fillSelectedItemList(), mps_fire::i, edm::InEvent, initializedFromInput_, edm::InLumi, edm::InProcess, inputFileCount_, isotrackApplyRegressor::k, edm::FileBlock::lumiTree(), edm::numberOfRunLumiEventProductTrees, edm::NumBranchTypes, edm::core::OutputModuleCore::outputProcessBlockHelper(), edm::FileBlock::processBlockTree(), edm::OutputProcessBlockHelper::processesWithProcessBlockProducts(), edm::core::OutputModuleCore::processName(), edm::FileBlock::runTree(), selectedOutputItemList_, AlCaHLTBitMon_QueryRunRegistry::string, and edm::FileBlock::tree().
|
inline |
Definition at line 130 of file PoolOutputModule.h.
References selectedOutputItemList_.
Referenced by edm::RootOutputFile::RootOutputFile().
|
inline |
Definition at line 132 of file PoolOutputModule.h.
References selectedOutputItemList_.
|
overrideprivatevirtual |
Reimplemented from edm::core::OutputModuleCore.
Definition at line 288 of file PoolOutputModule.cc.
References dqmiodatasetharvest::processes, and processesWithSelectedMergeableRunProducts_.
|
overrideprotectedvirtual |
allow inheriting classes to override but still be able to call this method in the overridden version
Reimplemented from edm::core::OutputModuleCore.
Reimplemented in edm::TimeoutPoolOutputModule.
Definition at line 359 of file PoolOutputModule.cc.
References rootOutputFile_.
Referenced by edm::TimeoutPoolOutputModule::shouldWeCloseFile().
|
inline |
|
private |
|
inline |
Definition at line 57 of file PoolOutputModule.h.
References treeMaxVirtualSize_.
|
private |
Definition at line 412 of file PoolOutputModule.cc.
References MillePedeFileConverter_cfg::e, producedBranches_, edm::one::OutputModuleBase::subProcessParentageHelper(), and updateBranchParentsForOneBranch().
Referenced by write().
|
private |
Definition at line 400 of file PoolOutputModule.cc.
References edm::PoolOutputModule::OutputItem::branchID(), edm::ProductProvenanceLookup::branchIDToProvenanceForProducedOnly(), branchParents_, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, and crab_script::provenance.
Referenced by updateBranchParents().
|
inline |
|
overrideprotectedvirtual |
Implements edm::core::OutputModuleCore.
Reimplemented in edm::TimeoutPoolOutputModule.
Definition at line 294 of file PoolOutputModule.cc.
References MillePedeFileConverter_cfg::e, rootOutputFile_, statusFileName_, and updateBranchParents().
Referenced by edm::TimeoutPoolOutputModule::write().
|
private |
Definition at line 348 of file PoolOutputModule.cc.
References rootOutputFile_.
Referenced by reallyCloseFile().
|
private |
Definition at line 351 of file PoolOutputModule.cc.
References rootOutputFile_.
Referenced by reallyCloseFile().
|
private |
Definition at line 338 of file PoolOutputModule.cc.
References rootOutputFile_.
Referenced by reallyCloseFile().
|
private |
Definition at line 339 of file PoolOutputModule.cc.
References rootOutputFile_.
Referenced by reallyCloseFile().
|
private |
Definition at line 340 of file PoolOutputModule.cc.
References rootOutputFile_.
Referenced by reallyCloseFile().
|
overrideprivatevirtual |
Implements edm::core::OutputModuleCore.
Definition at line 304 of file PoolOutputModule.cc.
References rootOutputFile_.
|
private |
Definition at line 345 of file PoolOutputModule.cc.
References rootOutputFile_.
Referenced by reallyCloseFile().
|
private |
Definition at line 347 of file PoolOutputModule.cc.
References rootOutputFile_.
Referenced by reallyCloseFile().
|
overrideprivatevirtual |
Reimplemented from edm::core::OutputModuleCore.
Definition at line 310 of file PoolOutputModule.cc.
References rootOutputFile_.
|
private |
Definition at line 352 of file PoolOutputModule.cc.
References rootOutputFile_.
Referenced by reallyCloseFile().
|
private |
Definition at line 344 of file PoolOutputModule.cc.
References rootOutputFile_.
Referenced by reallyCloseFile().
|
private |
Definition at line 350 of file PoolOutputModule.cc.
References rootOutputFile_.
Referenced by reallyCloseFile().
|
private |
Definition at line 346 of file PoolOutputModule.cc.
References rootOutputFile_.
Referenced by reallyCloseFile().
|
overrideprivatevirtual |
Implements edm::core::OutputModuleCore.
Definition at line 308 of file PoolOutputModule.cc.
References rootOutputFile_.
|
private |
Definition at line 341 of file PoolOutputModule.cc.
References rootOutputFile_.
Referenced by reallyCloseFile().
|
private |
Definition at line 349 of file PoolOutputModule.cc.
References rootOutputFile_.
Referenced by reallyCloseFile().
|
private |
Definition at line 190 of file PoolOutputModule.h.
Referenced by auxItems(), and fillSelectedItemList().
|
private |
Definition at line 203 of file PoolOutputModule.h.
Referenced by basketOrder().
|
private |
Definition at line 199 of file PoolOutputModule.h.
Referenced by basketSize().
|
private |
Definition at line 212 of file PoolOutputModule.h.
Referenced by beginInputFile(), branchChildren(), fillDependencyGraph(), and reallyCloseFile().
|
private |
Definition at line 211 of file PoolOutputModule.h.
Referenced by fillDependencyGraph(), reallyCloseFile(), and updateBranchParentsForOneBranch().
|
private |
Definition at line 195 of file PoolOutputModule.h.
Referenced by catalog().
|
private |
Definition at line 215 of file PoolOutputModule.h.
Referenced by compactEventAuxiliary().
|
private |
Definition at line 198 of file PoolOutputModule.h.
Referenced by compressionAlgorithm().
|
private |
Definition at line 197 of file PoolOutputModule.h.
Referenced by compressionLevel().
|
private |
Definition at line 206 of file PoolOutputModule.h.
Referenced by dropMetaData(), PoolOutputModule(), and preActionBeforeRunEventAsync().
|
private |
Definition at line 201 of file PoolOutputModule.h.
Referenced by eventAutoFlushSize().
|
private |
Definition at line 200 of file PoolOutputModule.h.
Referenced by eventAuxiliaryBasketSize(), and fillSelectedItemList().
|
private |
Definition at line 193 of file PoolOutputModule.h.
Referenced by fileName().
|
private |
Definition at line 208 of file PoolOutputModule.h.
Referenced by respondToOpenInputFile().
|
private |
Definition at line 210 of file PoolOutputModule.h.
Referenced by inputFileCount(), physicalAndLogicalNameForNewFile(), and respondToOpenInputFile().
|
private |
Definition at line 194 of file PoolOutputModule.h.
Referenced by logicalFileName().
|
private |
Definition at line 196 of file PoolOutputModule.h.
Referenced by maxFileSize().
|
private |
Definition at line 216 of file PoolOutputModule.h.
Referenced by mergeJob().
|
private |
Definition at line 207 of file PoolOutputModule.h.
Referenced by ExternalGeneratorFilter.ExternalGeneratorFilter::insertInto(), Modules.SwitchProducer::insertInto(), Mixins._TypedParameterizable::insertInto(), moduleLabel(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), and PoolOutputModule().
|
private |
Definition at line 209 of file PoolOutputModule.h.
Referenced by physicalAndLogicalNameForNewFile().
|
private |
Definition at line 219 of file PoolOutputModule.h.
Referenced by reallyOpenFile().
|
private |
Definition at line 214 of file PoolOutputModule.h.
Referenced by fillSelectedItemList(), and overrideInputFileSplitLevels().
|
private |
Definition at line 220 of file PoolOutputModule.h.
Referenced by reallyOpenFile(), and setProcessesWithSelectedMergeableRunProducts().
|
private |
Definition at line 213 of file PoolOutputModule.h.
Referenced by beginJob(), and updateBranchParents().
|
private |
Definition at line 217 of file PoolOutputModule.h.
Referenced by beginInputFile(), currentFileName(), finishEndFile(), isFileOpen(), reallyOpenFile(), respondToCloseInputFile(), shouldWeCloseFile(), write(), writeBranchIDListRegistry(), writeEventAuxiliary(), writeFileFormatVersion(), writeFileIdentifier(), writeIndexIntoFile(), writeLuminosityBlock(), writeParameterSetRegistry(), writeParentageRegistry(), writeProcessBlock(), writeProcessBlockHelper(), writeProcessHistoryRegistry(), writeProductDependencies(), writeProductDescriptionRegistry(), writeRun(), writeStoredMergeableRunProductMetadata(), and writeThinnedAssociationsHelper().
|
private |
Definition at line 189 of file PoolOutputModule.h.
|
private |
Definition at line 191 of file PoolOutputModule.h.
Referenced by respondToOpenInputFile(), and selectedOutputItemList().
|
private |
Definition at line 192 of file PoolOutputModule.h.
Referenced by fillSelectedItemList(), and PoolOutputModule().
|
private |
Definition at line 202 of file PoolOutputModule.h.
Referenced by splitLevel().
|
private |
Definition at line 218 of file PoolOutputModule.h.
Referenced by PoolOutputModule(), and write().
|
private |
Definition at line 204 of file PoolOutputModule.h.
Referenced by treeMaxVirtualSize().
|
private |
Definition at line 205 of file PoolOutputModule.h.
Referenced by PoolOutputModule(), and whyNotFastClonable().