#include <LuminosityBlock.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 |
fwlite::Run const & | getRun () const |
bool | isValid () const |
LuminosityBlock (TFile *iFile) | |
LuminosityBlock (std::shared_ptr< BranchMapReader > branchMap, std::shared_ptr< RunFactory > runFactory) | |
virtual edm::LuminosityBlockAuxiliary const & | luminosityBlockAuxiliary () const |
operator bool () const | |
const LuminosityBlock & | operator++ () |
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 () |
virtual | ~LuminosityBlock () |
Public Member Functions inherited from fwlite::LuminosityBlockBase | |
virtual Long64_t | fileIndex () const |
LuminosityBlockBase () | |
virtual Long64_t | secondaryFileIndex () const |
virtual | ~LuminosityBlockBase () |
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 |
LuminosityBlock (const LuminosityBlock &) | |
const LuminosityBlock & | operator= (const LuminosityBlock &) |
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 56 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 91 of file LuminosityBlock.cc.
References auxBranch_, branchMap_, edm::BranchTypeToAuxiliaryBranchName(), Exception, fileVersion_, edm::InLumi, edm::poolNames::luminosityBlockTreeName(), and pAux_.
|
virtual |
Definition at line 137 of file LuminosityBlock.cc.
References diffTwoXMLs::label, labels_, and pOldAux_.
|
private |
|
virtual |
Implements fwlite::LuminosityBlockBase.
Definition at line 202 of file LuminosityBlock.cc.
References branchMap_, or, size(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getByLabel(), and main().
|
inline |
Definition at line 93 of file LuminosityBlock.h.
References edm::throwProductNotFoundException().
|
virtual |
Definition at line 210 of file LuminosityBlock.cc.
References dataHelper_, and fwlite::DataGetterHelper::getBranchNameFor().
|
virtual |
Implements fwlite::LuminosityBlockBase.
Definition at line 220 of file LuminosityBlock.cc.
References atEnd(), branchMap_, dataHelper_, Exception, and fwlite::DataGetterHelper::getByLabel().
edm::WrapperBase const * LuminosityBlock::getByProductID | ( | edm::ProductID const & | iID | ) | const |
Definition at line 318 of file LuminosityBlock.cc.
References branchMap_, dataHelper_, and fwlite::DataGetterHelper::getByProductID().
fwlite::Run const & LuminosityBlock::getRun | ( | ) | const |
Definition at line 343 of file LuminosityBlock.cc.
References branchMap_, luminosityBlockAuxiliary(), edm::LuminosityBlockAuxiliary::run(), edm::LuminosityBlockBase::run(), run_, and runFactory_.
Referenced by main().
|
private |
Definition at line 255 of file LuminosityBlock.cc.
References aux_, b, branchMap_, Exception, fileVersion_, historyMap_, 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 189 of file LuminosityBlock.cc.
References branchMap_, and size().
Referenced by ntupleDataFormat._Object::_checkIsValid(), operator bool(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
virtual |
Implements edm::LuminosityBlockBase.
Definition at line 234 of file LuminosityBlock.cc.
References aux_, branchMap_, and updateAux().
Referenced by getRun().
LuminosityBlock::operator bool | ( | ) | const |
|
virtual |
Implements fwlite::LuminosityBlockBase.
Definition at line 150 of file LuminosityBlock.cc.
References branchMap_, and size().
|
private |
Long64_t LuminosityBlock::size | ( | void | ) | const |
Definition at line 183 of file LuminosityBlock.cc.
References branchMap_.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), atEnd(), isValid(), and operator++().
|
static |
Definition at line 328 of file LuminosityBlock.cc.
References edm::TypeID::className(), 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 162 of file LuminosityBlock.cc.
References branchMap_, mps_splice::entry, entryFinder_, fwlite::EntryFinder::fillIndex(), fwlite::EntryFinder::findLumi(), and fwlite::EntryFinder::invalidEntry.
|
virtual |
Implements fwlite::LuminosityBlockBase.
Definition at line 173 of file LuminosityBlock.cc.
References branchMap_.
Referenced by main().
|
private |
Definition at line 242 of file LuminosityBlock.cc.
References aux_, auxBranch_, edm::conversion(), and pOldAux_.
Referenced by history(), and luminosityBlockAuxiliary().
|
friend |
Definition at line 108 of file LuminosityBlock.h.
|
friend |
Definition at line 109 of file LuminosityBlock.h.
|
mutableprivate |
Definition at line 128 of file LuminosityBlock.h.
Referenced by history(), luminosityBlockAuxiliary(), and updateAux().
|
private |
Definition at line 132 of file LuminosityBlock.h.
Referenced by LuminosityBlock(), and updateAux().
|
mutableprivate |
Definition at line 120 of file LuminosityBlock.h.
Referenced by atEnd(), getByLabel(), getByProductID(), getRun(), history(), isValid(), LuminosityBlock(), luminosityBlockAuxiliary(), operator++(), size(), to(), and toBegin().
|
private |
Definition at line 135 of file LuminosityBlock.h.
Referenced by getBranchNameFor(), getByLabel(), and getByProductID().
|
mutableprivate |
Definition at line 129 of file LuminosityBlock.h.
Referenced by to().
|
private |
Definition at line 133 of file LuminosityBlock.h.
Referenced by history(), and LuminosityBlock().
|
mutableprivate |
Definition at line 126 of file LuminosityBlock.h.
Referenced by history().
|
mutableprivate |
Definition at line 125 of file LuminosityBlock.h.
Referenced by ~LuminosityBlock().
|
private |
Definition at line 130 of file LuminosityBlock.h.
Referenced by LuminosityBlock().
|
private |
Definition at line 131 of file LuminosityBlock.h.
Referenced by updateAux(), and ~LuminosityBlock().
|
mutableprivate |
Definition at line 127 of file LuminosityBlock.h.
Referenced by history().
|
mutableprivate |
Definition at line 122 of file LuminosityBlock.h.
Referenced by getRun().
|
mutableprivate |
Definition at line 136 of file LuminosityBlock.h.
Referenced by getRun(), and LuminosityBlock().