#include <RootFile.h>
Public Types | |
typedef std::array< RootTree *, NumBranchTypes > | RootTreePtrArray |
Public Member Functions | |
BranchIDListRegistry::collection_type const & | branchIDLists () |
bool | branchListIndexesUnchanged () const |
EventPrincipal * | clearAndReadCurrentEvent (EventPrincipal &cache, boost::shared_ptr< LuminosityBlockPrincipal > lb=boost::shared_ptr< LuminosityBlockPrincipal >()) |
void | close () |
boost::shared_ptr< FileBlock > | createFileBlock () const |
EventAuxiliary const & | eventAux () const |
EventID const & | eventID () const |
RootTree const & | eventTree () const |
std::string const & | file () const |
FileFormatVersion | fileFormatVersion () const |
IndexIntoFile::EntryType | getNextEntryTypeWanted () |
bool | goToEvent (EventID const &eventID) |
std::array< bool, NumBranchTypes > const & | hasNewlyDroppedBranch () const |
IndexIntoFile::IndexIntoFileItr | indexIntoFileIter () const |
boost::shared_ptr< IndexIntoFile > | indexIntoFileSharedPtr () const |
RootTree const & | lumiTree () const |
bool | modifiedIDs () const |
bool | nextEventEntry () |
RootFile & | operator= (RootFile const &)=delete |
boost::shared_ptr < ProductRegistry const > | productRegistry () const |
EventPrincipal * | readCurrentEvent (EventPrincipal &cache, boost::shared_ptr< LuminosityBlockPrincipal > lb=boost::shared_ptr< LuminosityBlockPrincipal >()) |
EventPrincipal * | readEvent (EventPrincipal &cache, boost::shared_ptr< LuminosityBlockPrincipal > lb=boost::shared_ptr< LuminosityBlockPrincipal >()) |
boost::shared_ptr < LuminosityBlockPrincipal > | readLumi (boost::shared_ptr< LuminosityBlockPrincipal > lbCache) |
boost::shared_ptr < LuminosityBlockAuxiliary > | readLuminosityBlockAuxiliary_ () |
boost::shared_ptr< RunPrincipal > | readRun_ (boost::shared_ptr< RunPrincipal > rpCache) |
boost::shared_ptr< RunAuxiliary > | readRunAuxiliary_ () |
void | reportOpened (std::string const &inputType) |
void | rewind () |
RootFile (std::string const &fileName, ProcessConfiguration const &processConfiguration, std::string const &logicalFileName, boost::shared_ptr< InputFile > filePtr, boost::shared_ptr< EventSkipperByID > eventSkipperByID, bool skipAnyEvents, int remainingEvents, int remainingLumis, unsigned int treeCacheSize, int treeMaxVirtualSize, InputSource::ProcessingMode processingMode, RunNumber_t const &forcedRunNumber, bool noEventSort, GroupSelectorRules const &groupSelectorRules, InputType::InputType inputType, boost::shared_ptr< DuplicateChecker > duplicateChecker, bool dropDescendantsOfDroppedProducts, std::vector< boost::shared_ptr< IndexIntoFile > > const &indexesIntoFiles, std::vector< boost::shared_ptr< IndexIntoFile > >::size_type currentIndexIntoFile, std::vector< ProcessHistoryID > &orderedProcessHistoryIDs, bool labelRawDataLikeMC, bool usingGoToEvent) | |
RootFile (RootFile const &)=delete | |
RootTree const & | runTree () const |
EventPrincipal & | secondaryEventPrincipal () |
void | setAtEventEntry (IndexIntoFile::EntryNumber_t entry) |
bool | setEntryAtEvent (RunNumber_t run, LuminosityBlockNumber_t lumi, EventNumber_t event) |
bool | setEntryAtItem (RunNumber_t run, LuminosityBlockNumber_t lumi, EventNumber_t event) |
bool | setEntryAtLumi (RunNumber_t run, LuminosityBlockNumber_t lumi) |
bool | setEntryAtNextEventInLumi (RunNumber_t run, LuminosityBlockNumber_t lumi) |
bool | setEntryAtRun (RunNumber_t run) |
void | setPosition (IndexIntoFile::IndexIntoFileItr const &position) |
void | setToLastEntry () |
bool | skipEvents (int &offset) |
bool | wasFirstEventJustRead () const |
bool | wasLastEventJustRead () const |
int | whyNotFastClonable () const |
~RootFile () | |
Definition at line 50 of file RootFile.h.
typedef std::array<RootTree*, NumBranchTypes> edm::RootFile::RootTreePtrArray |
Definition at line 52 of file RootFile.h.
edm::RootFile::RootFile | ( | std::string const & | fileName, |
ProcessConfiguration const & | processConfiguration, | ||
std::string const & | logicalFileName, | ||
boost::shared_ptr< InputFile > | filePtr, | ||
boost::shared_ptr< EventSkipperByID > | eventSkipperByID, | ||
bool | skipAnyEvents, | ||
int | remainingEvents, | ||
int | remainingLumis, | ||
unsigned int | treeCacheSize, | ||
int | treeMaxVirtualSize, | ||
InputSource::ProcessingMode | processingMode, | ||
RunNumber_t const & | forcedRunNumber, | ||
bool | noEventSort, | ||
GroupSelectorRules const & | groupSelectorRules, | ||
InputType::InputType | inputType, | ||
boost::shared_ptr< DuplicateChecker > | duplicateChecker, | ||
bool | dropDescendantsOfDroppedProducts, | ||
std::vector< boost::shared_ptr< IndexIntoFile > > const & | indexesIntoFiles, | ||
std::vector< boost::shared_ptr< IndexIntoFile > >::size_type | currentIndexIntoFile, | ||
std::vector< ProcessHistoryID > & | orderedProcessHistoryIDs, | ||
bool | labelRawDataLikeMC, | ||
bool | usingGoToEvent | ||
) |
Definition at line 122 of file RootFile.cc.
References edm::IndexIntoFile::begin(), branchChildren_, edm::poolNames::branchIDListBranchName(), branchIDLists_, branchListIndexesUnchanged_, edm::BranchDescription::branchName(), edm::BranchDescription::branchType(), edm::BranchTypeToAuxiliaryBranchName(), checkReleaseVersion(), edm::BranchDescription::className(), edm::ProductRegistry::copyProduct(), daqProvenanceHelper_, edm::roottree::defaultNonEventCacheSize, edm::IndexIntoFile::doneFileInitialization(), dropOnInput(), edm::IndexIntoFile::end(), edm::errors::EventCorruption, edm::poolNames::eventHistoryBranchName(), eventProcessHistoryIDs_, eventProcessHistoryIter_, eventSkipperByID_, edm::FileBlock::EventsOrLumisSelectedByID, eventTree_, edm::hlt::Exception, fid_, file_, fileFormatVersion(), fileFormatVersion_, edm::poolNames::fileFormatVersionBranchName(), edm::poolNames::fileIdentifierBranchName(), filePtr_, edm::errors::FileReadError, edm::fillProductRegistryTransients(), edm::IndexIntoFile::firstAppearanceOrder, forcedRunOffset_, edm::BranchDescription::friendlyClassName(), edm::friendlyname::friendlyName(), edm::roottree::getEntry(), hasNewlyDroppedBranch_, i, edm::poolNames::idToParameterSetBlobsBranchName(), indexIntoFile_, indexIntoFileBegin_, edm::poolNames::indexIntoFileBranchName(), indexIntoFileEnd_, indexIntoFileIter_, edm::InEvent, edm::BranchDescription::init(), initializeDuplicateChecker(), edm::InLumi, edm::InRun, edm::detail::ThreadSafeRegistry< KEY, T, E >::insertCollection(), edm::detail::ThreadSafeRegistry< KEY, T, E >::insertMapped(), edm::detail::ThreadSafeRegistry< KEY, T, E >::instance(), lumiTree_, makeProvenanceReaderMaker(), edm::poolNames::metaDataTreeName(), edm::poolNames::moduleDescriptionMapBranchName(), newBranchToOldBranch(), newBranchToOldBranch_, edm::IndexIntoFile::numericalOrder, edm::poolNames::parameterSetMapBranchName(), edm::poolNames::parameterSetsTreeName(), edm::InputType::Primary, edm::poolNames::processConfigurationBranchName(), processConfigurations_, edm::poolNames::processHistoryBranchName(), edm::poolNames::processHistoryMapBranchName(), parseEventContent::prod, edm::poolNames::productDependenciesBranchName(), edm::poolNames::productDescriptionBranchName(), edm::ProductRegistry::productList(), edm::ProductRegistry::productListUpdator(), productRegistry(), productRegistry_, provenanceAdaptor_, provenanceReaderMaker_, readEventHistoryTree(), readParentageTree(), fetchall_from_DQM_v2::release, edm::RootTree::resetTraining(), runTree_, secondaryEventPrincipal_, edm::InputType::SecondarySource, edm::ParameterSet::setID(), setIfFastClonable(), edm::setRefCoreStreamer(), LaserTracksInput_cfi::source, edm::RootTree::trainCache(), edm::roottree::trainCache(), treePointers_, edm::errors::UnimplementedFeature, edm::BranchDescription::updateFriendlyClassName(), edm::BranchIDListHelper::updateFromInput(), validateFile(), and whyNotFastClonable_.
edm::RootFile::~RootFile | ( | ) |
Definition at line 479 of file RootFile.cc.
|
delete |
|
inline |
Definition at line 95 of file RootFile.h.
References branchIDLists_.
|
inline |
Definition at line 107 of file RootFile.h.
References branchListIndexesUnchanged_.
Referenced by createFileBlock().
|
private |
Definition at line 1649 of file RootFile.cc.
References edm::hlt::Exception, file(), edm::errors::FormatIncompatibility, edm::getReleaseVersion(), edm::releaseversion::isEarlierRelease(), and processConfigurations_.
Referenced by RootFile().
EventPrincipal * edm::RootFile::clearAndReadCurrentEvent | ( | EventPrincipal & | cache, |
boost::shared_ptr< LuminosityBlockPrincipal > | lb = boost::shared_ptr<LuminosityBlockPrincipal>() |
||
) |
Definition at line 1407 of file RootFile.cc.
References edm::EventPrincipal::clearEventPrincipal(), and readCurrentEvent().
void edm::RootFile::close | ( | void | ) |
Definition at line 1112 of file RootFile.cc.
References eventHistoryTree_, filePtr_, and treePointers_.
Referenced by lumiQTWidget.ApplicationWindow::fileQuit(), Vispa.Gui.BoxContentDialog.BoxContentDialog::keyPressEvent(), and Vispa.Gui.FindDialog.FindDialog::keyPressEvent().
boost::shared_ptr< FileBlock > edm::RootFile::createFileBlock | ( | ) | const |
Definition at line 621 of file RootFile.cc.
References branchChildren_, branchListIndexesUnchanged(), eventTree_, file_, fileFormatVersion(), hasNewlyDroppedBranch(), lumiTree_, edm::RootTree::metaTree(), modifiedIDs(), runTree_, edm::RootTree::tree(), and whyNotFastClonable().
|
private |
Definition at line 1680 of file RootFile.cc.
References edm::ProductRegistry::allBranchDescriptions(), branchChildren_, edm::BranchDescription::branchID(), edm::BranchDescription::branchName(), edm::BranchDescription::branchType(), CommonMethods::cp(), drop, file_, edm::BranchDescription::getInterface(), hasNewlyDroppedBranch_, edm::InEvent, edm::GroupSelector::initialize(), newBranchToOldBranch(), parseEventContent::prod, edm::ProductRegistry::productListUpdator(), edm::InputType::SecondaryFile, edm::GroupSelector::selected(), treePointers_, and edm::BranchDescription::wrappedName().
Referenced by RootFile().
|
inline |
Definition at line 96 of file RootFile.h.
References eventAux_.
Referenced by eventID(), fillHistory(), fillIndexIntoFile(), fillThisEventAuxiliary(), initializeDuplicateChecker(), readCurrentEvent(), readEvent(), readLuminosityBlockAuxiliary_(), and readRunAuxiliary_().
|
inline |
Definition at line 100 of file RootFile.h.
References eventAux(), and edm::EventAuxiliary::id().
Referenced by readCurrentEvent().
|
inline |
|
inline |
|
inline |
Definition at line 104 of file RootFile.h.
References fileFormatVersion_.
Referenced by createFileBlock(), fillHistory(), fillIndexIntoFile(), fillLumiAuxiliary(), fillRunAuxiliary(), fillThisEventAuxiliary(), readCurrentEvent(), readEntryDescriptionTree(), readEvent(), readEventHistoryTree(), readLuminosityBlockAuxiliary_(), readParentageTree(), readRunAuxiliary_(), RootFile(), setIfFastClonable(), and validateFile().
|
private |
Definition at line 1143 of file RootFile.cc.
References edm::IndexIntoFile::IndexIntoFileItr::entry(), eventTree_, fillThisEventAuxiliary(), indexIntoFileIter_, and edm::RootTree::setEntryNumber().
Referenced by isDuplicateEvent(), skipEvents(), and skipThisEntry().
|
private |
Definition at line 1149 of file RootFile.cc.
References branchListIndexes_, edm::poolNames::branchListIndexesBranchName(), daqProvenanceHelper_, alignCSCRings::e, edm::RootTree::entryNumber(), event(), eventAux(), eventAux_, edm::errors::EventCorruption, edm::poolNames::eventHistoryBranchName(), edm::FileFormatVersion::eventHistoryTree(), eventHistoryTree_, eventProcessHistoryIDs_, eventProcessHistoryIter_, eventSelectionIDs_, edm::poolNames::eventSelectionsBranchName(), eventTree_, edm::hlt::Exception, fileFormatVersion(), edm::RootTree::fillBranchEntry(), edm::BranchIDListHelper::fixBranchListIndexes(), edm::roottree::getEntry(), history_, i, errorMatrix2Lands_multiChannel::id, edm::lower_bound_all(), edm::FileFormatVersion::noMetaDataTrees(), edm::EventAuxiliary::processHistoryID(), provenanceAdaptor_, DTTTrigCorrFirst::run, edm::EventAuxiliary::setProcessHistoryID(), edm::FileFormatVersion::splitProductIDs(), filterCSVwithJSON::target, and edm::RootTree::tree().
Referenced by fillIndexIntoFile(), readCurrentEvent(), and readRunAuxiliary_().
|
private |
Definition at line 823 of file RootFile.cc.
References edm::RootTree::entries(), python.tagInventory::entries, edm::RootTree::entryNumber(), event(), eventAux(), eventAux_, eventTree_, edm::detail::ThreadSafeRegistry< KEY, T, E >::extra(), fileFormatVersion(), fillHistory(), fillLumiAuxiliary(), fillRunAuxiliary(), fillThisEventAuxiliary(), edm::find_in_all(), i, indexIntoFile_, edm::detail::ThreadSafeRegistry< KEY, T, E >::instance(), edm::RootTree::isValid(), lastEventEntryNumberRead_, summaryLumi::lcount, edm::EventAuxiliary::luminosityBlock(), edmLumisInFiles::lumis, lumiTree_, edm::RootTree::next(), DTTTrigCorrFirst::run, edm::EventAuxiliary::run(), gather_cfg::runs, runTree_, edm::second(), edm::RootTree::setEntryNumber(), edm::IndexIntoFile::setProcessHistoryIDs(), edm::IndexIntoFile::setRunOrLumiEntries(), edm::stable_sort_all(), and edm::IndexIntoFile::unsortedEventNumbers().
Referenced by validateFile().
|
private |
Definition at line 1205 of file RootFile.cc.
References edm::conversion(), daqProvenanceHelper_, fileFormatVersion(), edm::RootTree::fillAux(), lumiTree_, provenanceAdaptor_, and edm::FileFormatVersion::runsAndLumis().
Referenced by fillIndexIntoFile(), and readLuminosityBlockAuxiliary_().
|
private |
Definition at line 1229 of file RootFile.cc.
References edm::conversion(), daqProvenanceHelper_, fileFormatVersion(), edm::RootTree::fillAux(), provenanceAdaptor_, and runTree_.
Referenced by fillIndexIntoFile(), and readRunAuxiliary_().
|
private |
Definition at line 1124 of file RootFile.cc.
References edm::conversion(), edm::RootTree::entryNumber(), eventAux(), eventAux_, eventTree_, fileFormatVersion(), edm::RootTree::fillAux(), lastEventEntryNumberRead_, and edm::FileFormatVersion::newAuxiliary().
Referenced by fillEventAuxiliary(), fillIndexIntoFile(), initializeDuplicateChecker(), readCurrentEvent(), readLuminosityBlockAuxiliary_(), readRunAuxiliary_(), and skipEvents().
|
private |
Definition at line 701 of file RootFile.cc.
References edm::IndexIntoFile::IndexIntoFileItr::advanceToNextLumiOrRun(), edm::IndexIntoFile::IndexIntoFileItr::advanceToNextRun(), edm::IndexIntoFile::IndexIntoFileItr::getEntryType(), indexIntoFileIter_, edm::IndexIntoFile::kLumi, edm::IndexIntoFile::kRun, and skipThisEntry().
Referenced by getNextEntryTypeWanted().
IndexIntoFile::EntryType edm::RootFile::getNextEntryTypeWanted | ( | ) |
Definition at line 728 of file RootFile.cc.
References edm::IndexIntoFile::IndexIntoFileItr::advanceToNextLumiOrRun(), edm::IndexIntoFile::IndexIntoFileItr::advanceToNextRun(), getEntryTypeWithSkipping(), indexIntoFileIter_, isDuplicateEvent(), edm::IndexIntoFile::kEnd, edm::IndexIntoFile::kEvent, edm::IndexIntoFile::kLumi, edm::IndexIntoFile::kRun, processingMode_, edm::InputSource::Runs, and edm::InputSource::RunsAndLumis.
bool edm::RootFile::goToEvent | ( | EventID const & | eventID | ) |
Definition at line 1321 of file RootFile.cc.
References duplicateChecker_, edm::IndexIntoFile::end(), edm::EventID::event(), edm::IndexIntoFile::fillEventNumbers(), edm::IndexIntoFile::findPosition(), edm::IndexIntoFile::firstAppearanceOrder, indexIntoFile_, indexIntoFileIter_, edm::EventID::luminosityBlock(), noEventSort_, edm::IndexIntoFile::numericalOrder, and edm::EventID::run().
|
inline |
Definition at line 106 of file RootFile.h.
References hasNewlyDroppedBranch_.
Referenced by createFileBlock().
IndexIntoFile::IndexIntoFileItr edm::RootFile::indexIntoFileIter | ( | ) | const |
Definition at line 647 of file RootFile.cc.
References indexIntoFileIter_.
|
inline |
Definition at line 133 of file RootFile.h.
References indexIntoFileSharedPtr_.
|
private |
Definition at line 1664 of file RootFile.cc.
References duplicateChecker_, eventAux(), eventTree_, fillThisEventAuxiliary(), indexIntoFile_, edm::RootTree::next(), and edm::RootTree::setEntryNumber().
Referenced by RootFile().
|
private |
Definition at line 717 of file RootFile.cc.
References duplicateChecker_, edm::EventID::event(), eventAux_, file_, fillEventAuxiliary(), edm::IndexIntoFile::IndexIntoFileItr::getEntryType(), edm::EventAuxiliary::id(), indexIntoFileIter_, edm::IndexIntoFile::kEvent, edm::IndexIntoFile::IndexIntoFileItr::lumi(), edm::IndexIntoFile::IndexIntoFileItr::processHistoryIDIndex(), and edm::IndexIntoFile::IndexIntoFileItr::run().
Referenced by getNextEntryTypeWanted().
|
inline |
|
private |
Definition at line 1758 of file RootFile.cc.
References daqProvenanceHelper_, eventBranchMapper_, eventTree_, and provenanceReaderMaker_.
Referenced by readCurrentEvent().
|
private |
Definition at line 1745 of file RootFile.cc.
References fileFormatVersion_, parentageIDLookup_, edm::FileFormatVersion::perEventProductIDs(), edm::FileFormatVersion::splitProductIDs(), and edm::FileFormatVersion::storedProductProvenanceUsed().
Referenced by RootFile().
|
inline |
Definition at line 108 of file RootFile.h.
References daqProvenanceHelper_.
Referenced by createFileBlock().
|
private |
Definition at line 638 of file RootFile.cc.
References newBranchToOldBranch_.
Referenced by dropOnInput(), and RootFile().
|
inline |
|
private |
Definition at line 1605 of file RootFile.cc.
References edm::RunID::firstValidRun(), forcedRunOffset_, and DTTTrigCorrFirst::run.
Referenced by readCurrentEvent(), readLuminosityBlockAuxiliary_(), and readRunAuxiliary_().
|
private |
Definition at line 1613 of file RootFile.cc.
References edm::RunID::firstValidRun(), forcedRunOffset_, and DTTTrigCorrFirst::run.
|
private |
Definition at line 1621 of file RootFile.cc.
References edm::errors::Configuration, event(), edm::hlt::Exception, edm::LuminosityBlockID::firstValidLuminosityBlock(), edm::RunID::firstValidRun(), forcedRunOffset_, and DTTTrigCorrFirst::run.
|
inline |
Definition at line 94 of file RootFile.h.
References productRegistry_.
Referenced by RootFile().
EventPrincipal * edm::RootFile::readCurrentEvent | ( | EventPrincipal & | cache, |
boost::shared_ptr< LuminosityBlockPrincipal > | lb = boost::shared_ptr<LuminosityBlockPrincipal>() |
||
) |
Definition at line 1379 of file RootFile.cc.
References branchListIndexes_, edm::RootTree::current(), event(), eventAux(), eventAux_, eventID(), eventSelectionIDs_, eventTree_, fileFormatVersion(), filePtr_, edm::EventPrincipal::fillEventPrincipal(), fillHistory(), fillThisEventAuxiliary(), edm::EventAuxiliary::id(), edm::EventAuxiliary::isRealData(), makeBranchMapper(), edm::EventAuxiliary::oldLuminosityBlock(), overrideRunNumber(), edm::EventAuxiliary::resetObsoleteInfo(), edm::RootTree::rootDelayedReader(), and DTTTrigCorrFirst::run.
Referenced by clearAndReadCurrentEvent(), and readEvent().
|
private |
Definition at line 483 of file RootFile.cc.
References daqProvenanceHelper_, edm::poolNames::entryDescriptionBranchName(), edm::poolNames::entryDescriptionIDBranchName(), edm::poolNames::entryDescriptionTreeName(), edm::errors::EventCorruption, edm::hlt::Exception, fileFormatVersion(), filePtr_, edm::errors::FileReadError, edm::roottree::getEntry(), i, edm::Parentage::id(), edm::EventEntryDescription::id(), edm::detail::ThreadSafeRegistry< KEY, T, E >::insertMapped(), edm::detail::ThreadSafeRegistry< KEY, T, E >::instance(), edm::numEntries(), parents, edm::Parentage::parents(), edm::EventEntryDescription::parents(), and PhysicsTools::registry.
Referenced by readParentageTree().
EventPrincipal * edm::RootFile::readEvent | ( | EventPrincipal & | cache, |
boost::shared_ptr< LuminosityBlockPrincipal > | lb = boost::shared_ptr<LuminosityBlockPrincipal>() |
||
) |
Definition at line 1356 of file RootFile.cc.
References daqProvenanceHelper_, edm::IndexIntoFile::IndexIntoFileItr::entry(), eventAux(), eventTree_, edm::detail::ThreadSafeRegistry< KEY, T, E >::extra(), fileFormatVersion(), forcedRunOffset_, edm::IndexIntoFile::IndexIntoFileItr::getEntryType(), indexIntoFile_, indexIntoFileEnd_, indexIntoFileIter_, edm::detail::ThreadSafeRegistry< KEY, T, E >::instance(), edm::IndexIntoFile::kEvent, edm::IndexIntoFile::IndexIntoFileItr::lumi(), edm::EventAuxiliary::processHistoryID(), edm::IndexIntoFile::processHistoryID(), edm::IndexIntoFile::IndexIntoFileItr::processHistoryIDIndex(), readCurrentEvent(), DTTTrigCorrFirst::run, edm::IndexIntoFile::IndexIntoFileItr::run(), edm::RootTree::setEntryNumber(), and edm::FileFormatVersion::useReducedProcessHistoryID().
|
private |
Definition at line 1636 of file RootFile.cc.
References edm::errors::EventCorruption, eventHistoryTree_, edm::poolNames::eventHistoryTreeName(), edm::hlt::Exception, fileFormatVersion(), filePtr_, and history_.
Referenced by RootFile().
boost::shared_ptr< LuminosityBlockPrincipal > edm::RootFile::readLumi | ( | boost::shared_ptr< LuminosityBlockPrincipal > | lbCache | ) |
Definition at line 1550 of file RootFile.cc.
References edm::IndexIntoFile::IndexIntoFileItr::entry(), edm::IndexIntoFile::IndexIntoFileItr::getEntryType(), indexIntoFileEnd_, indexIntoFileIter_, edm::RootTree::isValid(), edm::IndexIntoFile::kLumi, lumiTree_, edm::RootTree::rootDelayedReader(), and edm::RootTree::setEntryNumber().
boost::shared_ptr< LuminosityBlockAuxiliary > edm::RootFile::readLuminosityBlockAuxiliary_ | ( | ) |
Definition at line 1506 of file RootFile.cc.
References edm::RootTree::current(), edm::IndexIntoFile::IndexIntoFileItr::entry(), edm::RootTree::entryNumber(), eventAux(), eventTree_, fileFormatVersion(), filePtr_, fillLumiAuxiliary(), fillThisEventAuxiliary(), edm::IndexIntoFile::IndexIntoFileItr::firstEventEntryThisLumi(), edm::IndexIntoFile::IndexIntoFileItr::getEntryType(), indexIntoFileEnd_, indexIntoFileIter_, edm::IndexIntoFile::invalidEntry, edm::Timestamp::invalidTimestamp(), edm::RootTree::isValid(), edm::IndexIntoFile::kLumi, fjr2json::lumi, edm::IndexIntoFile::IndexIntoFileItr::lumi(), edm::LuminosityBlockID::luminosityBlock(), lumiTree_, overrideRunNumber(), edm::LuminosityBlockID::run(), edm::IndexIntoFile::IndexIntoFileItr::run(), savedRunAuxiliary_, edm::RootTree::setEntryNumber(), cond::rpcobgas::time, and edm::EventAuxiliary::time().
|
private |
Definition at line 529 of file RootFile.cc.
References daqProvenanceHelper_, edm::hlt::Exception, fileFormatVersion(), filePtr_, edm::errors::FileReadError, edm::roottree::getEntry(), i, edm::Parentage::id(), edm::detail::ThreadSafeRegistry< KEY, T, E >::insertMapped(), edm::detail::ThreadSafeRegistry< KEY, T, E >::instance(), edm::numEntries(), edm::poolNames::parentageBranchName(), parentageIDLookup_, edm::poolNames::parentageTreeName(), parents, edm::Parentage::parents(), readEntryDescriptionTree(), and PhysicsTools::registry.
Referenced by RootFile().
boost::shared_ptr< RunPrincipal > edm::RootFile::readRun_ | ( | boost::shared_ptr< RunPrincipal > | rpCache | ) |
Definition at line 1489 of file RootFile.cc.
References edm::IndexIntoFile::IndexIntoFileItr::getEntryType(), indexIntoFileEnd_, indexIntoFileIter_, edm::RootTree::isValid(), edm::IndexIntoFile::kRun, edm::RootTree::rootDelayedReader(), and runTree_.
boost::shared_ptr< RunAuxiliary > edm::RootFile::readRunAuxiliary_ | ( | ) |
Definition at line 1419 of file RootFile.cc.
References edm::RootTree::current(), edm::IndexIntoFile::IndexIntoFileItr::entry(), edm::RootTree::entryNumber(), eventAux(), eventTree_, fileFormatVersion(), filePtr_, fillHistory(), fillRunAuxiliary(), fillThisEventAuxiliary(), edm::IndexIntoFile::IndexIntoFileItr::firstEventEntryThisRun(), edm::IndexIntoFile::IndexIntoFileItr::getEntryType(), indexIntoFileEnd_, indexIntoFileIter_, edm::IndexIntoFile::invalidEntry, edm::Timestamp::invalidTimestamp(), edm::RootTree::isValid(), edm::IndexIntoFile::kRun, overrideRunNumber(), edm::FileFormatVersion::processHistorySameWithinRun(), edm::RunID::run(), DTTTrigCorrFirst::run, edm::IndexIntoFile::IndexIntoFileItr::run(), runTree_, savedRunAuxiliary_, edm::RootTree::setEntryNumber(), cond::rpcobgas::time, and edm::EventAuxiliary::time().
void edm::RootFile::reportOpened | ( | std::string const & | inputType | ) |
Definition at line 1098 of file RootFile.cc.
References edm::RootTree::branchNames(), eventTree_, edm::FileID::fid(), fid_, filePtr_, diffTwoXMLs::label, and logicalFile_.
|
inline |
Definition at line 119 of file RootFile.h.
References eventTree_, indexIntoFileBegin_, indexIntoFileIter_, lumiTree_, edm::RootTree::rewind(), and runTree_.
|
inline |
|
inline |
Definition at line 140 of file RootFile.h.
References secondaryEventPrincipal_.
void edm::RootFile::setAtEventEntry | ( | IndexIntoFile::EntryNumber_t | entry | ) |
Definition at line 1414 of file RootFile.cc.
References eventTree_, and edm::RootTree::setEntryNumber().
bool edm::RootFile::setEntryAtEvent | ( | RunNumber_t | run, |
LuminosityBlockNumber_t | lumi, | ||
EventNumber_t | event | ||
) |
Definition at line 1568 of file RootFile.cc.
References edm::IndexIntoFile::IndexIntoFileItr::entry(), eventTree_, edm::IndexIntoFile::findEventPosition(), indexIntoFile_, indexIntoFileEnd_, indexIntoFileIter_, and edm::RootTree::setEntryNumber().
Referenced by setEntryAtItem().
|
inline |
Definition at line 110 of file RootFile.h.
References setEntryAtEvent(), setEntryAtLumi(), and setEntryAtRun().
bool edm::RootFile::setEntryAtLumi | ( | RunNumber_t | run, |
LuminosityBlockNumber_t | lumi | ||
) |
Definition at line 1576 of file RootFile.cc.
References edm::IndexIntoFile::IndexIntoFileItr::entry(), edm::IndexIntoFile::findLumiPosition(), indexIntoFile_, indexIntoFileEnd_, indexIntoFileIter_, lumiTree_, and edm::RootTree::setEntryNumber().
Referenced by setEntryAtItem().
bool edm::RootFile::setEntryAtNextEventInLumi | ( | RunNumber_t | run, |
LuminosityBlockNumber_t | lumi | ||
) |
Definition at line 1592 of file RootFile.cc.
References edm::IndexIntoFile::IndexIntoFileItr::advanceToEvent(), edm::IndexIntoFile::IndexIntoFileItr::entry(), eventTree_, edm::IndexIntoFile::IndexIntoFileItr::getEntryType(), indexIntoFileIter_, edm::IndexIntoFile::kEvent, edm::IndexIntoFile::IndexIntoFileItr::lumi(), edm::IndexIntoFile::IndexIntoFileItr::run(), and edm::RootTree::setEntryNumber().
bool edm::RootFile::setEntryAtRun | ( | RunNumber_t | run | ) |
Definition at line 1584 of file RootFile.cc.
References edm::IndexIntoFile::IndexIntoFileItr::entry(), edm::IndexIntoFile::findRunPosition(), indexIntoFile_, indexIntoFileEnd_, indexIntoFileIter_, runTree_, and edm::RootTree::setEntryNumber().
Referenced by setEntryAtItem().
|
private |
Definition at line 567 of file RootFile.cc.
References duplicateChecker_, edm::FileBlock::DuplicateEventsRemoved, edm::RootTree::entries(), edm::FileBlock::EventsToBeSorted, eventTree_, fileFormatVersion(), edm::FileBlock::FileTooOld, edm::IndexIntoFile::firstAppearanceOrder, edm::IndexIntoFile::IndexIntoFileItr::getEntryType(), indexIntoFile_, indexIntoFileBegin_, indexIntoFileEnd_, edm::FileBlock::InitialEventsSkipped, edm::IndexIntoFile::iterationWillBeInEntryOrder(), edm::IndexIntoFile::kEvent, lumiTree_, edm::FileBlock::MaxEventsTooSmall, edm::FileBlock::MaxLumisTooSmall, edm::FileBlock::NoEventsInFile, noEventSort_, edm::FileBlock::NotProcessingEvents, edm::IndexIntoFile::numericalOrder, processingMode_, edm::FileBlock::RunOrLumiNotContiguous, edm::InputSource::RunsLumisAndEvents, skipAnyEvents_, and whyNotFastClonable_.
Referenced by RootFile().
void edm::RootFile::setPosition | ( | IndexIntoFile::IndexIntoFileItr const & | position | ) |
Definition at line 652 of file RootFile.cc.
References edm::IndexIntoFile::IndexIntoFileItr::copyPosition(), and indexIntoFileIter_.
|
inline |
Definition at line 125 of file RootFile.h.
References indexIntoFileEnd_, and indexIntoFileIter_.
bool edm::RootFile::skipEvents | ( | int & | offset | ) |
Definition at line 1250 of file RootFile.cc.
References duplicateChecker_, edm::EventID::event(), eventAux_, eventSkipperByID_, eventTree_, file_, fillEventAuxiliary(), fillThisEventAuxiliary(), edm::EventAuxiliary::id(), indexIntoFileEnd_, indexIntoFileIter_, edm::IndexIntoFile::invalidEntry, edm::IndexIntoFile::invalidIndex, edm::IndexIntoFile::invalidLumi, edm::IndexIntoFile::invalidRun, evf::evtn::offset(), edm::RootTree::setEntryNumber(), edm::IndexIntoFile::IndexIntoFileItr::skipEventBackward(), and edm::IndexIntoFile::IndexIntoFileItr::skipEventForward().
|
private |
Definition at line 657 of file RootFile.cc.
References edm::EventID::event(), eventAux_, eventSkipperByID_, fillEventAuxiliary(), edm::IndexIntoFile::IndexIntoFileItr::getEntryType(), edm::EventAuxiliary::id(), indexIntoFileEnd_, indexIntoFileIter_, edm::IndexIntoFile::invalidLumi, edm::IndexIntoFile::kEvent, edm::IndexIntoFile::kRun, edm::IndexIntoFile::IndexIntoFileItr::lumi(), edm::IndexIntoFile::IndexIntoFileItr::peekAheadAtLumi(), edm::IndexIntoFile::IndexIntoFileItr::run(), and edm::IndexIntoFile::IndexIntoFileItr::skipLumiInRun().
Referenced by getEntryTypeWithSkipping().
|
inlineprivate |
|
private |
Definition at line 1049 of file RootFile.cc.
References edm::createGlobalIdentifier(), daqProvenanceHelper_, duplicateChecker_, edm::IndexIntoFile::empty(), edm::RootTree::entries(), python.tagInventory::entries, edm::errors::EventCorruption, eventTree_, edm::hlt::Exception, fid_, fileFormatVersion(), edm::IndexIntoFile::fillEventNumbersOrEntries(), fillIndexIntoFile(), edm::IndexIntoFile::fixIndexes(), indexIntoFile_, edm::FileID::isValid(), edm::RootTree::isValid(), noEventSort_, orderedProcessHistoryIDs_, edm::InputType::Primary, edm::IndexIntoFile::reduceProcessHistoryIDs(), runTree(), edm::IndexIntoFile::setEventFinder(), edm::IndexIntoFile::setNumberOfEvents(), edm::IndexIntoFile::setProcessHistoryIDs(), and edm::FileFormatVersion::useReducedProcessHistoryID().
Referenced by RootFile().
bool edm::RootFile::wasFirstEventJustRead | ( | ) | const |
Definition at line 760 of file RootFile.cc.
References indexIntoFileIter_, edm::IndexIntoFile::invalidEntry, fjr2json::lumi, DTTTrigCorrFirst::run, and edm::IndexIntoFile::IndexIntoFileItr::skipEventBackward().
bool edm::RootFile::wasLastEventJustRead | ( | ) | const |
Definition at line 753 of file RootFile.cc.
References edm::IndexIntoFile::IndexIntoFileItr::advanceToEvent(), edm::IndexIntoFile::IndexIntoFileItr::getEntryType(), indexIntoFileIter_, and edm::IndexIntoFile::kEnd.
|
inline |
Definition at line 105 of file RootFile.h.
References whyNotFastClonable_.
Referenced by createFileBlock().
|
private |
Definition at line 210 of file RootFile.h.
Referenced by createFileBlock(), dropOnInput(), and RootFile().
|
private |
Definition at line 202 of file RootFile.h.
Referenced by branchIDLists(), and RootFile().
|
private |
Definition at line 208 of file RootFile.h.
Referenced by fillHistory(), and readCurrentEvent().
|
private |
Definition at line 194 of file RootFile.h.
Referenced by branchListIndexesUnchanged(), and RootFile().
|
private |
Definition at line 217 of file RootFile.h.
Referenced by fillHistory(), fillLumiAuxiliary(), fillRunAuxiliary(), makeBranchMapper(), modifiedIDs(), readEntryDescriptionTree(), readEvent(), readParentageTree(), RootFile(), and validateFile().
|
private |
Definition at line 211 of file RootFile.h.
Referenced by goToEvent(), initializeDuplicateChecker(), isDuplicateEvent(), setIfFastClonable(), skipEvents(), and validateFile().
|
private |
Definition at line 195 of file RootFile.h.
Referenced by eventAux(), fillHistory(), fillIndexIntoFile(), fillThisEventAuxiliary(), isDuplicateEvent(), readCurrentEvent(), skipEvents(), and skipThisEntry().
|
mutableprivate |
Definition at line 215 of file RootFile.h.
Referenced by makeBranchMapper().
|
private |
Definition at line 206 of file RootFile.h.
Referenced by close(), fillHistory(), and readEventHistoryTree().
|
private |
Definition at line 187 of file RootFile.h.
Referenced by fillHistory(), and RootFile().
|
private |
Definition at line 188 of file RootFile.h.
Referenced by fillHistory(), and RootFile().
|
private |
Definition at line 207 of file RootFile.h.
Referenced by fillHistory(), and readCurrentEvent().
|
private |
Definition at line 178 of file RootFile.h.
Referenced by RootFile(), skipEvents(), and skipThisEntry().
|
private |
Definition at line 196 of file RootFile.h.
Referenced by createFileBlock(), eventTree(), fillEventAuxiliary(), fillHistory(), fillIndexIntoFile(), fillThisEventAuxiliary(), initializeDuplicateChecker(), makeBranchMapper(), nextEventEntry(), readCurrentEvent(), readEvent(), readLuminosityBlockAuxiliary_(), readRunAuxiliary_(), reportOpened(), rewind(), RootFile(), setAtEventEntry(), setEntryAtEvent(), setEntryAtNextEventInLumi(), setIfFastClonable(), skipEvents(), and validateFile().
|
private |
Definition at line 180 of file RootFile.h.
Referenced by reportOpened(), RootFile(), and validateFile().
|
private |
Definition at line 173 of file RootFile.h.
Referenced by createFileBlock(), dropOnInput(), file(), isDuplicateEvent(), RootFile(), and skipEvents().
|
private |
Definition at line 179 of file RootFile.h.
Referenced by fileFormatVersion(), makeProvenanceReaderMaker(), and RootFile().
|
private |
Definition at line 177 of file RootFile.h.
Referenced by close(), readCurrentEvent(), readEntryDescriptionTree(), readEventHistoryTree(), readLuminosityBlockAuxiliary_(), readParentageTree(), readRunAuxiliary_(), reportOpened(), and RootFile().
|
private |
Definition at line 204 of file RootFile.h.
Referenced by overrideRunNumber(), readEvent(), and RootFile().
|
private |
Definition at line 193 of file RootFile.h.
Referenced by dropOnInput(), hasNewlyDroppedBranch(), and RootFile().
|
private |
Definition at line 209 of file RootFile.h.
Referenced by fillHistory(), and readEventHistoryTree().
|
private |
Definition at line 182 of file RootFile.h.
Referenced by fillIndexIntoFile(), goToEvent(), initializeDuplicateChecker(), readEvent(), RootFile(), setEntryAtEvent(), setEntryAtLumi(), setEntryAtRun(), setIfFastClonable(), and validateFile().
|
private |
Definition at line 184 of file RootFile.h.
Referenced by rewind(), RootFile(), and setIfFastClonable().
|
private |
Definition at line 185 of file RootFile.h.
Referenced by readEvent(), readLumi(), readLuminosityBlockAuxiliary_(), readRun_(), readRunAuxiliary_(), RootFile(), setEntryAtEvent(), setEntryAtLumi(), setEntryAtRun(), setIfFastClonable(), setToLastEntry(), skipEvents(), and skipThisEntry().
|
private |
Definition at line 186 of file RootFile.h.
Referenced by fillEventAuxiliary(), getEntryTypeWithSkipping(), getNextEntryTypeWanted(), goToEvent(), indexIntoFileIter(), isDuplicateEvent(), readEvent(), readLumi(), readLuminosityBlockAuxiliary_(), readRun_(), readRunAuxiliary_(), rewind(), RootFile(), setEntryAtEvent(), setEntryAtLumi(), setEntryAtNextEventInLumi(), setEntryAtRun(), setPosition(), setToLastEntry(), skipEvents(), skipThisEntry(), wasFirstEventJustRead(), and wasLastEventJustRead().
|
private |
Definition at line 181 of file RootFile.h.
Referenced by indexIntoFileSharedPtr().
|
private |
Definition at line 200 of file RootFile.h.
Referenced by fillIndexIntoFile(), and fillThisEventAuxiliary().
|
private |
Definition at line 174 of file RootFile.h.
Referenced by reportOpened().
|
private |
Definition at line 197 of file RootFile.h.
Referenced by createFileBlock(), fillIndexIntoFile(), fillLumiAuxiliary(), lumiTree(), readLumi(), readLuminosityBlockAuxiliary_(), rewind(), RootFile(), setEntryAtLumi(), and setIfFastClonable().
|
private |
Definition at line 205 of file RootFile.h.
Referenced by newBranchToOldBranch(), and RootFile().
|
private |
Definition at line 191 of file RootFile.h.
Referenced by goToEvent(), setIfFastClonable(), and validateFile().
|
private |
Definition at line 183 of file RootFile.h.
Referenced by validateFile().
|
private |
Definition at line 216 of file RootFile.h.
Referenced by makeProvenanceReaderMaker(), and readParentageTree().
|
private |
Definition at line 175 of file RootFile.h.
|
private |
Definition at line 176 of file RootFile.h.
Referenced by checkReleaseVersion(), and RootFile().
|
private |
Definition at line 203 of file RootFile.h.
Referenced by getNextEntryTypeWanted(), and setIfFastClonable().
|
private |
Definition at line 201 of file RootFile.h.
Referenced by productRegistry(), and RootFile().
|
private |
Definition at line 212 of file RootFile.h.
Referenced by fillHistory(), fillLumiAuxiliary(), fillRunAuxiliary(), and RootFile().
|
private |
Definition at line 213 of file RootFile.h.
Referenced by makeBranchMapper(), and RootFile().
|
private |
Definition at line 198 of file RootFile.h.
Referenced by createFileBlock(), fillIndexIntoFile(), fillRunAuxiliary(), readRun_(), readRunAuxiliary_(), rewind(), RootFile(), runTree(), and setEntryAtRun().
|
private |
Definition at line 189 of file RootFile.h.
Referenced by readLuminosityBlockAuxiliary_(), and readRunAuxiliary_().
|
mutableprivate |
Definition at line 214 of file RootFile.h.
Referenced by RootFile(), and secondaryEventPrincipal().
|
private |
Definition at line 190 of file RootFile.h.
Referenced by setIfFastClonable().
|
private |
Definition at line 199 of file RootFile.h.
Referenced by close(), dropOnInput(), RootFile(), and treePointers().
|
private |
Definition at line 192 of file RootFile.h.
Referenced by RootFile(), setIfFastClonable(), and whyNotFastClonable().