CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes
edm::RootFile Class Reference

#include <RootFile.h>

Public Types

typedef std::array< RootTree
*, NumBranchTypes
RootTreePtrArray
 

Public Member Functions

std::shared_ptr
< BranchIDListHelper const > 
branchIDListHelper () const
 
std::shared_ptr
< BranchIDListHelper > & 
branchIDListHelper ()
 
bool branchListIndexesUnchanged () const
 
void close ()
 
bool containsItem (RunNumber_t run, LuminosityBlockNumber_t lumi, EventNumber_t event) const
 
std::unique_ptr< FileBlockcreateFileBlock () const
 
EventAuxiliary const & eventAux () const
 
EventID const & eventID () const
 
RootTree const & eventTree () const
 
std::string const & file () const
 
FileFormatVersion fileFormatVersion () const
 
IndexIntoFile::EntryType getNextItemType (RunNumber_t &run, LuminosityBlockNumber_t &lumi, EventNumber_t &event)
 
bool goToEvent (EventID const &eventID)
 
std::array< bool,
NumBranchTypes > const & 
hasNewlyDroppedBranch () const
 
IndexIntoFile::IndexIntoFileItr indexIntoFileIter () const
 
std::shared_ptr< IndexIntoFile
const > 
indexIntoFileSharedPtr () const
 
std::shared_ptr< IndexIntoFile > & indexIntoFileSharedPtr ()
 
void initAssociationsFromSecondary (std::vector< BranchID > const &)
 
RootTree const & lumiTree () const
 
bool modifiedIDs () const
 
bool nextEventEntry ()
 
RootFileoperator= (RootFile const &)=delete
 
std::shared_ptr
< ProductRegistry const > 
productRegistry () const
 
bool readCurrentEvent (EventPrincipal &cache)
 
void readEvent (EventPrincipal &cache)
 
void readFakeRun_ (RunPrincipal &runPrincipal)
 
std::shared_ptr< RunAuxiliaryreadFakeRunAuxiliary_ ()
 
void readLuminosityBlock_ (LuminosityBlockPrincipal &lumiPrincipal)
 
std::shared_ptr
< LuminosityBlockAuxiliary
readLuminosityBlockAuxiliary_ ()
 
void readRun_ (RunPrincipal &runPrincipal)
 
std::shared_ptr< RunAuxiliaryreadRunAuxiliary_ ()
 
void reportOpened (std::string const &inputType)
 
void rewind ()
 
 RootFile (std::string const &fileName, ProcessConfiguration const &processConfiguration, std::string const &logicalFileName, std::shared_ptr< InputFile > filePtr, std::shared_ptr< EventSkipperByID > eventSkipperByID, bool skipAnyEvents, int remainingEvents, int remainingLumis, unsigned int nStreams, unsigned int treeCacheSize, int treeMaxVirtualSize, InputSource::ProcessingMode processingMode, RunHelperBase *runHelper, bool noEventSort, ProductSelectorRules const &productSelectorRules, InputType inputType, std::shared_ptr< BranchIDListHelper > branchIDListHelper, std::shared_ptr< ThinnedAssociationsHelper > thinnedAssociationsHelper, std::vector< BranchID > const *associationsFromSecondary, std::shared_ptr< DuplicateChecker > duplicateChecker, bool dropDescendantsOfDroppedProducts, ProcessHistoryRegistry &processHistoryRegistry, std::vector< std::shared_ptr< IndexIntoFile > > const &indexesIntoFiles, std::vector< std::shared_ptr< IndexIntoFile > >::size_type currentIndexIntoFile, std::vector< ProcessHistoryID > &orderedProcessHistoryIDs, bool bypassVersionCheck, bool labelRawDataLikeMC, bool usingGoToEvent, bool enablePrefetching)
 
 RootFile (std::string const &fileName, ProcessConfiguration const &processConfiguration, std::string const &logicalFileName, std::shared_ptr< InputFile > filePtr, unsigned int nStreams, int treeMaxVirtualSize, InputSource::ProcessingMode processingMode, RunHelperBase *runHelper, ProductSelectorRules const &productSelectorRules, InputType inputType, std::shared_ptr< BranchIDListHelper > branchIDListHelper, std::shared_ptr< ThinnedAssociationsHelper > thinnedAssociationsHelper, std::vector< BranchID > const *associationsFromSecondary, bool dropDescendantsOfDroppedProducts, ProcessHistoryRegistry &processHistoryRegistry, std::vector< std::shared_ptr< IndexIntoFile > > const &indexesIntoFiles, std::vector< std::shared_ptr< IndexIntoFile > >::size_type currentIndexIntoFile, std::vector< ProcessHistoryID > &orderedProcessHistoryIDs, bool bypassVersionCheck, bool labelRawDataLikeMC, bool enablePrefetching)
 
 RootFile (std::string const &fileName, ProcessConfiguration const &processConfiguration, std::string const &logicalFileName, std::shared_ptr< InputFile > filePtr, unsigned int nStreams, int treeMaxVirtualSize, RunHelperBase *runHelper, ProductSelectorRules const &productSelectorRules, InputType inputType, ProcessHistoryRegistry &processHistoryRegistry, std::vector< std::shared_ptr< IndexIntoFile > > const &indexesIntoFiles, std::vector< std::shared_ptr< IndexIntoFile > >::size_type currentIndexIntoFile, std::vector< ProcessHistoryID > &orderedProcessHistoryIDs, bool bypassVersionCheck, bool enablePrefetching)
 
 RootFile (RootFile const &)=delete
 
