#include <BranchMapReader.h>
Public Member Functions | |
BranchMapReader (TFile *file) | |
BranchMapReader () | |
const std::vector < edm::BranchDescription > & | getBranchDescriptions () |
Long_t | getEventEntry () const |
TTree * | getEventTree () const |
TFile * | getFile () const |
TUUID | getFileUUID () const |
int | getFileVersion (TFile *file) |
int | getFileVersion () const |
Long_t | getLuminosityBlockEntry () const |
TTree * | getLuminosityBlockTree () const |
Long_t | getRunEntry () const |
TTree * | getRunTree () const |
const edm::BranchDescription | productToBranch (const edm::ProductID &pid) |
bool | updateEvent (Long_t eventEntry) |
bool | updateFile (TFile *file) |
bool | updateLuminosityBlock (Long_t luminosityBlockEntry) |
bool | updateRun (Long_t runEntry) |
Private Member Functions | |
std::auto_ptr < internal::BMRStrategy > | newStrategy (TFile *file, int fileVersion) |
Private Attributes | |
int | fileVersion_ |
std::auto_ptr < internal::BMRStrategy > | strategy_ |
Definition at line 62 of file BranchMapReader.h.
BranchMapReader::BranchMapReader | ( | TFile * | file | ) |
Definition at line 528 of file BranchMapReader.cc.
References edm::hlt::Exception, getFileVersion(), newStrategy(), and strategy_.
|
inline |
Definition at line 65 of file BranchMapReader.h.
const std::vector< edm::BranchDescription > & BranchMapReader::getBranchDescriptions | ( | ) |
Definition at line 600 of file BranchMapReader.cc.
References strategy_.
Referenced by fwlite::Event::getBranchDescriptions().
|
inline |
Definition at line 85 of file BranchMapReader.h.
References strategy_.
Referenced by fwlite::Event::atEnd(), fwlite::Event::eventAuxiliary(), fwlite::Event::getByLabel(), fwlite::Event::getByProductID(), fwlite::Event::history(), fwlite::Event::isValid(), and fwlite::Event::operator++().
|
inline |
Definition at line 81 of file BranchMapReader.h.
References strategy_.
Referenced by BareRootProductGetter::createNewBuffer(), fwlite::Event::draw(), fwlite::Event::Event(), fwlite::EntryFinder::fillIndex(), BareRootProductGetter::getIt(), fwlite::Event::scan(), and fwlite::Event::size().
|
inline |
Definition at line 80 of file BranchMapReader.h.
References strategy_.
Referenced by fwlite::EntryFinder::fillIndex(), fwlite::Event::fillParameterSetRegistry(), BareRootProductGetter::getIt(), fwlite::Event::getTFile(), and fwlite::Event::history().
|
inline |
Definition at line 84 of file BranchMapReader.h.
References strategy_.
int BranchMapReader::getFileVersion | ( | TFile * | file | ) |
Definition at line 540 of file BranchMapReader.cc.
References edm::poolNames::fileFormatVersionBranchName(), fileVersion_, edm::poolNames::metaDataTreeName(), v, and edm::FileFormatVersion::value().
Referenced by fwlite::Event::Event().
|
inline |
Definition at line 78 of file BranchMapReader.h.
References fileVersion_.
Referenced by BranchMapReader(), and updateFile().
|
inline |
Definition at line 86 of file BranchMapReader.h.
References strategy_.
|
inline |
Definition at line 82 of file BranchMapReader.h.
References strategy_.
|
inline |
Definition at line 87 of file BranchMapReader.h.
References strategy_.
|
inline |
Definition at line 83 of file BranchMapReader.h.
References strategy_.
|
private |
Definition at line 606 of file BranchMapReader.cc.
References asciidump::s.
Referenced by BranchMapReader(), and updateFile().
const edm::BranchDescription BranchMapReader::productToBranch | ( | const edm::ProductID & | pid | ) |
Definition at line 595 of file BranchMapReader.cc.
References strategy_.
Referenced by BareRootProductGetter::createNewBuffer().
bool BranchMapReader::updateEvent | ( | Long_t | eventEntry | ) |
Definition at line 555 of file BranchMapReader.cc.
References strategy_.
Referenced by fwlite::Event::Event(), BareRootProductGetter::getIt(), fwlite::Event::operator++(), fwlite::Event::to(), and fwlite::Event::toBegin().
bool BranchMapReader::updateFile | ( | TFile * | file | ) |
Definition at line 567 of file BranchMapReader.cc.
References edm::poolNames::eventTreeName(), getFileVersion(), newStrategy(), and strategy_.
Referenced by BareRootProductGetter::getIt().
bool BranchMapReader::updateLuminosityBlock | ( | Long_t | luminosityBlockEntry | ) |
Definition at line 559 of file BranchMapReader.cc.
References strategy_.
bool BranchMapReader::updateRun | ( | Long_t | runEntry | ) |
Definition at line 563 of file BranchMapReader.cc.
References strategy_.
|
private |
Definition at line 94 of file BranchMapReader.h.
Referenced by getFileVersion().
|
private |
Definition at line 93 of file BranchMapReader.h.
Referenced by BranchMapReader(), getBranchDescriptions(), getEventEntry(), getEventTree(), getFile(), getFileUUID(), getLuminosityBlockEntry(), getLuminosityBlockTree(), getRunEntry(), getRunTree(), productToBranch(), updateEvent(), updateFile(), updateLuminosityBlock(), and updateRun().