#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 |
virtual bool | getByLabel (std::type_info const &, char const *, char const *, char const *, edm::WrapperHolder &) const |
edm::WrapperHolder | getByProductID (edm::ProductID const &) const |
fwlite::Run const & | getRun () const |
bool | isValid () const |
LuminosityBlock (TFile *iFile) | |
LuminosityBlock (boost::shared_ptr< BranchMapReader > branchMap, boost::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_ |
boost::shared_ptr < BranchMapReader > | branchMap_ |
DataGetterHelper | dataHelper_ |
EntryFinder | entryFinder_ |
int | fileVersion_ |
edm::ProcessHistoryMap | historyMap_ |
std::vector< char const * > | labels_ |
edm::LuminosityBlockAuxiliary * | pAux_ |
edm::LuminosityBlockAux * | pOldAux_ |
std::vector< std::string > | procHistoryNames_ |
boost::shared_ptr< fwlite::Run > | run_ |
boost::shared_ptr< RunFactory > | runFactory_ |
Friends | |
class | internal::ProductGetter |
class | LumiHistoryGetter |
Definition at line 58 of file LuminosityBlock.h.
LuminosityBlock::LuminosityBlock | ( | TFile * | iFile | ) |
Definition at line 45 of file LuminosityBlock.cc.
References auxBranch_, branchMap_, edm::BranchTypeToAuxiliaryBranchName(), edm::hlt::Exception, fileVersion_, edm::InLumi, edm::poolNames::luminosityBlockTreeName(), pAux_, and runFactory_.
LuminosityBlock::LuminosityBlock | ( | boost::shared_ptr< BranchMapReader > | branchMap, |
boost::shared_ptr< RunFactory > | runFactory | ||
) |
Definition at line 91 of file LuminosityBlock.cc.
References auxBranch_, branchMap_, edm::BranchTypeToAuxiliaryBranchName(), edm::hlt::Exception, fileVersion_, edm::InLumi, edm::poolNames::luminosityBlockTreeName(), and pAux_.
|
virtual |
Definition at line 137 of file LuminosityBlock.cc.
References labels_, and pOldAux_.
|
private |
|
virtual |
Implements fwlite::LuminosityBlockBase.
Definition at line 204 of file LuminosityBlock.cc.
References branchMap_, or, and size().
Referenced by getByLabel(), and main().
|
inline |
Definition at line 96 of file LuminosityBlock.h.
References branchMap_.
|
virtual |
Definition at line 212 of file LuminosityBlock.cc.
References dataHelper_, and fwlite::DataGetterHelper::getBranchNameFor().
|
virtual |
Implements fwlite::LuminosityBlockBase.
Definition at line 222 of file LuminosityBlock.cc.
References atEnd(), branchMap_, dataHelper_, edm::hlt::Exception, and fwlite::DataGetterHelper::getByLabel().
|
virtual |
Implements fwlite::LuminosityBlockBase.
Definition at line 236 of file LuminosityBlock.cc.
References atEnd(), branchMap_, dataHelper_, edm::hlt::Exception, and fwlite::DataGetterHelper::getByLabel().
edm::WrapperHolder LuminosityBlock::getByProductID | ( | edm::ProductID const & | iID | ) | const |
Definition at line 333 of file LuminosityBlock.cc.
References branchMap_, dataHelper_, and fwlite::DataGetterHelper::getByProductID().
fwlite::Run const & LuminosityBlock::getRun | ( | ) | const |
Definition at line 358 of file LuminosityBlock.cc.
References branchMap_, luminosityBlockAuxiliary(), edm::LuminosityBlockAuxiliary::run(), edm::LuminosityBlockBase::run(), run_, and runFactory_.
Referenced by main().
|
private |
Definition at line 270 of file LuminosityBlock.cc.
References aux_, b, branchMap_, edm::hlt::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 191 of file LuminosityBlock.cc.
References branchMap_, and size().
|
virtual |
Implements edm::LuminosityBlockBase.
Definition at line 249 of file LuminosityBlock.cc.
References aux_, branchMap_, and updateAux().
Referenced by getRun().
LuminosityBlock::operator bool | ( | ) | const |
Definition at line 198 of file LuminosityBlock.cc.
|
virtual |
Implements fwlite::LuminosityBlockBase.
Definition at line 152 of file LuminosityBlock.cc.
References branchMap_, and size().
|
private |
Long64_t LuminosityBlock::size | ( | void | ) | const |
Definition at line 185 of file LuminosityBlock.cc.
References branchMap_.
Referenced by atEnd(), isValid(), and operator++().
|
static |
Definition at line 343 of file LuminosityBlock.cc.
References edm::TypeID::className(), edm::hlt::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 164 of file LuminosityBlock.cc.
References branchMap_, entryFinder_, fwlite::EntryFinder::fillIndex(), fwlite::EntryFinder::findLumi(), and fwlite::EntryFinder::invalidEntry.
|
virtual |
Implements fwlite::LuminosityBlockBase.
Definition at line 175 of file LuminosityBlock.cc.
References branchMap_.
Referenced by main().
|
private |
Definition at line 257 of file LuminosityBlock.cc.
References aux_, auxBranch_, edm::conversion(), and pOldAux_.
Referenced by history(), and luminosityBlockAuxiliary().
|
friend |
Definition at line 111 of file LuminosityBlock.h.
|
friend |
Definition at line 112 of file LuminosityBlock.h.
|
mutableprivate |
Definition at line 131 of file LuminosityBlock.h.
Referenced by history(), luminosityBlockAuxiliary(), and updateAux().
|
private |
Definition at line 135 of file LuminosityBlock.h.
Referenced by LuminosityBlock(), and updateAux().
|
mutableprivate |
Definition at line 123 of file LuminosityBlock.h.
Referenced by atEnd(), getBranchDescriptions(), getByLabel(), getByProductID(), getRun(), history(), isValid(), LuminosityBlock(), luminosityBlockAuxiliary(), operator++(), size(), to(), and toBegin().
|
private |
Definition at line 138 of file LuminosityBlock.h.
Referenced by getBranchNameFor(), getByLabel(), and getByProductID().
|
mutableprivate |
Definition at line 132 of file LuminosityBlock.h.
Referenced by to().
|
private |
Definition at line 136 of file LuminosityBlock.h.
Referenced by history(), and LuminosityBlock().
|
mutableprivate |
Definition at line 129 of file LuminosityBlock.h.
Referenced by history().
|
mutableprivate |
Definition at line 128 of file LuminosityBlock.h.
Referenced by ~LuminosityBlock().
|
private |
Definition at line 133 of file LuminosityBlock.h.
Referenced by LuminosityBlock().
|
private |
Definition at line 134 of file LuminosityBlock.h.
Referenced by updateAux(), and ~LuminosityBlock().
|
mutableprivate |
Definition at line 130 of file LuminosityBlock.h.
Referenced by history().
|
mutableprivate |
Definition at line 125 of file LuminosityBlock.h.
Referenced by getRun().
|
mutableprivate |
Definition at line 139 of file LuminosityBlock.h.
Referenced by getRun(), and LuminosityBlock().