RootTree const & runTree () const
 
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 skipEntries (unsigned int &offset)
 
bool skipEvents (int &offset)
 
bool wasFirstEventJustRead () const
 
bool wasLastEventJustRead () const
 
int whyNotFastClonable () const
 
 ~RootFile ()
 

Private Member Functions

std::shared_ptr
< BranchChildren const > 
branchChildren () const
 
std::shared_ptr< BranchChildren > & branchChildren ()
 
void dropOnInput (ProductRegistry &reg, ProductSelectorRules const &rules, bool dropDescendants, InputType inputType)
 
std::shared_ptr
< ProductProvenanceRetriever
const > 
eventProductProvenanceRetriever (size_t index) const
 
std::shared_ptr
< ProductProvenanceRetriever > & 
eventProductProvenanceRetriever (size_t index)
 
bool fillEventAuxiliary (IndexIntoFile::EntryNumber_t entry)
 
void fillEventHistory ()
 
void fillIndexIntoFile ()
 
std::shared_ptr
< LuminosityBlockAuxiliary
fillLumiAuxiliary ()
 
std::shared_ptr< RunAuxiliaryfillRunAuxiliary ()
 
void fillThisEventAuxiliary ()
 
void initializeDuplicateChecker (std::vector< std::shared_ptr< IndexIntoFile > > const &indexesIntoFiles, std::vector< std::shared_ptr< IndexIntoFile > >::size_type currentIndexIntoFile)
 
bool isDuplicateEvent ()
 
std::shared_ptr
< ProductProvenanceRetriever
makeProductProvenanceRetriever (unsigned int iStreamIndex)
 
std::unique_ptr
< MakeProvenanceReader
makeProvenanceReaderMaker (InputType inputType)
 
void markBranchToBeDropped (bool dropDescendants, BranchID const &branchID, std::set< BranchID > &branchesToDrop) const
 
std::string const & newBranchToOldBranch (std::string const &newBranch) const
 
void readEntryDescriptionTree (EntryDescriptionMap &entryDescriptionMap, InputType inputType)
 
void readEventHistoryTree ()
 
void readParentageTree (InputType inputType)
 
std::shared_ptr< RunAuxiliary
const > 
savedRunAuxiliary () const
 
std::shared_ptr< RunAuxiliary > & savedRunAuxiliary ()
 
void setIfFastClonable (int remainingEvents, int remainingLumis)
 
bool skipThisEntry ()
 
RootTreePtrArraytreePointers ()
 
void validateFile (InputType inputType, bool usingGoToEvent)
 

Private Attributes

edm::propagate_const
< std::shared_ptr
< BranchChildren > > 
branchChildren_
 
