#include <Run.h>
Public Member Functions | |
virtual bool | atEnd () const |
std::vector < edm::BranchDescription > const & | getBranchDescriptions () const |
virtual std::string const | getBranchNameFor (std::type_info const &, char const *, char const *, char const *) const |
virtual bool | getByLabel (std::type_info const &, char const *, char const *, char const *, void *) const |
edm::WrapperBase const * | getByProductID (edm::ProductID const &) const |
bool | isValid () const |
operator bool () const | |
const Run & | operator++ () |
Run (TFile *iFile) | |
Run (std::shared_ptr< BranchMapReader > branchMap) | |
virtual edm::RunAuxiliary const & | runAuxiliary () const |
Long64_t | size () const |
bool | to (edm::RunNumber_t run) |
Go to event by Run & Run number. More... | |
const Run & | toBegin () |
virtual | ~Run () |
Public Member Functions inherited from fwlite::RunBase | |
virtual Long64_t | fileIndex () const |
RunBase () | |
virtual Long64_t | secondaryFileIndex () const |
virtual | ~RunBase () |
Public Member Functions inherited from edm::RunBase | |
Timestamp const & | beginTime () const |
Timestamp const & | endTime () const |
template<typename PROD > | |
bool | getByLabel (InputTag const &tag, Handle< PROD > &result) const |
same as above, but using the InputTag class More... | |
template<typename T > | |
bool | getByLabel (InputTag const &tag, Handle< T > &result) const |
RunID const & | id () const |
RunNumber_t | run () const |
RunBase () | |
Static Public Member Functions | |
static void | throwProductNotFoundException (std::type_info const &, char const *, char const *, char const *) |
Private Member Functions | |
const edm::ProcessHistory & | history () const |
const Run & | operator= (const Run &) |
Run (const Run &) | |
void | updateAux (Long_t runIndex) const |
Private Attributes | |
edm::RunAuxiliary | aux_ |
TBranch * | auxBranch_ |
std::shared_ptr< BranchMapReader > | branchMap_ |
fwlite::DataGetterHelper | dataHelper_ |
EntryFinder | entryFinder_ |
int | fileVersion_ |
edm::ProcessHistoryMap | historyMap_ |
std::vector< char const * > | labels_ |
edm::RunAuxiliary const * | pAux_ |
edm::RunAux const * | pOldAux_ |
std::vector< std::string > | procHistoryNames_ |
Friends | |
class | internal::ProductGetter |
class | RunHistoryGetter |
Run::Run | ( | TFile * | iFile | ) |
Definition at line 44 of file Run.cc.
References auxBranch_, branchMap_, edm::BranchTypeToAuxiliaryBranchName(), Exception, fileVersion_, edm::InRun, pAux_, and edm::poolNames::runTreeName().
Run::Run | ( | std::shared_ptr< BranchMapReader > | branchMap | ) |
Definition at line 90 of file Run.cc.
References auxBranch_, branchMap_, edm::BranchTypeToAuxiliaryBranchName(), Exception, fileVersion_, edm::InRun, pAux_, and edm::poolNames::runTreeName().
|
virtual |
|
private |
|
virtual |
Implements fwlite::RunBase.
Definition at line 200 of file Run.cc.
References branchMap_, or, and size().
Referenced by getByLabel(), and main().
|
inline |
|
virtual |
Definition at line 208 of file Run.cc.
References dataHelper_, and fwlite::DataGetterHelper::getBranchNameFor().
|
virtual |
Implements fwlite::RunBase.
Definition at line 217 of file Run.cc.
References atEnd(), branchMap_, dataHelper_, Exception, and fwlite::DataGetterHelper::getByLabel().
Referenced by FWMagField::checkFieldInfo().
edm::WrapperBase const * Run::getByProductID | ( | edm::ProductID const & | iID | ) | const |
Definition at line 315 of file Run.cc.
References branchMap_, dataHelper_, and fwlite::DataGetterHelper::getByProductID().
|
private |
Definition at line 252 of file Run.cc.
References aux_, b, branchMap_, Exception, fileVersion_, historyMap_, edm::poolNames::metaDataTreeName(), edm::poolNames::processHistoryBranchName(), edm::RunAuxiliary::processHistoryID(), edm::poolNames::processHistoryMapBranchName(), procHistoryNames_, edm::ProcessHistory::setProcessHistoryID(), and updateAux().
Referenced by fwlite::RunHistoryGetter::history().
bool Run::isValid | ( | void | ) | const |
Definition at line 187 of file Run.cc.
References branchMap_, and size().
Referenced by core.AutoHandle.AutoHandle::ReallyLoad().
Run::operator bool | ( | ) | const |
|
virtual |
Implements fwlite::RunBase.
Definition at line 148 of file Run.cc.
References branchMap_, and size().
|
virtual |
Implements edm::RunBase.
Definition at line 232 of file Run.cc.
References aux_, branchMap_, and updateAux().
Long64_t Run::size | ( | void | ) | const |
Definition at line 181 of file Run.cc.
References branchMap_.
Referenced by atEnd(), isValid(), and operator++().
|
static |
Definition at line 326 of file Run.cc.
References edm::TypeID::className(), Exception, and edm::errors::ProductNotFound.
bool Run::to | ( | edm::RunNumber_t | run | ) |
Go to event by Run & Run number.
Definition at line 160 of file Run.cc.
References branchMap_, mps_splice::entry, entryFinder_, fwlite::EntryFinder::fillIndex(), fwlite::EntryFinder::findRun(), and fwlite::EntryFinder::invalidEntry.
|
virtual |
Implements fwlite::RunBase.
Definition at line 171 of file Run.cc.
References branchMap_.
Referenced by main().
|
private |
Definition at line 240 of file Run.cc.
References aux_, auxBranch_, edm::conversion(), and pOldAux_.
Referenced by history(), and runAuxiliary().
|
friend |
|
friend |
|
mutableprivate |
Definition at line 121 of file Run.h.
Referenced by history(), runAuxiliary(), and updateAux().
|
private |
Definition at line 125 of file Run.h.
Referenced by Run(), and updateAux().
|
mutableprivate |
Definition at line 115 of file Run.h.
Referenced by atEnd(), getBranchDescriptions(), getByLabel(), getByProductID(), history(), isValid(), operator++(), Run(), runAuxiliary(), size(), to(), and toBegin().
|
private |
Definition at line 128 of file Run.h.
Referenced by getBranchNameFor(), getByLabel(), and getByProductID().
|
mutableprivate |
|
private |
|
mutableprivate |
|
mutableprivate |
|
private |
|
private |
Definition at line 124 of file Run.h.
Referenced by updateAux(), and ~Run().