#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 |
const Run & | operator= (const Run &)=delete |
Run (TFile *iFile) | |
Run (std::shared_ptr< BranchMapReader > branchMap) | |
Run (const Run &)=delete | |
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 |
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 86 of file Run.cc.
References auxBranch_, branchMap_, edm::BranchTypeToAuxiliaryBranchName(), Exception, fileVersion_, edm::InRun, pAux_, and edm::poolNames::runTreeName().
|
delete |
|
override |
|
overridevirtual |
Implements fwlite::RunBase.
Definition at line 172 of file Run.cc.
References branchMap_, or, and size().
Referenced by getByLabel(), and main().
|
inline |
|
virtual |
Definition at line 177 of file Run.cc.
References dataHelper_, and fwlite::DataGetterHelper::getBranchNameFor().
|
overridevirtual |
Implements fwlite::RunBase.
Definition at line 184 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 271 of file Run.cc.
References branchMap_, dataHelper_, and fwlite::DataGetterHelper::getByProductID().
|
private |
Definition at line 212 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 165 of file Run.cc.
References branchMap_, and size().
Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().
Run::operator bool | ( | ) | const |
|
overridevirtual |
Implements fwlite::RunBase.
Definition at line 138 of file Run.cc.
References branchMap_, and size().
|
overridevirtual |
Implements edm::RunBase.
Definition at line 196 of file Run.cc.
References aux_, branchMap_, and updateAux().
Long64_t Run::size | ( | void | ) | const |
Definition at line 163 of file Run.cc.
References branchMap_.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), atEnd(), isValid(), and operator++().
|
static |
Definition at line 279 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 146 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 155 of file Run.cc.
References branchMap_.
Referenced by main().
|
private |
Definition at line 202 of file Run.cc.
References aux_, auxBranch_, edm::conversion(), and pOldAux_.
Referenced by history(), and runAuxiliary().
|
friend |
|
friend |
|
mutableprivate |
Definition at line 117 of file Run.h.
Referenced by history(), runAuxiliary(), and updateAux().
|
private |
Definition at line 121 of file Run.h.
Referenced by Run(), and updateAux().
|
mutableprivate |
Definition at line 111 of file Run.h.
Referenced by atEnd(), getBranchDescriptions(), getByLabel(), getByProductID(), history(), isValid(), operator++(), Run(), runAuxiliary(), size(), to(), and toBegin().
|
private |
Definition at line 124 of file Run.h.
Referenced by getBranchNameFor(), getByLabel(), and getByProductID().
|
mutableprivate |
|
private |
|
mutableprivate |
|
mutableprivate |
|
private |
|
private |
Definition at line 120 of file Run.h.
Referenced by updateAux(), and ~Run().