edm::propagate_const
< std::shared_ptr
< BranchIDListHelper > > 
branchIDListHelper_
 
std::shared_ptr< BranchIDLists
const > 
branchIDLists_
 
BranchListIndexes branchListIndexes_
 
bool branchListIndexesUnchanged_
 
edm::propagate_const
< std::unique_ptr
< DaqProvenanceHelper > > 
daqProvenanceHelper_
 
edm::propagate_const
< std::shared_ptr
< DuplicateChecker > > 
duplicateChecker_
 
edm::propagate_const< TClass * > edProductClass_
 
EventAuxiliary eventAux_
 
edm::propagate_const< TTree * > eventHistoryTree_
 
std::vector
< EventProcessHistoryID
eventProcessHistoryIDs_
 
std::vector
< EventProcessHistoryID >
::const_iterator 
eventProcessHistoryIter_
 
std::vector
< edm::propagate_const
< std::shared_ptr
< ProductProvenanceRetriever > > > 
eventProductProvenanceRetrievers_
 
EventSelectionIDVector eventSelectionIDs_
 
edm::propagate_const
< std::shared_ptr
< EventSkipperByID > > 
eventSkipperByID_
 
RootTree eventTree_
 
FileID fid_
 
std::string const file_
 
FileFormatVersion fileFormatVersion_
 
edm::propagate_const
< std::shared_ptr< InputFile > > 
filePtr_
 
edm::propagate_const
< std::unique_ptr
< ThinnedAssociationsHelper > > 
fileThinnedAssociationsHelper_
 
std::array< bool, NumBranchTypeshasNewlyDroppedBranch_
 
edm::propagate_const
< std::unique_ptr< History > > 
history_
 
IndexIntoFileindexIntoFile_
 
IndexIntoFile::IndexIntoFileItr indexIntoFileBegin_
 
IndexIntoFile::IndexIntoFileItr indexIntoFileEnd_
 
IndexIntoFile::IndexIntoFileItr indexIntoFileIter_
 
edm::propagate_const
< std::shared_ptr
< IndexIntoFile > > 
indexIntoFileSharedPtr_
 
IndexIntoFile::EntryNumber_t lastEventEntryNumberRead_
 
std::string const logicalFile_
 
RootTree lumiTree_
 
std::map< std::string,
std::string > 
newBranchToOldBranch_
 
bool noEventSort_
 
std::vector< ProcessHistoryID > & orderedProcessHistoryIDs_
 
std::vector< ParentageIDparentageIDLookup_
 
ProcessConfiguration const & processConfiguration_
 
edm::propagate_const
< ProcessHistoryRegistry * > 
processHistoryRegistry_
 
InputSource::ProcessingMode processingMode_
 
std::shared_ptr
< ProductRegistry const > 
productRegistry_
 
edm::propagate_const
< std::unique_ptr
< ProvenanceAdaptor > > 
provenanceAdaptor_
 
edm::propagate_const
< std::unique_ptr
< MakeProvenanceReader > > 
provenanceReaderMaker_
 
edm::propagate_const
< RunHelperBase * > 
runHelper_
 
RootTree runTree_
 
edm::propagate_const
< std::shared_ptr
< RunAuxiliary > > 
savedRunAuxiliary_
 
bool skipAnyEvents_
 
edm::propagate_const
< std::shared_ptr
< ThinnedAssociationsHelper > > 
thinnedAssociationsHelper_
 
RootTreePtrArray treePointers_
 
int whyNotFastClonable_
 

Detailed Description

Definition at line 60 of file RootFile.h.

Member Typedef Documentation

Definition at line 62 of file RootFile.h.

Constructor & Destructor Documentation

