#include <PoolOutputModule.h>
Classes | |
struct | AuxItem |
struct | OutputItem |
Public Types | |
typedef boost::array< AuxItem, NumBranchTypes > | AuxItemArray |
enum | DropMetaData { DropNone, DropDroppedPrior, DropPrior, DropAll } |
typedef std::vector< OutputItem > | OutputItemList |
typedef boost::array < OutputItemList, NumBranchTypes > | OutputItemListArray |
Public Types inherited from edm::OutputModule | |
typedef OutputModule | ModuleType |
typedef OutputWorker | WorkerType |
Public Member Functions | |
AuxItemArray const & | auxItems () const |
std::string const & | basketOrder () const |
int const & | basketSize () const |
std::string const & | catalog () const |
int const & | compressionLevel () const |
std::string const & | currentFileName () const |
DropMetaData const & | dropMetaData () const |
int const | eventAutoFlushSize () const |
std::string const & | fileName () const |
int const & | inputFileCount () const |
std::string const & | logicalFileName () const |
unsigned int const & | maxFileSize () const |
std::string const & | moduleLabel () const |
bool const & | overrideInputFileSplitLevels () const |
PoolOutputModule (ParameterSet const &ps) | |
OutputItemListArray const & | selectedOutputItemList () const |
int const & | splitLevel () const |
int const & | treeMaxVirtualSize () const |
int const & | whyNotFastClonable () const |
virtual | ~PoolOutputModule () |
Public Member Functions inherited from edm::OutputModule | |
BranchChildren const & | branchChildren () const |
boost::array< bool, NumBranchTypes > const & | hasNewlyDroppedBranch () const |
SelectionsArray const & | keptProducts () const |
int | maxEvents () const |
OutputModule (ParameterSet const &pset) | |
std::string const & | processName () const |
int | remainingEvents () const |
bool | selected (BranchDescription const &desc) const |
void | selectProducts () |
bool | wantAllEvents () const |
virtual | ~OutputModule () |
Static Public Member Functions | |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::OutputModule | |
static const std::string & | baseType () |
static void | fillDescription (ParameterSetDescription &desc) |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | beginInputFile (FileBlock const &fb) |
virtual void | doOpenFile () |
void | fillSelectedItemList (BranchType branchtype, TTree *theInputTree) |
virtual void | finishEndFile () |
virtual bool | isFileOpen () const |
virtual void | openFile (FileBlock const &fb) |
virtual void | postForkReacquireResources (unsigned int iChildIndex, unsigned int iNumberOfChildren) |
virtual void | respondToCloseInputFile (FileBlock const &fb) |
virtual void | respondToOpenInputFile (FileBlock const &fb) |
virtual void | startEndFile () |
virtual void | writeBranchIDListRegistry () |
virtual void | writeFileFormatVersion () |
virtual void | writeFileIdentifier () |
virtual void | writeIndexIntoFile () |
virtual void | writeLuminosityBlock (LuminosityBlockPrincipal const &lb) |
virtual void | writeParameterSetRegistry () |
virtual void | writeParentageRegistry () |
virtual void | writeProcessConfigurationRegistry () |
virtual void | writeProcessHistoryRegistry () |
virtual void | writeProductDependencies () |
virtual void | writeProductDescriptionRegistry () |
virtual void | writeRun (RunPrincipal const &r) |
Private Attributes | |
AuxItemArray | auxItems_ |
std::string | basketOrder_ |
int const | basketSize_ |
std::string const | catalog_ |
unsigned int | childIndex_ |
int const | compressionLevel_ |
DropMetaData | dropMetaData_ |
int const | eventAutoFlushSize_ |
std::string const | fileName_ |
bool | initializedFromInput_ |
int | inputFileCount_ |
std::string const | logicalFileName_ |
unsigned int const | maxFileSize_ |
std::string const | moduleLabel_ |
unsigned int | numberOfDigitsInIndex_ |
int | outputFileCount_ |
bool | overrideInputFileSplitLevels_ |
boost::scoped_ptr< RootOutputFile > | rootOutputFile_ |
RootServiceChecker | rootServiceChecker_ |
OutputItemListArray | selectedOutputItemList_ |
int const | splitLevel_ |
std::string | statusFileName_ |
int const | treeMaxVirtualSize_ |
int | whyNotFastClonable_ |
Definition at line 27 of file PoolOutputModule.h.
typedef boost::array<AuxItem, NumBranchTypes> edm::PoolOutputModule::AuxItemArray |
Definition at line 59 of file PoolOutputModule.h.
typedef std::vector<OutputItem> edm::PoolOutputModule::OutputItemList |
Definition at line 90 of file PoolOutputModule.h.
typedef boost::array<OutputItemList, NumBranchTypes> edm::PoolOutputModule::OutputItemListArray |
Definition at line 92 of file PoolOutputModule.h.
Enumerator | |
---|---|
DropNone | |
DropDroppedPrior | |
DropPrior | |
DropAll |
Definition at line 29 of file PoolOutputModule.h.
|
explicit |
Definition at line 27 of file PoolOutputModule.cc.
References edm::errors::Configuration, DropAll, DropDroppedPrior, dropMetaData(), dropMetaData_, DropNone, DropPrior, edm::FileBlock::EventSelectionUsed, edm::hlt::Exception, edm::ParameterSet::getUntrackedParameter(), edm::ParameterSet::getUntrackedParameterSet(), moduleLabel_, statusFileName_, edm::OutputModule::wantAllEvents(), and whyNotFastClonable_.
|
virtual |
Definition at line 219 of file PoolOutputModule.cc.
|
inline |
Definition at line 60 of file PoolOutputModule.h.
References auxItems_.
Referenced by edm::RootOutputFile::RootOutputFile().
|
inline |
Definition at line 38 of file PoolOutputModule.h.
References basketOrder_.
Referenced by edm::RootOutputFile::beginInputFile().
|
inline |
Definition at line 35 of file PoolOutputModule.h.
References basketSize_.
Referenced by fillSelectedItemList(), edm::RootOutputFile::writeBranchIDListRegistry(), edm::RootOutputFile::writeFileFormatVersion(), edm::RootOutputFile::writeFileIdentifier(), edm::RootOutputFile::writeIndexIntoFile(), edm::RootOutputFile::writeParameterSetRegistry(), edm::RootOutputFile::writeParentageRegistry(), edm::RootOutputFile::writeProcessConfigurationRegistry(), edm::RootOutputFile::writeProcessHistoryRegistry(), edm::RootOutputFile::writeProductDependencies(), and edm::RootOutputFile::writeProductDescriptionRegistry().
|
private |
Definition at line 176 of file PoolOutputModule.cc.
References isFileOpen(), edm::OutputModule::remainingEvents(), and rootOutputFile_.
Referenced by openFile(), and respondToOpenInputFile().
|
inline |
Definition at line 42 of file PoolOutputModule.h.
References catalog_.
Referenced by edm::RootOutputFile::RootOutputFile().
|
inline |
Definition at line 34 of file PoolOutputModule.h.
References compressionLevel_.
std::string const & edm::PoolOutputModule::currentFileName | ( | ) | const |
Definition at line 82 of file PoolOutputModule.cc.
References rootOutputFile_.
Referenced by edm::TimeoutPoolOutputModule::shouldWeCloseFile().
|
privatevirtual |
Reimplemented from edm::OutputModule.
Definition at line 261 of file PoolOutputModule.cc.
References childIndex_, relativeConstraints::empty, edm::hlt::Exception, fileName(), inputFileCount_, logicalFileName(), edm::errors::LogicError, numberOfDigitsInIndex_, evf::evtn::offset(), outputFileCount_, rootOutputFile_, and createPayload::suffix.
Referenced by openFile().
|
inline |
Definition at line 41 of file PoolOutputModule.h.
References dropMetaData_.
Referenced by edm::RootOutputFile::beginInputFile(), edm::RootOutputFile::fillBranches(), edm::RootOutputFile::insertAncestors(), and PoolOutputModule().
|
inline |
Definition at line 36 of file PoolOutputModule.h.
References eventAutoFlushSize_.
Referenced by edm::RootOutputFile::RootOutputFile().
|
inline |
|
static |
Definition at line 294 of file PoolOutputModule.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::addUntracked(), edm::OutputModule::fillDescription(), edm::ParameterSetDescription::setAllowAnything(), and edm::ParameterSetDescription::setComment().
|
private |
Definition at line 135 of file PoolOutputModule.cc.
References auxItems_, basketSize(), edm::BranchDescription::basketSize(), edm::PoolOutputModule::AuxItem::basketSize_, edm::PoolOutputModule::OutputItem::basketSize_, Selections::begin(), edm::BranchDescription::branchName(), revisionDML::branchType(), edm::BranchTypeToAuxiliaryBranchName(), Selections::end(), edm::BranchDescription::invalidBasketSize, edm::BranchDescription::invalidSplitLevel, edm::OutputModule::keptProducts(), edm::PoolOutputModule::OutputItem::OutputItem(), overrideInputFileSplitLevels_, parseEventContent::prod, edm::BranchDescription::produced(), selectedOutputItemList_, edm::sort_all(), splitLevel(), edm::BranchDescription::splitLevel(), and edm::PoolOutputModule::OutputItem::splitLevel_.
Referenced by respondToOpenInputFile().
|
privatevirtual |
Reimplemented from edm::OutputModule.
Definition at line 257 of file PoolOutputModule.cc.
References rootOutputFile_.
|
inline |
Definition at line 45 of file PoolOutputModule.h.
References inputFileCount_.
Referenced by edm::RootOutputFile::beginInputFile().
|
privatevirtual |
Reimplemented from edm::OutputModule.
Definition at line 258 of file PoolOutputModule.cc.
References rootOutputFile_.
Referenced by beginInputFile(), and openFile().
|
inline |
Definition at line 33 of file PoolOutputModule.h.
References logicalFileName_.
Referenced by doOpenFile().
|
inline |
Definition at line 44 of file PoolOutputModule.h.
References maxFileSize_.
Referenced by edm::RootOutputFile::shouldWeCloseFile().
|
inline |
Definition at line 43 of file PoolOutputModule.h.
References moduleLabel_.
Referenced by edm::RootOutputFile::RootOutputFile().
|
privatevirtual |
Reimplemented from edm::OutputModule.
Definition at line 182 of file PoolOutputModule.cc.
References beginInputFile(), doOpenFile(), and isFileOpen().
|
inline |
Definition at line 40 of file PoolOutputModule.h.
References overrideInputFileSplitLevels_.
Referenced by edm::RootOutputFile::beginInputFile().
|
privatevirtual |
Reimplemented from edm::OutputModule.
Definition at line 208 of file PoolOutputModule.cc.
References childIndex_, and numberOfDigitsInIndex_.
|
privatevirtual |
Reimplemented from edm::OutputModule.
Definition at line 204 of file PoolOutputModule.cc.
References rootOutputFile_.
|
privatevirtual |
Reimplemented from edm::OutputModule.
Definition at line 189 of file PoolOutputModule.cc.
References beginInputFile(), revisionDML::branchType(), fillSelectedItemList(), i, edm::InEvent, initializedFromInput_, edm::InLumi, inputFileCount_, edm::FileBlock::lumiTree(), edm::NumBranchTypes, edm::FileBlock::runTree(), and edm::FileBlock::tree().
|
inline |
Definition at line 94 of file PoolOutputModule.h.
References selectedOutputItemList_.
Referenced by edm::RootOutputFile::fillBranches(), and edm::RootOutputFile::RootOutputFile().
|
protectedvirtual |
allow inheriting classes to override but still be able to call this method in the overridden version
Reimplemented from edm::OutputModule.
Reimplemented in edm::TimeoutPoolOutputModule.
Definition at line 259 of file PoolOutputModule.cc.
References rootOutputFile_.
Referenced by edm::TimeoutPoolOutputModule::shouldWeCloseFile().
|
inline |
Definition at line 37 of file PoolOutputModule.h.
References splitLevel_.
Referenced by fillSelectedItemList().
|
privatevirtual |
|
inline |
Definition at line 39 of file PoolOutputModule.h.
References treeMaxVirtualSize_.
|
inline |
Definition at line 46 of file PoolOutputModule.h.
References whyNotFastClonable_.
Referenced by edm::RootOutputFile::beginInputFile().
|
protectedvirtual |
Implements edm::OutputModule.
Reimplemented in edm::TimeoutPoolOutputModule.
Definition at line 222 of file PoolOutputModule.cc.
References edm::EventPrincipal::id(), rootOutputFile_, and statusFileName_.
Referenced by edm::TimeoutPoolOutputModule::write().
|
privatevirtual |
Reimplemented from edm::OutputModule.
Definition at line 255 of file PoolOutputModule.cc.
References rootOutputFile_.
|
privatevirtual |
Reimplemented from edm::OutputModule.
Definition at line 247 of file PoolOutputModule.cc.
References rootOutputFile_.
|
privatevirtual |
Reimplemented from edm::OutputModule.
Definition at line 248 of file PoolOutputModule.cc.
References rootOutputFile_.
|
privatevirtual |
Reimplemented from edm::OutputModule.
Definition at line 249 of file PoolOutputModule.cc.
References rootOutputFile_.
|
privatevirtual |
Implements edm::OutputModule.
Definition at line 231 of file PoolOutputModule.cc.
References edm::LuminosityBlockPrincipal::id(), edm::LuminosityBlockID::luminosityBlock(), rootOutputFile_, and edm::LuminosityBlockID::run().
|
privatevirtual |
Reimplemented from edm::OutputModule.
Definition at line 252 of file PoolOutputModule.cc.
References rootOutputFile_.
|
privatevirtual |
Reimplemented from edm::OutputModule.
Definition at line 254 of file PoolOutputModule.cc.
References rootOutputFile_.
|
privatevirtual |
Reimplemented from edm::OutputModule.
Definition at line 250 of file PoolOutputModule.cc.
References rootOutputFile_.
|
privatevirtual |
Reimplemented from edm::OutputModule.
Definition at line 251 of file PoolOutputModule.cc.
References rootOutputFile_.
|
privatevirtual |
Reimplemented from edm::OutputModule.
Definition at line 256 of file PoolOutputModule.cc.
References rootOutputFile_.
|
privatevirtual |
Reimplemented from edm::OutputModule.
Definition at line 253 of file PoolOutputModule.cc.
References rootOutputFile_.
|
privatevirtual |
Implements edm::OutputModule.
Definition at line 237 of file PoolOutputModule.cc.
References rootOutputFile_, and edm::RunPrincipal::run().
|
private |
Definition at line 128 of file PoolOutputModule.h.
Referenced by auxItems(), and fillSelectedItemList().
|
private |
Definition at line 138 of file PoolOutputModule.h.
Referenced by basketOrder().
|
private |
Definition at line 135 of file PoolOutputModule.h.
Referenced by basketSize().
|
private |
Definition at line 132 of file PoolOutputModule.h.
Referenced by catalog().
|
private |
Definition at line 146 of file PoolOutputModule.h.
Referenced by doOpenFile(), and postForkReacquireResources().
|
private |
Definition at line 134 of file PoolOutputModule.h.
Referenced by compressionLevel().
|
private |
Definition at line 141 of file PoolOutputModule.h.
Referenced by dropMetaData(), and PoolOutputModule().
|
private |
Definition at line 136 of file PoolOutputModule.h.
Referenced by eventAutoFlushSize().
|
private |
Definition at line 130 of file PoolOutputModule.h.
Referenced by fileName().
|
private |
Definition at line 143 of file PoolOutputModule.h.
Referenced by respondToOpenInputFile().
|
private |
Definition at line 145 of file PoolOutputModule.h.
Referenced by doOpenFile(), inputFileCount(), and respondToOpenInputFile().
|
private |
Definition at line 131 of file PoolOutputModule.h.
Referenced by logicalFileName().
|
private |
Definition at line 133 of file PoolOutputModule.h.
Referenced by maxFileSize().
|
private |
Definition at line 142 of file PoolOutputModule.h.
Referenced by Mixins._TypedParameterizable::insertInto(), moduleLabel(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), and PoolOutputModule().
|
private |
Definition at line 147 of file PoolOutputModule.h.
Referenced by doOpenFile(), and postForkReacquireResources().
|
private |
Definition at line 144 of file PoolOutputModule.h.
Referenced by doOpenFile().
|
private |
Definition at line 148 of file PoolOutputModule.h.
Referenced by fillSelectedItemList(), and overrideInputFileSplitLevels().
|
private |
Definition at line 149 of file PoolOutputModule.h.
Referenced by beginInputFile(), currentFileName(), doOpenFile(), finishEndFile(), isFileOpen(), respondToCloseInputFile(), shouldWeCloseFile(), write(), writeBranchIDListRegistry(), writeFileFormatVersion(), writeFileIdentifier(), writeIndexIntoFile(), writeLuminosityBlock(), writeParameterSetRegistry(), writeParentageRegistry(), writeProcessConfigurationRegistry(), writeProcessHistoryRegistry(), writeProductDependencies(), writeProductDescriptionRegistry(), and writeRun().
|
private |
Definition at line 127 of file PoolOutputModule.h.
|
private |
Definition at line 129 of file PoolOutputModule.h.
Referenced by fillSelectedItemList(), and selectedOutputItemList().
|
private |
Definition at line 137 of file PoolOutputModule.h.
Referenced by splitLevel().
|
private |
Definition at line 150 of file PoolOutputModule.h.
Referenced by PoolOutputModule(), and write().
|
private |
Definition at line 139 of file PoolOutputModule.h.
Referenced by treeMaxVirtualSize().
|
private |
Definition at line 140 of file PoolOutputModule.h.
Referenced by PoolOutputModule(), and whyNotFastClonable().