#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 * | pAux_ |
edm::RunAux * | 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(), edm::hlt::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(), edm::hlt::Exception, fileVersion_, edm::InRun, pAux_, and edm::poolNames::runTreeName().
|
private |
|
virtual |
Implements fwlite::RunBase.
Definition at line 202 of file Run.cc.
References branchMap_, or, and size().
Referenced by getByLabel(), and main().
|
inline |
|
virtual |
Definition at line 210 of file Run.cc.
References dataHelper_, and fwlite::DataGetterHelper::getBranchNameFor().
|
virtual |
Implements fwlite::RunBase.
Definition at line 219 of file Run.cc.
References atEnd(), branchMap_, dataHelper_, edm::hlt::Exception, and fwlite::DataGetterHelper::getByLabel().
Referenced by FWMagField::checkFieldInfo().
edm::WrapperBase const * Run::getByProductID | ( | edm::ProductID const & | iID | ) | const |
Definition at line 317 of file Run.cc.
References branchMap_, dataHelper_, and fwlite::DataGetterHelper::getByProductID().
|
private |
Definition at line 254 of file Run.cc.
References aux_, b, branchMap_, edm::hlt::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 189 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 150 of file Run.cc.
References branchMap_, and size().
|
virtual |
Implements edm::RunBase.
Definition at line 234 of file Run.cc.
References aux_, branchMap_, and updateAux().
Long64_t Run::size | ( | void | ) | const |
Definition at line 183 of file Run.cc.
References branchMap_.
Referenced by atEnd(), isValid(), and operator++().
|
static |
Definition at line 328 of file Run.cc.
References edm::TypeID::className(), edm::hlt::Exception, and edm::errors::ProductNotFound.
bool Run::to | ( | edm::RunNumber_t | run | ) |
Go to event by Run & Run number.
Definition at line 162 of file Run.cc.
References branchMap_, entryFinder_, fwlite::EntryFinder::fillIndex(), fwlite::EntryFinder::findRun(), and fwlite::EntryFinder::invalidEntry.
|
virtual |
Implements fwlite::RunBase.
Definition at line 173 of file Run.cc.
References branchMap_.
Referenced by main().
|
private |
Definition at line 242 of file Run.cc.
References aux_, auxBranch_, edm::conversion(), and pOldAux_.
Referenced by history(), and runAuxiliary().
|
friend |
|
friend |
|
mutableprivate |
Definition at line 122 of file Run.h.
Referenced by history(), runAuxiliary(), and updateAux().
|
private |
Definition at line 126 of file Run.h.
Referenced by Run(), and updateAux().
|
mutableprivate |
Definition at line 116 of file Run.h.
Referenced by atEnd(), getBranchDescriptions(), getByLabel(), getByProductID(), history(), isValid(), operator++(), Run(), runAuxiliary(), size(), to(), and toBegin().
|
private |
Definition at line 129 of file Run.h.
Referenced by getBranchNameFor(), getByLabel(), and getByProductID().
|
mutableprivate |
|
private |
|
mutableprivate |
|
mutableprivate |
|
private |
|
private |
Definition at line 125 of file Run.h.
Referenced by updateAux(), and ~Run().