edm::RootFile::RootFile ( std::string const &  fileName,
ProcessConfiguration const &  processConfiguration,
std::string const &  logicalFileName,
std::shared_ptr< InputFile filePtr,
std::shared_ptr< EventSkipperByID eventSkipperByID,
bool  skipAnyEvents,
int  remainingEvents,
int  remainingLumis,
unsigned int  nStreams,
unsigned int  treeCacheSize,
int  treeMaxVirtualSize,
InputSource::ProcessingMode  processingMode,
RunHelperBase runHelper,
bool  noEventSort,
ProductSelectorRules const &  productSelectorRules,
InputType  inputType,
std::shared_ptr< BranchIDListHelper branchIDListHelper,
std::shared_ptr< ThinnedAssociationsHelper thinnedAssociationsHelper,
std::vector< BranchID > const *  associationsFromSecondary,
std::shared_ptr< DuplicateChecker duplicateChecker,
bool  dropDescendantsOfDroppedProducts,
ProcessHistoryRegistry processHistoryRegistry,
std::vector< std::shared_ptr< IndexIntoFile > > const &  indexesIntoFiles,
std::vector< std::shared_ptr< IndexIntoFile > >::size_type  currentIndexIntoFile,
std::vector< ProcessHistoryID > &  orderedProcessHistoryIDs,
bool  bypassVersionCheck,
bool  labelRawDataLikeMC,
bool  usingGoToEvent,
bool  enablePrefetching 
)

Definition at line 125 of file RootFile.cc.

edm::RootFile::RootFile ( std::string const &  fileName,
ProcessConfiguration const &  processConfiguration,
std::string const &  logicalFileName,
std::shared_ptr< InputFile filePtr,
unsigned int  nStreams,
int  treeMaxVirtualSize,
InputSource::ProcessingMode  processingMode,
RunHelperBase runHelper,
ProductSelectorRules const &  productSelectorRules,
InputType  inputType,
std::shared_ptr< BranchIDListHelper branchIDListHelper,
std::shared_ptr< ThinnedAssociationsHelper thinnedAssociationsHelper,
std::vector< BranchID > const *  associationsFromSecondary,
bool  dropDescendantsOfDroppedProducts,
ProcessHistoryRegistry processHistoryRegistry,
std::vector< std::shared_ptr< IndexIntoFile > > const &  indexesIntoFiles,
std::vector< std::shared_ptr< IndexIntoFile > >::size_type  currentIndexIntoFile,
std::vector< ProcessHistoryID > &  orderedProcessHistoryIDs,
bool  bypassVersionCheck,
bool  labelRawDataLikeMC,
bool  enablePrefetching 
)
inline

Definition at line 93 of file RootFile.h.

edm::RootFile::RootFile ( std::string const &  fileName,
ProcessConfiguration const &  processConfiguration,
std::string const &  logicalFileName,
std::shared_ptr< InputFile filePtr,
unsigned int  nStreams,
int  treeMaxVirtualSize,
RunHelperBase runHelper,
ProductSelectorRules const &  productSelectorRules,
InputType  inputType,
ProcessHistoryRegistry processHistoryRegistry,
std::vector< std::shared_ptr< IndexIntoFile > > const &  indexesIntoFiles,
std::vector< std::shared_ptr< IndexIntoFile > >::size_type  currentIndexIntoFile,
std::vector< ProcessHistoryID > &  orderedProcessHistoryIDs,
bool  bypassVersionCheck,
bool  enablePrefetching 
)
inline

Definition at line 124 of file RootFile.h.

edm::RootFile::~RootFile ( )

Definition at line 513 of file RootFile.cc.

edm::RootFile::RootFile ( RootFile const &  )
delete

Member Function Documentation

std::shared_ptr<BranchChildren const> edm::RootFile::branchChildren ( ) const
inlineprivate

Definition at line 243 of file RootFile.h.

std::shared_ptr<BranchChildren>& edm::RootFile::branchChildren ( )
inlineprivate

Definition at line 244 of file RootFile.h.

std::shared_ptr<BranchIDListHelper const> edm::RootFile::branchIDListHelper ( ) const
inline

Definition at line 205 of file RootFile.h.

std::shared_ptr<BranchIDListHelper>& edm::RootFile::branchIDListHelper ( )
inline

Definition at line 206 of file RootFile.h.

bool edm::RootFile::branchListIndexesUnchanged ( ) const
inline

Definition at line 177 of file RootFile.h.

