#include <LuminosityBlockAuxiliary.h>
Definition at line 15 of file LuminosityBlockAuxiliary.h.
edm::LuminosityBlockAuxiliary::LuminosityBlockAuxiliary | ( | ) | [inline] |
Definition at line 18 of file LuminosityBlockAuxiliary.h.
: processHistoryID_(), id_(), beginTime_(), endTime_() {}
edm::LuminosityBlockAuxiliary::LuminosityBlockAuxiliary | ( | LuminosityBlockID const & | theId, |
Timestamp const & | theTime, | ||
Timestamp const & | theEndTime | ||
) | [inline] |
Definition at line 23 of file LuminosityBlockAuxiliary.h.
: processHistoryID_(), id_(theId), beginTime_(theTime), endTime_(theEndTime) {}
edm::LuminosityBlockAuxiliary::LuminosityBlockAuxiliary | ( | RunNumber_t const & | theRun, |
LuminosityBlockNumber_t const & | theLumi, | ||
Timestamp const & | theTime, | ||
Timestamp const & | theEndTime | ||
) | [inline] |
Definition at line 30 of file LuminosityBlockAuxiliary.h.
: processHistoryID_(), id_(theRun, theLumi), beginTime_(theTime), endTime_(theEndTime) {}
edm::LuminosityBlockAuxiliary::~LuminosityBlockAuxiliary | ( | ) | [inline] |
Definition at line 38 of file LuminosityBlockAuxiliary.h.
{}
Timestamp const& edm::LuminosityBlockAuxiliary::beginTime | ( | ) | const [inline] |
Definition at line 46 of file LuminosityBlockAuxiliary.h.
References beginTime_.
Referenced by edm::LuminosityBlockBase::beginTime(), edm::LuminosityBlockPrincipal::beginTime(), and mergeAuxiliary().
{return beginTime_;}
Timestamp const& edm::LuminosityBlockAuxiliary::endTime | ( | ) | const [inline] |
Definition at line 50 of file LuminosityBlockAuxiliary.h.
References endTime_.
Referenced by edm::LuminosityBlockPrincipal::endTime(), edm::LuminosityBlockBase::endTime(), and mergeAuxiliary().
{return endTime_;}
LuminosityBlockID const& edm::LuminosityBlockAuxiliary::id | ( | void | ) | const [inline] |
Definition at line 44 of file LuminosityBlockAuxiliary.h.
References id_.
Referenced by edm::LuminosityBlockBase::id(), edm::LuminosityBlockPrincipal::id(), luminosityBlock(), DQMRootSource::readNextItemType(), and run().
{return id_;}
LuminosityBlockID& edm::LuminosityBlockAuxiliary::id | ( | void | ) | [inline] |
LuminosityBlockNumber_t edm::LuminosityBlockAuxiliary::luminosityBlock | ( | ) | const [inline] |
Definition at line 42 of file LuminosityBlockAuxiliary.h.
References id(), and edm::LuminosityBlockID::luminosityBlock().
Referenced by edm::LuminosityBlockPrincipal::luminosityBlock(), edm::LuminosityBlockBase::luminosityBlock(), and edm::RootOutputFile::writeLuminosityBlock().
{return id().luminosityBlock();}
void edm::LuminosityBlockAuxiliary::mergeAuxiliary | ( | LuminosityBlockAuxiliary const & | newAux | ) |
Definition at line 17 of file LuminosityBlockAuxiliary.cc.
References beginTime(), beginTime_, endTime(), endTime_, id_, and edm::Timestamp::invalidTimestamp().
{ assert(id_ == newAux.id_); if (beginTime_ == Timestamp::invalidTimestamp() || newAux.beginTime() == Timestamp::invalidTimestamp()) { beginTime_ = Timestamp::invalidTimestamp(); } else if (newAux.beginTime() < beginTime_) { beginTime_ = newAux.beginTime(); } if (endTime_ == Timestamp::invalidTimestamp() || newAux.endTime() == Timestamp::invalidTimestamp()) { endTime_ = Timestamp::invalidTimestamp(); } else if (newAux.endTime() > endTime_) { endTime_ = newAux.endTime(); } }
ProcessHistoryID const& edm::LuminosityBlockAuxiliary::processHistoryID | ( | ) | const [inline] |
Definition at line 40 of file LuminosityBlockAuxiliary.h.
References processHistoryID_.
Referenced by fwlite::LuminosityBlock::history().
{return processHistoryID_;}
RunNumber_t edm::LuminosityBlockAuxiliary::run | ( | ) | const [inline] |
Definition at line 43 of file LuminosityBlockAuxiliary.h.
References id(), and edm::LuminosityBlockID::run().
Referenced by fwlite::LuminosityBlock::getRun(), edm::LuminosityBlockBase::run(), edm::LuminosityBlockPrincipal::run(), and edm::RootOutputFile::writeLuminosityBlock().
{return id().run();}
void edm::LuminosityBlockAuxiliary::setBeginTime | ( | Timestamp const & | time | ) | [inline] |
Definition at line 47 of file LuminosityBlockAuxiliary.h.
References beginTime_, edm::Timestamp::invalidTimestamp(), and cond::rpcobgas::time.
{ if (beginTime_ == Timestamp::invalidTimestamp()) beginTime_ = time; }
void edm::LuminosityBlockAuxiliary::setEndTime | ( | Timestamp const & | time | ) | [inline] |
Definition at line 51 of file LuminosityBlockAuxiliary.h.
References endTime_, edm::Timestamp::invalidTimestamp(), and cond::rpcobgas::time.
{ if (endTime_ == Timestamp::invalidTimestamp()) endTime_ = time; }
void edm::LuminosityBlockAuxiliary::setProcessHistoryID | ( | ProcessHistoryID const & | phid | ) | [inline] |
Definition at line 41 of file LuminosityBlockAuxiliary.h.
References processHistoryID_.
Referenced by edm::StreamerInputSource::deserializeEvent(), DQMRootSource::readLuminosityBlockAuxiliary_(), and edm::RootOutputFile::writeLuminosityBlock().
{processHistoryID_ = phid;}
void edm::LuminosityBlockAuxiliary::write | ( | std::ostream & | os | ) | const |
Definition at line 11 of file LuminosityBlockAuxiliary.cc.
References id_, and processHistoryID_.
Referenced by edm::operator<<().
{ os << "Process History ID = " << processHistoryID_ << std::endl; os << id_ << std::endl; }
void conversion | ( | LuminosityBlockAux const & | from, |
LuminosityBlockAuxiliary & | to | ||
) | [friend] |
Definition at line 64 of file LuminosityBlockAuxiliary.h.
Referenced by beginTime(), edm::conversion(), mergeAuxiliary(), and setBeginTime().
Definition at line 65 of file LuminosityBlockAuxiliary.h.
Referenced by edm::conversion(), endTime(), mergeAuxiliary(), and setEndTime().
Definition at line 62 of file LuminosityBlockAuxiliary.h.
Referenced by edm::conversion(), id(), mergeAuxiliary(), and write().
Definition at line 60 of file LuminosityBlockAuxiliary.h.
Referenced by edm::conversion(), processHistoryID(), setProcessHistoryID(), and write().