#include <LuminosityBlock.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 |
fwlite::Run const & | getRun () const |
bool | isValid () const |
LuminosityBlock (TFile *iFile) | |
LuminosityBlock (std::shared_ptr< BranchMapReader > branchMap, std::shared_ptr< RunFactory > runFactory) | |
LuminosityBlock (const LuminosityBlock &)=delete | |
edm::LuminosityBlockAuxiliary const & | luminosityBlockAuxiliary () const override |
operator bool () const | |
const LuminosityBlock & | operator++ () override |
const LuminosityBlock & | operator= (const LuminosityBlock &)=delete |
Long64_t | size () const |
bool | to (edm::RunNumber_t run, edm::LuminosityBlockNumber_t lumi) |
Go to event by Run & LuminosityBlock number. More... | |
const LuminosityBlock & | toBegin () override |
~LuminosityBlock () override | |
Public Member Functions inherited from fwlite::LuminosityBlockBase | |
virtual Long64_t | fileIndex () const |
LuminosityBlockBase () | |
virtual Long64_t | secondaryFileIndex () const |
~LuminosityBlockBase () override | |
Public Member Functions inherited from edm::LuminosityBlockBase | |
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<class T > | |
bool | getByLabel (const InputTag &tag, Handle< T > &result) const |
LuminosityBlockID | id () const |
LuminosityBlockNumber_t | luminosityBlock () const |
LuminosityBlockBase () | |
RunNumber_t | run () const |
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 lumiIndex) const |
Private Attributes | |
edm::LuminosityBlockAuxiliary | aux_ |
TBranch * | auxBranch_ |
std::shared_ptr< BranchMapReader > | branchMap_ |
DataGetterHelper | dataHelper_ |
EntryFinder | entryFinder_ |
int | fileVersion_ |
edm::ProcessHistoryMap | historyMap_ |
std::vector< char const * > | labels_ |
edm::LuminosityBlockAuxiliary const * | pAux_ |
edm::LuminosityBlockAux const * | pOldAux_ |
std::vector< std::string > | procHistoryNames_ |
std::shared_ptr< fwlite::Run > | run_ |
std::shared_ptr< RunFactory > | runFactory_ |
Friends | |
class | internal::ProductGetter |
class | LumiHistoryGetter |
Definition at line 57 of file LuminosityBlock.h.
LuminosityBlock::LuminosityBlock | ( | TFile * | iFile | ) |
Definition at line 45 of file LuminosityBlock.cc.
References auxBranch_, branchMap_, edm::BranchTypeToAuxiliaryBranchName(), Exception, fileVersion_, edm::InLumi, edm::poolNames::luminosityBlockTreeName(), pAux_, and runFactory_.
LuminosityBlock::LuminosityBlock | ( | std::shared_ptr< BranchMapReader > | branchMap, |
std::shared_ptr< RunFactory > | runFactory | ||
) |
Definition at line 89 of file LuminosityBlock.cc.
References auxBranch_, branchMap_, edm::BranchTypeToAuxiliaryBranchName(), Exception, fileVersion_, edm::InLumi, edm::poolNames::luminosityBlockTreeName(), and pAux_.
|
delete |
|
override |
Definition at line 131 of file LuminosityBlock.cc.
References label, labels_, and pOldAux_.
|
overridevirtual |
Implements fwlite::LuminosityBlockBase.
Definition at line 176 of file LuminosityBlock.cc.
References branchMap_, or, and size().
Referenced by getByLabel().
|
inline |
Definition at line 92 of file LuminosityBlock.h.
References branchMap_.
|
virtual |
Definition at line 181 of file LuminosityBlock.cc.
References dataHelper_, and fwlite::DataGetterHelper::getBranchNameFor().
|
overridevirtual |
Implements fwlite::LuminosityBlockBase.
Definition at line 188 of file LuminosityBlock.cc.
References atEnd(), branchMap_, dataHelper_, Exception, fwlite::DataGetterHelper::getByLabel(), and csv2json::lumiIndex.
edm::WrapperBase const * LuminosityBlock::getByProductID | ( | edm::ProductID const & | iID | ) | const |
Definition at line 275 of file LuminosityBlock.cc.
References branchMap_, dataHelper_, and fwlite::DataGetterHelper::getByProductID().
fwlite::Run const & LuminosityBlock::getRun | ( | ) | const |
Definition at line 302 of file LuminosityBlock.cc.
References branchMap_, luminosityBlockAuxiliary(), edm::LuminosityBlockAuxiliary::run(), edm::LuminosityBlockBase::run(), run_, and runFactory_.
|
private |
Definition at line 216 of file LuminosityBlock.cc.
References aux_, b, branchMap_, Exception, fileVersion_, historyMap_, csv2json::lumiIndex, edm::poolNames::metaDataTreeName(), edm::poolNames::processHistoryBranchName(), edm::LuminosityBlockAuxiliary::processHistoryID(), edm::poolNames::processHistoryMapBranchName(), procHistoryNames_, edm::ProcessHistory::setProcessHistoryID(), and updateAux().
Referenced by fwlite::LumiHistoryGetter::history().
bool LuminosityBlock::isValid | ( | void | ) | const |
Definition at line 169 of file LuminosityBlock.cc.
References branchMap_, and size().
Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
overridevirtual |
Implements edm::LuminosityBlockBase.
Definition at line 200 of file LuminosityBlock.cc.
References aux_, branchMap_, and updateAux().
Referenced by getRun().
LuminosityBlock::operator bool | ( | ) | const |
|
overridevirtual |
Implements fwlite::LuminosityBlockBase.
Definition at line 142 of file LuminosityBlock.cc.
References branchMap_, and size().
|
delete |
Long64_t LuminosityBlock::size | ( | void | ) | const |
Definition at line 167 of file LuminosityBlock.cc.
References branchMap_.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), atEnd(), isValid(), and operator++().
|
static |
Definition at line 283 of file LuminosityBlock.cc.
References Exception, and edm::errors::ProductNotFound.
bool LuminosityBlock::to | ( | edm::RunNumber_t | run, |
edm::LuminosityBlockNumber_t | lumi | ||
) |
Go to event by Run & LuminosityBlock number.
Definition at line 150 of file LuminosityBlock.cc.
References branchMap_, mps_splice::entry, entryFinder_, fwlite::EntryFinder::fillIndex(), fwlite::EntryFinder::findLumi(), fwlite::EntryFinder::invalidEntry, edm::LuminosityBlockBase::luminosityBlock(), and edm::LuminosityBlockBase::run().
|
overridevirtual |
Implements fwlite::LuminosityBlockBase.
Definition at line 159 of file LuminosityBlock.cc.
References branchMap_.
|
private |
Definition at line 206 of file LuminosityBlock.cc.
References aux_, auxBranch_, edm::conversion(), and pOldAux_.
Referenced by history(), and luminosityBlockAuxiliary().
|
friend |
Definition at line 107 of file LuminosityBlock.h.
|
friend |
Definition at line 108 of file LuminosityBlock.h.
|
mutableprivate |
Definition at line 123 of file LuminosityBlock.h.
Referenced by history(), luminosityBlockAuxiliary(), and updateAux().
|
private |
Definition at line 127 of file LuminosityBlock.h.
Referenced by LuminosityBlock(), and updateAux().
|
mutableprivate |
Definition at line 115 of file LuminosityBlock.h.
Referenced by atEnd(), getBranchDescriptions(), getByLabel(), getByProductID(), getRun(), history(), isValid(), LuminosityBlock(), luminosityBlockAuxiliary(), operator++(), size(), to(), and toBegin().
|
private |
Definition at line 130 of file LuminosityBlock.h.
Referenced by getBranchNameFor(), getByLabel(), and getByProductID().
|
mutableprivate |
Definition at line 124 of file LuminosityBlock.h.
Referenced by to().
|
private |
Definition at line 128 of file LuminosityBlock.h.
Referenced by history(), and LuminosityBlock().
|
mutableprivate |
Definition at line 121 of file LuminosityBlock.h.
Referenced by history().
|
mutableprivate |
Definition at line 120 of file LuminosityBlock.h.
Referenced by ~LuminosityBlock().
|
private |
Definition at line 125 of file LuminosityBlock.h.
Referenced by LuminosityBlock().
|
private |
Definition at line 126 of file LuminosityBlock.h.
Referenced by updateAux(), and ~LuminosityBlock().
|
mutableprivate |
Definition at line 122 of file LuminosityBlock.h.
Referenced by history().
|
mutableprivate |
Definition at line 117 of file LuminosityBlock.h.
Referenced by getRun().
|
mutableprivate |
Definition at line 131 of file LuminosityBlock.h.
Referenced by getRun(), and LuminosityBlock().