#include <BranchMapReader.h>
Public Member Functions | |
const edm::BranchListIndexes & | branchListIndexes () const |
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 63 of file BranchMapReader.h.
BranchMapReader::BranchMapReader | ( | TFile * | file | ) |
Definition at line 540 of file BranchMapReader.cc.
References edm::hlt::Exception, getFileVersion(), newStrategy(), and strategy_.
|
inline |
Definition at line 66 of file BranchMapReader.h.
|
inline |
Definition at line 90 of file BranchMapReader.h.
References strategy_.
std::vector< edm::BranchDescription > const & BranchMapReader::getBranchDescriptions | ( | ) |
Definition at line 612 of file BranchMapReader.cc.
References strategy_.
Referenced by fwlite::Event::getBranchDescriptions().
|
inline |
Definition at line 86 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 82 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 81 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 85 of file BranchMapReader.h.
References strategy_.
int BranchMapReader::getFileVersion | ( | TFile * | file | ) |
Definition at line 552 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 79 of file BranchMapReader.h.
References fileVersion_.
Referenced by BranchMapReader(), and updateFile().
|
inline |
Definition at line 87 of file BranchMapReader.h.
References strategy_.
|
inline |
Definition at line 83 of file BranchMapReader.h.
References strategy_.
|
inline |
Definition at line 88 of file BranchMapReader.h.
References strategy_.
|
inline |
Definition at line 84 of file BranchMapReader.h.
References strategy_.
|
private |
Definition at line 618 of file BranchMapReader.cc.
References alignCSCRings::s.
Referenced by BranchMapReader(), and updateFile().
edm::BranchDescription const & BranchMapReader::productToBranch | ( | const edm::ProductID & | pid | ) |
Definition at line 607 of file BranchMapReader.cc.
References strategy_.
Referenced by BareRootProductGetter::createNewBuffer().
bool BranchMapReader::updateEvent | ( | Long_t | eventEntry | ) |
Definition at line 567 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 579 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 571 of file BranchMapReader.cc.
References strategy_.
bool BranchMapReader::updateRun | ( | Long_t | runEntry | ) |
Definition at line 575 of file BranchMapReader.cc.
References strategy_.
|
private |
Definition at line 96 of file BranchMapReader.h.
Referenced by getFileVersion().
|
private |
Definition at line 95 of file BranchMapReader.h.
Referenced by branchListIndexes(), BranchMapReader(), getBranchDescriptions(), getEventEntry(), getEventTree(), getFile(), getFileUUID(), getLuminosityBlockEntry(), getLuminosityBlockTree(), getRunEntry(), getRunTree(), productToBranch(), updateEvent(), updateFile(), updateLuminosityBlock(), and updateRun().