#include <RootInputFile.h>
Classes | |
class | RootInputTree |
Public Types | |
using | RootInputTreePtrArray = std::array< std::unique_ptr< RootInputTree >, NumBranchTypes > |
using | EntryNumber = RootInputTree::EntryNumber |
using | EntryNumbers = RootInputTree::EntryNumbers |
Public Member Functions | |
~RootInputFile () | |
RootInputFile (RootInputFile const &)=delete | |
RootInputFile (RootInputFile &&)=delete | |
RootInputFile & | operator= (RootInputFile const &)=delete |
RootInputFile & | operator= (RootInputFile &&)=delete |
RootInputFile (std::string const &fileName, std::string const &catalogName, ProcessConfiguration const &processConfiguration, std::string const &logicalFileName, std::unique_ptr< TFile > &&filePtr, EventID const &origEventID, unsigned int eventsToSkip, bool compactSubRunRanges, FastCloningInfoProvider const &fcip, unsigned int treeCacheSize, int64_t treeMaxVirtualSize, int64_t saveMemoryObjectThreashold, bool delayedReadEventProducts, bool delayedReadSubRunProducts, bool delayedReadRunProducts, InputSource::ProcessingMode processingMode, int forcedRunOffset, bool noEventSort, GroupSelectorRules const &groupSelectorRules, std::shared_ptr< DuplicateChecker > duplicateChecker, bool dropDescendantsOfDroppedProducts, bool readIncomingParameterSets, cet::exempt_ptr< RootInputFile > primaryFile, std::vector< std::string > const &secondaryFileNames, RootInputFileSequence *rifSequence, UpdateOutputCallbacks &outputCallbacks) | |
void | reportOpened () |
void | close (bool reallyClose) |
std::unique_ptr< ResultsPrincipal > | readResults () |
std::unique_ptr< RunPrincipal > | readRun () |
std::unique_ptr< SubRunPrincipal > | readSubRun (cet::exempt_ptr< RunPrincipal const >) |
std::unique_ptr< EventPrincipal > | readEvent () |
bool | readRunForSecondaryFile (RunID) |
bool | readSubRunForSecondaryFile (SubRunID) |
bool | readEventForSecondaryFile (EventID eID) |
std::string const & | fileName () const |
RootInputTreePtrArray & | treePointers () |
FileFormatVersion | fileFormatVersion () const |
bool | fastClonable () const |
std::unique_ptr< FileBlock > | createFileBlock () |
bool | setEntry_Event (EventID const &id, bool exact=true) |
bool | setEntry_SubRun (SubRunID const &id, bool exact=true) |
bool | setEntry_Run (RunID const &id, bool exact=true) |
void | rewind () |
void | setToLastEntry () |
void | nextEntry () |
void | previousEntry () |
void | advanceEntry (std::size_t n) |
unsigned | eventsToSkip () const |
int | skipEvents (int offset) |
int | setForcedRunOffset (RunNumber_t const &forcedRunNumber) |
FileIndex::EntryType | getEntryType () const |
FileIndex::EntryType | getNextEntryTypeWanted () |
std::shared_ptr< FileIndex > | fileIndexSharedPtr () const |
EventID | eventIDForFileIndexPosition () const |
std::vector< std::string > const & | secondaryFileNames () const |
std::vector< std::unique_ptr< RootInputFile > > const & | secondaryFiles () const |
void | openSecondaryFile (int const idx) |
std::unique_ptr< RangeSetHandler > | runRangeSetHandler () |
std::unique_ptr< RangeSetHandler > | subRunRangeSetHandler () |
Definition at line 55 of file RootInputFile.h.
Definition at line 98 of file RootInputFile.h.
Definition at line 99 of file RootInputFile.h.
using art::RootInputFile::RootInputTreePtrArray = std::array<std::unique_ptr<RootInputTree>, NumBranchTypes> |
Definition at line 97 of file RootInputFile.h.
art::RootInputFile::~RootInputFile | ( | ) |
Definition at line 244 of file RootInputFile.cc.
|
delete |
|
delete |
art::RootInputFile::RootInputFile | ( | std::string const & | fileName, |
std::string const & | catalogName, | ||
ProcessConfiguration const & | processConfiguration, | ||
std::string const & | logicalFileName, | ||
std::unique_ptr< TFile > && | filePtr, | ||
EventID const & | origEventID, | ||
unsigned int | eventsToSkip, | ||
bool | compactSubRunRanges, | ||
FastCloningInfoProvider const & | fcip, | ||
unsigned int | treeCacheSize, | ||
int64_t | treeMaxVirtualSize, | ||
int64_t | saveMemoryObjectThreashold, | ||
bool | delayedReadEventProducts, | ||
bool | delayedReadSubRunProducts, | ||
bool | delayedReadRunProducts, | ||
InputSource::ProcessingMode | processingMode, | ||
int | forcedRunOffset, | ||
bool | noEventSort, | ||
GroupSelectorRules const & | groupSelectorRules, | ||
std::shared_ptr< DuplicateChecker > | duplicateChecker, | ||
bool | dropDescendantsOfDroppedProducts, | ||
bool | readIncomingParameterSets, | ||
cet::exempt_ptr< RootInputFile > | primaryFile, | ||
std::vector< std::string > const & | secondaryFileNames, | ||
RootInputFileSequence * | rifSequence, | ||
UpdateOutputCallbacks & | outputCallbacks | ||
) |
void art::RootInputFile::advanceEntry | ( | std::size_t | n | ) |
Definition at line 740 of file RootInputFile.cc.
void art::RootInputFile::close | ( | bool | reallyClose | ) |
Definition at line 993 of file RootInputFile.cc.
unique_ptr< FileBlock > art::RootInputFile::createFileBlock | ( | ) |
Definition at line 882 of file RootInputFile.cc.
|
private |
Definition at line 1419 of file RootInputFile.cc.
EventID art::RootInputFile::eventIDForFileIndexPosition | ( | ) | const |
Definition at line 813 of file RootInputFile.cc.
unsigned int art::RootInputFile::eventsToSkip | ( | ) | const |
Definition at line 748 of file RootInputFile.cc.
|
private |
Definition at line 525 of file RootInputFile.cc.
|
private |
Definition at line 549 of file RootInputFile.cc.
bool art::RootInputFile::fastClonable | ( | ) | const |
Definition at line 705 of file RootInputFile.cc.
FileFormatVersion art::RootInputFile::fileFormatVersion | ( | ) | const |
Definition at line 699 of file RootInputFile.cc.
shared_ptr< FileIndex > art::RootInputFile::fileIndexSharedPtr | ( | ) | const |
Definition at line 754 of file RootInputFile.cc.
string const & art::RootInputFile::fileName | ( | ) | const |
Definition at line 687 of file RootInputFile.cc.
|
private |
Definition at line 573 of file RootInputFile.cc.
|
private |
Definition at line 600 of file RootInputFile.cc.
|
private |
Definition at line 591 of file RootInputFile.cc.
|
private |
Definition at line 648 of file RootInputFile.cc.
|
private |
Definition at line 582 of file RootInputFile.cc.
|
private |
Definition at line 609 of file RootInputFile.cc.
|
private |
Definition at line 1008 of file RootInputFile.cc.
|
private |
Definition at line 1397 of file RootInputFile.cc.
FileIndex::EntryType art::RootInputFile::getEntryType | ( | ) | const |
Definition at line 893 of file RootInputFile.cc.
FileIndex::EntryType art::RootInputFile::getNextEntryTypeWanted | ( | ) |
Definition at line 902 of file RootInputFile.cc.
|
private |
Definition at line 1383 of file RootInputFile.cc.
void art::RootInputFile::nextEntry | ( | ) |
Definition at line 728 of file RootInputFile.cc.
void art::RootInputFile::openSecondaryFile | ( | int const | idx | ) |
Definition at line 1472 of file RootInputFile.cc.
|
delete |
|
delete |
|
private |
Definition at line 1336 of file RootInputFile.cc.
|
private |
Definition at line 1347 of file RootInputFile.cc.
|
private |
Definition at line 1355 of file RootInputFile.cc.
void art::RootInputFile::previousEntry | ( | ) |
Definition at line 734 of file RootInputFile.cc.
|
private |
Definition at line 1077 of file RootInputFile.cc.
|
private |
Definition at line 1167 of file RootInputFile.cc.
|
private |
Definition at line 1259 of file RootInputFile.cc.
unique_ptr< EventPrincipal > art::RootInputFile::readEvent | ( | ) |
Definition at line 1060 of file RootInputFile.cc.
bool art::RootInputFile::readEventForSecondaryFile | ( | EventID | eID | ) |
Definition at line 1111 of file RootInputFile.cc.
|
private |
Definition at line 1370 of file RootInputFile.cc.
|
private |
Definition at line 772 of file RootInputFile.cc.
unique_ptr< art::ResultsPrincipal > art::RootInputFile::readResults | ( | ) |
Definition at line 1479 of file RootInputFile.cc.
unique_ptr< RunPrincipal > art::RootInputFile::readRun | ( | ) |
Definition at line 1155 of file RootInputFile.cc.
bool art::RootInputFile::readRunForSecondaryFile | ( | RunID | rID | ) |
Definition at line 1199 of file RootInputFile.cc.
unique_ptr< SubRunPrincipal > art::RootInputFile::readSubRun | ( | cet::exempt_ptr< RunPrincipal const > | rp | ) |
Definition at line 1248 of file RootInputFile.cc.
bool art::RootInputFile::readSubRunForSecondaryFile | ( | SubRunID | srID | ) |
Definition at line 1294 of file RootInputFile.cc.
void art::RootInputFile::reportOpened | ( | ) |
Definition at line 989 of file RootInputFile.cc.
|
private |
Definition at line 543 of file RootInputFile.cc.
|
private |
Definition at line 567 of file RootInputFile.cc.
void art::RootInputFile::rewind | ( | ) |
Definition at line 711 of file RootInputFile.cc.
unique_ptr< RangeSetHandler > art::RootInputFile::runRangeSetHandler | ( | ) |
Definition at line 1149 of file RootInputFile.cc.
|
private |
Definition at line 537 of file RootInputFile.cc.
|
private |
Definition at line 561 of file RootInputFile.cc.
vector< string > const & art::RootInputFile::secondaryFileNames | ( | ) | const |
Definition at line 760 of file RootInputFile.cc.
vector< unique_ptr< RootInputFile > > const & art::RootInputFile::secondaryFiles | ( | ) | const |
Definition at line 766 of file RootInputFile.cc.
bool art::RootInputFile::setEntry_Event | ( | EventID const & | id, |
bool | exact = true |
||
) |
Definition at line 495 of file RootInputFile.cc.
bool art::RootInputFile::setEntry_Run | ( | RunID const & | id, |
bool | exact = true |
||
) |
Definition at line 515 of file RootInputFile.cc.
bool art::RootInputFile::setEntry_SubRun | ( | SubRunID const & | id, |
bool | exact = true |
||
) |
Definition at line 505 of file RootInputFile.cc.
int art::RootInputFile::setForcedRunOffset | ( | RunNumber_t const & | forcedRunNumber | ) |
Definition at line 865 of file RootInputFile.cc.
|
private |
Definition at line 822 of file RootInputFile.cc.
void art::RootInputFile::setToLastEntry | ( | ) |
Definition at line 722 of file RootInputFile.cc.
int art::RootInputFile::skipEvents | ( | int | offset | ) |
Definition at line 1025 of file RootInputFile.cc.
unique_ptr< RangeSetHandler > art::RootInputFile::subRunRangeSetHandler | ( | ) |
Definition at line 1242 of file RootInputFile.cc.
|
private |
Definition at line 531 of file RootInputFile.cc.
|
private |
Definition at line 555 of file RootInputFile.cc.
RootInputFile::RootInputTreePtrArray & art::RootInputFile::treePointers | ( | ) |
Definition at line 693 of file RootInputFile.cc.
|
private |
Definition at line 972 of file RootInputFile.cc.
|
private |
Definition at line 242 of file RootInputFile.h.
|
private |
Definition at line 210 of file RootInputFile.h.
|
private |
Definition at line 218 of file RootInputFile.h.
|
private |
Definition at line 220 of file RootInputFile.h.
|
private |
Definition at line 222 of file RootInputFile.h.
|
private |
Definition at line 221 of file RootInputFile.h.
|
private |
Definition at line 226 of file RootInputFile.h.
|
private |
Definition at line 237 of file RootInputFile.h.
|
private |
Definition at line 243 of file RootInputFile.h.
|
private |
Definition at line 217 of file RootInputFile.h.
|
private |
Definition at line 236 of file RootInputFile.h.
|
private |
Definition at line 233 of file RootInputFile.h.
|
private |
Definition at line 234 of file RootInputFile.h.
|
private |
Definition at line 235 of file RootInputFile.h.
|
private |
Definition at line 230 of file RootInputFile.h.
|
private |
Definition at line 232 of file RootInputFile.h.
Definition at line 231 of file RootInputFile.h.
|
private |
Definition at line 209 of file RootInputFile.h.
|
private |
Definition at line 213 of file RootInputFile.h.
|
private |
Definition at line 224 of file RootInputFile.h.
|
private |
Definition at line 212 of file RootInputFile.h.
|
private |
Definition at line 225 of file RootInputFile.h.
|
private |
Definition at line 216 of file RootInputFile.h.
|
private |
Definition at line 241 of file RootInputFile.h.
|
private |
Definition at line 250 of file RootInputFile.h.
|
private |
Definition at line 227 of file RootInputFile.h.
|
private |
Definition at line 251 of file RootInputFile.h.
|
private |
Definition at line 252 of file RootInputFile.h.
|
private |
Definition at line 211 of file RootInputFile.h.
|
private |
Definition at line 223 of file RootInputFile.h.
|
private |
Definition at line 240 of file RootInputFile.h.
|
private |
Definition at line 229 of file RootInputFile.h.
|
private |
Definition at line 239 of file RootInputFile.h.
|
private |
Definition at line 254 of file RootInputFile.h.
|
private |
Definition at line 255 of file RootInputFile.h.
|
private |
Definition at line 228 of file RootInputFile.h.
|
private |
Definition at line 244 of file RootInputFile.h.
|
private |
Definition at line 215 of file RootInputFile.h.
|
private |
Definition at line 238 of file RootInputFile.h.
|
private |
Definition at line 253 of file RootInputFile.h.
|
private |
Definition at line 219 of file RootInputFile.h.