Go to the documentation of this file. 1 #ifndef IOPool_Output_RootOutputFile_h
2 #define IOPool_Output_RootOutputFile_h
44 class PoolOutputModule;
54 std::vector<std::string>
const& processesWithSelectedMergeableRunProducts);
98 std::set<BranchID>
const& producedBranches,
99 std::set<StoredProductProvenance>& oToFill);
bool shouldWeCloseFile() const
RootOutputFile(PoolOutputModule *om, std::string const &fileName, std::string const &logicalFileName, std::vector< std::string > const &processesWithSelectedMergeableRunProducts)
void setBranchAliases(TTree *tree, SelectedProducts const &branches) const
IndexIntoFile indexIntoFile_
RunAuxiliary const * pRunAux_
IndexIntoFile::EntryNumber_t runEntryNumber_
std::shared_ptr< TFile const > filePtr() const
std::map< ParentageID, unsigned int > parentageIDs_
void writeProductDescriptionRegistry()
std::vector< OutputItem > OutputItemList
void beginInputFile(FileBlock const &fb, int remainingEvents)
std::vector< BranchListIndex > BranchListIndexes
RootOutputTreePtrArray treePointers_
std::shared_ptr< TFile > & filePtr()
IndexIntoFile::EntryNumber_t lumiEntryNumber_
constexpr std::shared_ptr< T > & get_underlying_safe(propagate_const< std::shared_ptr< T >> &iP)
void writeThinnedAssociationsHelper()
void writeBranchIDListRegistry()
std::vector< std::pair< BranchDescription const *, EDGetToken > > SelectedProducts
void fillBranches(BranchType const &branchType, OccurrenceForOutput const &occurrence, StoredProductProvenanceVector *productProvenanceVecPtr=nullptr, ProductProvenanceRetriever const *provRetriever=nullptr)
std::string const & fileName() const
LuminosityBlockAuxiliary const * pLumiAux_
edm::propagate_const< TTree * > metaDataTree_
unsigned long nEventsInLumi_
edm::propagate_const< StoredProductProvenanceVector * > pEventEntryInfoVector_
ProcessHistoryRegistry processHistoryRegistry_
edm::propagate_const< std::shared_ptr< TFile > > filePtr_
std::array< edm::propagate_const< RootOutputTree * >, NumBranchTypes > RootOutputTreePtrArray
bool insertProductProvenance(const ProductProvenance &, std::set< StoredProductProvenance > &oToInsert)
void writeParameterSetRegistry()
std::set< BranchID > branchesWithStoredHistory_
PoolOutputModule::OutputItemList OutputItemList
CompactEventAuxiliaryVector compactEventAuxiliary_
edm::propagate_const< TClass * > wrapperBaseTClass_
void insertAncestors(ProductProvenance const &iGetParents, ProductProvenanceRetriever const *iMapper, bool produced, std::set< BranchID > const &producedBranches, std::set< StoredProductProvenance > &oToFill)
RootOutputTree eventTree_
void writeStoredMergeableRunProductMetadata()
void writeEventAuxiliary()
BranchListIndexes const * pBranchListIndexes_
StoredProductProvenanceVector *& pEventEntryInfoVector()
void writeLuminosityBlock(LuminosityBlockForOutput const &lb)
StoredProductProvenanceVector eventEntryInfoVector_
void writeRun(RunForOutput const &r)
edm::propagate_const< TTree * > parentageTree_
void writeOne(EventForOutput const &e)
JobReport::Token reportToken_
edm::propagate_const< PoolOutputModule * > om_
void writeFileFormatVersion()
IndexIntoFile::EntryNumber_t eventEntryNumber_
void writeFileIdentifier()
PoolOutputModule::OutputItem OutputItem
void respondToCloseInputFile(FileBlock const &fb)
void writeProductDependencies()
EventAuxiliary const * pEventAux_
StoredProductProvenanceVector const * pEventEntryInfoVector() const
std::vector< EventSelectionID > EventSelectionIDVector
LuminosityBlockAuxiliary lumiAux_
void writeParentageRegistry()
EventSelectionIDVector const * pEventSelectionIDs_
edm::propagate_const< TTree * > parameterSetsTree_
StoredMergeableRunProductMetadata storedMergeableRunProductMetadata_
void writeIndexIntoFile()
std::vector< StoredProductProvenance > StoredProductProvenanceVector
void writeProcessHistoryRegistry()