void edm::RootFile::close ( void  )
bool edm::RootFile::containsItem ( RunNumber_t  run,
LuminosityBlockNumber_t  lumi,
EventNumber_t  event 
) const

Definition at line 741 of file RootFile.cc.

std::unique_ptr< FileBlock > edm::RootFile::createFileBlock ( ) const

Definition at line 645 of file RootFile.cc.

void edm::RootFile::dropOnInput ( ProductRegistry reg,
ProductSelectorRules const &  rules,
bool  dropDescendants,
InputType  inputType 
)
private

Definition at line 1666 of file RootFile.cc.

EventAuxiliary const& edm::RootFile::eventAux ( ) const
inline

Definition at line 166 of file RootFile.h.

EventID const& edm::RootFile::eventID ( ) const
inline

Definition at line 170 of file RootFile.h.

std::shared_ptr<ProductProvenanceRetriever const> edm::RootFile::eventProductProvenanceRetriever ( size_t  index) const
inlineprivate

Definition at line 246 of file RootFile.h.

std::shared_ptr<ProductProvenanceRetriever>& edm::RootFile::eventProductProvenanceRetriever ( size_t  index)
inlineprivate

Definition at line 247 of file RootFile.h.

RootTree const& edm::RootFile::eventTree ( ) const
inline

Definition at line 171 of file RootFile.h.

std::string const& edm::RootFile::file ( ) const
inline

Definition at line 164 of file RootFile.h.

FileFormatVersion edm::RootFile::fileFormatVersion ( ) const
inline

Definition at line 174 of file RootFile.h.

bool edm::RootFile::fillEventAuxiliary ( IndexIntoFile::EntryNumber_t  entry)
private

Definition at line 1179 of file RootFile.cc.

void edm::RootFile::fillEventHistory ( )
private

Definition at line 1189 of file RootFile.cc.

void edm::RootFile::fillIndexIntoFile ( )
private

Definition at line 861 of file RootFile.cc.

std::shared_ptr< LuminosityBlockAuxiliary > edm::RootFile::fillLumiAuxiliary ( )
private

Definition at line 1247 of file RootFile.cc.

std::shared_ptr< RunAuxiliary > edm::RootFile::fillRunAuxiliary ( )
private

Definition at line 1271 of file RootFile.cc.

void edm::RootFile::fillThisEventAuxiliary ( )
private

Definition at line 1160 of file RootFile.cc.

IndexIntoFile::EntryType edm::RootFile::getNextItemType ( RunNumber_t run,
LuminosityBlockNumber_t lumi,
EventNumber_t event 
)

Definition at line 746 of file RootFile.cc.

bool edm::RootFile::goToEvent ( EventID const &  eventID)

Definition at line 1360 of file RootFile.cc.

std::array<bool, NumBranchTypes> const& edm::RootFile::hasNewlyDroppedBranch ( ) const
inline

Definition at line 176 of file RootFile.h.

IndexIntoFile::IndexIntoFileItr edm::RootFile::indexIntoFileIter ( ) const

Definition at line 671 of file RootFile.cc.

std::shared_ptr<IndexIntoFile const> edm::RootFile::indexIntoFileSharedPtr ( ) const
inline

Definition at line 207 of file RootFile.h.

std::shared_ptr<IndexIntoFile>& edm::RootFile::indexIntoFileSharedPtr ( )
inline

Definition at line 208 of file RootFile.h.

void edm::RootFile::initAssociationsFromSecondary ( std::vector< BranchID > const &  associationsFromSecondary)

Definition at line 681 of file RootFile.cc.

void edm::RootFile::initializeDuplicateChecker ( std::vector< std::shared_ptr< IndexIntoFile > > const &  indexesIntoFiles,
std::vector< std::shared_ptr< IndexIntoFile > >::size_type  currentIndexIntoFile 
)
private

Definition at line 1641 of file RootFile.cc.

bool edm::RootFile::isDuplicateEvent ( )
private

Definition at line 730 of file RootFile.cc.

RootTree const& edm::RootFile::lumiTree ( ) const
inline

Definition at line 172 of file RootFile.h.

