#include <Run.h>
Public Member Functions | |
bool | atEnd () const override |
std::vector< edm::BranchDescription > const & | getBranchDescriptions () const |
virtual std::string const | getBranchNameFor (std::type_info const &, char const *, char const *, char const *) const |
bool | getByLabel (std::type_info const &, char const *, char const *, char const *, void *) const override |
edm::WrapperBase const * | getByProductID (edm::ProductID const &) const |
bool | isValid () const |
operator bool () const | |
const Run & | operator++ () override |
Run (TFile *iFile) | |
Run (std::shared_ptr< BranchMapReader > branchMap) | |
edm::RunAuxiliary const & | runAuxiliary () const override |
Long64_t | size () const |
bool | to (edm::RunNumber_t run) |
Go to event by Run & Run number. More... | |
const Run & | toBegin () override |
~Run () override | |
Public Member Functions inherited from fwlite::RunBase | |
virtual Long64_t | fileIndex () const |
RunBase () | |
virtual Long64_t | secondaryFileIndex () const |
~RunBase () override | |
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 &)=delete |
Run (const Run &)=delete | |
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().
|
override |
|
privatedelete |
|
overridevirtual |
Implements fwlite::RunBase.
Definition at line 200 of file Run.cc.
References branchMap_, or, size(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getByLabel(), and main().
|
inline |
|
virtual |
Definition at line 208 of file Run.cc.
References dataHelper_, and fwlite::DataGetterHelper::getBranchNameFor().
|
overridevirtual |
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 ntupleDataFormat._Object::_checkIsValid(), operator bool(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
overridevirtual |
Implements fwlite::RunBase.
Definition at line 148 of file Run.cc.
References branchMap_, and size().
|
overridevirtual |
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 ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), 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.
|
overridevirtual |
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(), 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().