std::shared_ptr< ProductProvenanceRetriever > edm::RootFile::makeProductProvenanceRetriever ( unsigned int  iStreamIndex)
private

Definition at line 1798 of file RootFile.cc.

std::unique_ptr< MakeProvenanceReader > edm::RootFile::makeProvenanceReaderMaker ( InputType  inputType)
private

Definition at line 1781 of file RootFile.cc.

void edm::RootFile::markBranchToBeDropped ( bool  dropDescendants,
BranchID const &  branchID,
std::set< BranchID > &  branchesToDrop 
) const
private

Definition at line 1657 of file RootFile.cc.

bool edm::RootFile::modifiedIDs ( ) const
inline

Definition at line 178 of file RootFile.h.

std::string const & edm::RootFile::newBranchToOldBranch ( std::string const &  newBranch) const
private

Definition at line 662 of file RootFile.cc.

bool edm::RootFile::nextEventEntry ( )
inline

Definition at line 203 of file RootFile.h.

RootFile& edm::RootFile::operator= ( RootFile const &  )
delete
std::shared_ptr<ProductRegistry const> edm::RootFile::productRegistry ( ) const
inline

Definition at line 165 of file RootFile.h.

bool edm::RootFile::readCurrentEvent ( EventPrincipal cache)

Definition at line 1417 of file RootFile.cc.

void edm::RootFile::readEntryDescriptionTree ( EntryDescriptionMap entryDescriptionMap,
InputType  inputType 
)
private

Definition at line 517 of file RootFile.cc.

void edm::RootFile::readEvent ( EventPrincipal cache)

Definition at line 1394 of file RootFile.cc.

void edm::RootFile::readEventHistoryTree ( )
private

Definition at line 1628 of file RootFile.cc.

void edm::RootFile::readFakeRun_ ( RunPrincipal runPrincipal)
std::shared_ptr<RunAuxiliary> edm::RootFile::readFakeRunAuxiliary_ ( )
void edm::RootFile::readLuminosityBlock_ ( LuminosityBlockPrincipal lumiPrincipal)

Definition at line 1573 of file RootFile.cc.

std::shared_ptr< LuminosityBlockAuxiliary > edm::RootFile::readLuminosityBlockAuxiliary_ ( )

Definition at line 1535 of file RootFile.cc.

void edm::RootFile::readParentageTree ( InputType  inputType)
private

Definition at line 563 of file RootFile.cc.

void edm::RootFile::readRun_ ( RunPrincipal runPrincipal)

Definition at line 1516 of file RootFile.cc.

std::shared_ptr< RunAuxiliary > edm::RootFile::readRunAuxiliary_ ( )

Definition at line 1450 of file RootFile.cc.

void edm::RootFile::reportOpened ( std::string const &  inputType)

Definition at line 1134 of file RootFile.cc.

void edm::RootFile::rewind ( )
inline

Definition at line 190 of file RootFile.h.

RootTree const& edm::RootFile::runTree ( ) const
inline

Definition at line 173 of file RootFile.h.

std::shared_ptr<RunAuxiliary const> edm::RootFile::savedRunAuxiliary ( ) const
inlineprivate

Definition at line 240 of file RootFile.h.

std::shared_ptr<RunAuxiliary>& edm::RootFile::savedRunAuxiliary ( )
inlineprivate

Definition at line 241 of file RootFile.h.

void edm::RootFile::setAtEventEntry ( IndexIntoFile::EntryNumber_t  entry)

Definition at line 1445 of file RootFile.cc.

bool edm::RootFile::setEntryAtEvent ( RunNumber_t  run,
LuminosityBlockNumber_t  lumi,
EventNumber_t  event 
)

Definition at line 1591 of file RootFile.cc.

bool edm::RootFile::setEntryAtItem ( RunNumber_t  run,
LuminosityBlockNumber_t  lumi,
EventNumber_t  event 
)
inline

Definition at line 180 of file RootFile.h.

bool edm::RootFile::setEntryAtLumi ( RunNumber_t  run,
LuminosityBlockNumber_t  lumi 
)

Definition at line 1599 of file RootFile.cc.

bool edm::RootFile::setEntryAtNextEventInLumi ( RunNumber_t  run,
LuminosityBlockNumber_t  lumi 
)

Definition at line 1615 of file RootFile.cc.

bool edm::RootFile::setEntryAtRun ( RunNumber_t  run)

Definition at line 1607 of file RootFile.cc.

void edm::RootFile::setIfFastClonable ( int  remainingEvents,
int  remainingLumis 
)
private

Definition at line 599 of file RootFile.cc.

void edm::RootFile::setPosition ( IndexIntoFile::IndexIntoFileItr const &  position)

Definition at line 676 of file RootFile.cc.

void edm::RootFile::setToLastEntry ( )
inline

Definition at line 196 of file RootFile.h.

bool edm::RootFile::skipEntries ( unsigned int &  offset)
inline

Definition at line 200 of file RootFile.h.

bool edm::RootFile::skipEvents ( int &  offset)

Definition at line 1292 of file RootFile.cc.

bool edm::RootFile::skipThisEntry ( )
private

Definition at line 686 of file RootFile.cc.

RootTreePtrArray& edm::RootFile::treePointers ( )
inlineprivate

Definition at line 216 of file RootFile.h.

void edm::RootFile::validateFile ( InputType  inputType,
bool  usingGoToEvent 
)
private

Definition at line 1087 of file RootFile.cc.

bool edm::RootFile::wasFirstEventJustRead ( ) const

Definition at line 799 of file RootFile.cc.

bool edm::RootFile::wasLastEventJustRead ( ) const

Definition at line 792 of file RootFile.cc.

int edm::RootFile::whyNotFastClonable ( ) const
inline

Definition at line 175 of file RootFile.h.

Member Data Documentation

edm::propagate_const<std::shared_ptr<BranchChildren> > edm::RootFile::branchChildren_
private

Definition at line 289 of file RootFile.h.

edm::propagate_const<std::shared_ptr<BranchIDListHelper> > edm::RootFile::branchIDListHelper_
private

Definition at line 279 of file RootFile.h.

std::shared_ptr<BranchIDLists const> edm::RootFile::branchIDLists_
private

Definition at line 278 of file RootFile.h.

BranchListIndexes edm::RootFile::branchListIndexes_
private

Definition at line 287 of file RootFile.h.

bool edm::RootFile::branchListIndexesUnchanged_
private

Definition at line 270 of file RootFile.h.

edm::propagate_const<std::unique_ptr<DaqProvenanceHelper> > edm::RootFile::daqProvenanceHelper_
private

Definition at line 295 of file RootFile.h.

edm::propagate_const<std::shared_ptr<DuplicateChecker> > edm::RootFile::duplicateChecker_
private

Definition at line 290 of file RootFile.h.

edm::propagate_const<TClass*> edm::RootFile::edProductClass_
private

Definition at line 296 of file RootFile.h.

EventAuxiliary edm::RootFile::eventAux_
private

Definition at line 271 of file RootFile.h.

edm::propagate_const<TTree*> edm::RootFile::eventHistoryTree_
private

Definition at line 285 of file RootFile.h.

std::vector<EventProcessHistoryID> edm::RootFile::eventProcessHistoryIDs_
private

Definition at line 263 of file RootFile.h.

std::vector<EventProcessHistoryID>::const_iterator edm::RootFile::eventProcessHistoryIter_
private

Definition at line 264 of file RootFile.h.

std::vector<edm::propagate_const<std::shared_ptr<ProductProvenanceRetriever> > > edm::RootFile::eventProductProvenanceRetrievers_
private

Definition at line 293 of file RootFile.h.

EventSelectionIDVector edm::RootFile::eventSelectionIDs_
private

Definition at line 286 of file RootFile.h.

edm::propagate_const<std::shared_ptr<EventSkipperByID> > edm::RootFile::eventSkipperByID_
private

Definition at line 254 of file RootFile.h.

RootTree edm::RootFile::eventTree_
private

Definition at line 272 of file RootFile.h.

FileID edm::RootFile::fid_
private

Definition at line 256 of file RootFile.h.

std::string const edm::RootFile::file_
private

Definition at line 249 of file RootFile.h.

FileFormatVersion edm::RootFile::fileFormatVersion_
private

Definition at line 255 of file RootFile.h.

edm::propagate_const<std::shared_ptr<InputFile> > edm::RootFile::filePtr_
private

Definition at line 253 of file RootFile.h.

edm::propagate_const<std::unique_ptr<ThinnedAssociationsHelper> > edm::RootFile::fileThinnedAssociationsHelper_
private

Definition at line 280 of file RootFile.h.

std::array<bool, NumBranchTypes> edm::RootFile::hasNewlyDroppedBranch_
private

Definition at line 269 of file RootFile.h.

edm::propagate_const<std::unique_ptr<History> > edm::RootFile::history_
private

Definition at line 288 of file RootFile.h.

IndexIntoFile& edm::RootFile::indexIntoFile_
private

Definition at line 258 of file RootFile.h.

IndexIntoFile::IndexIntoFileItr edm::RootFile::indexIntoFileBegin_
private

Definition at line 260 of file RootFile.h.

IndexIntoFile::IndexIntoFileItr edm::RootFile::indexIntoFileEnd_
private

Definition at line 261 of file RootFile.h.

IndexIntoFile::IndexIntoFileItr edm::RootFile::indexIntoFileIter_
private

Definition at line 262 of file RootFile.h.

edm::propagate_const<std::shared_ptr<IndexIntoFile> > edm::RootFile::indexIntoFileSharedPtr_
private

Definition at line 257 of file RootFile.h.

IndexIntoFile::EntryNumber_t edm::RootFile::lastEventEntryNumberRead_
private

Definition at line 276 of file RootFile.h.

std::string const edm::RootFile::logicalFile_
private

Definition at line 250 of file RootFile.h.

RootTree edm::RootFile::lumiTree_
private

Definition at line 273 of file RootFile.h.

std::map<std::string, std::string> edm::RootFile::newBranchToOldBranch_
private

Definition at line 284 of file RootFile.h.

bool edm::RootFile::noEventSort_
private

Definition at line 267 of file RootFile.h.

std::vector<ProcessHistoryID>& edm::RootFile::orderedProcessHistoryIDs_
private

Definition at line 259 of file RootFile.h.

std::vector<ParentageID> edm::RootFile::parentageIDLookup_
private

Definition at line 294 of file RootFile.h.

ProcessConfiguration const& edm::RootFile::processConfiguration_
private

Definition at line 251 of file RootFile.h.

edm::propagate_const<ProcessHistoryRegistry*> edm::RootFile::processHistoryRegistry_
private

Definition at line 252 of file RootFile.h.

InputSource::ProcessingMode edm::RootFile::processingMode_
private

Definition at line 282 of file RootFile.h.

std::shared_ptr<ProductRegistry const> edm::RootFile::productRegistry_
private

Definition at line 277 of file RootFile.h.

edm::propagate_const<std::unique_ptr<ProvenanceAdaptor> > edm::RootFile::provenanceAdaptor_
private

Definition at line 291 of file RootFile.h.

edm::propagate_const<std::unique_ptr<MakeProvenanceReader> > edm::RootFile::provenanceReaderMaker_
private

Definition at line 292 of file RootFile.h.

edm::propagate_const<RunHelperBase*> edm::RootFile::runHelper_
private

Definition at line 283 of file RootFile.h.

RootTree edm::RootFile::runTree_
private

Definition at line 274 of file RootFile.h.

edm::propagate_const<std::shared_ptr<RunAuxiliary> > edm::RootFile::savedRunAuxiliary_
private

Definition at line 265 of file RootFile.h.

bool edm::RootFile::skipAnyEvents_
private

Definition at line 266 of file RootFile.h.

edm::propagate_const<std::shared_ptr<ThinnedAssociationsHelper> > edm::RootFile::thinnedAssociationsHelper_
private

Definition at line 281 of file RootFile.h.

RootTreePtrArray edm::RootFile::treePointers_
private

Definition at line 275 of file RootFile.h.

int edm::RootFile::whyNotFastClonable_
private

Definition at line 268 of file RootFile.h.