CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions
edm::RunBase Class Referenceabstract

#include <RunBase.h>

Inheritance diagram for edm::RunBase:
edm::Run fwlite::RunBase fwlite::Run

Public Member Functions

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
 
virtual edm::RunAuxiliary const & runAuxiliary () const =0
 
 RunBase ()
 
virtual ~RunBase ()
 

Private Member Functions

virtual BasicHandle getByLabelImpl (std::type_info const &iWrapperType, std::type_info const &iProductType, InputTag const &iTag) const =0
 

Detailed Description

Definition at line 33 of file RunBase.h.

Constructor & Destructor Documentation

◆ RunBase()

RunBase::RunBase ( )

Definition at line 22 of file RunBase.cc.

22 {}

◆ ~RunBase()

RunBase::~RunBase ( )
virtual

Reimplemented in fwlite::RunBase.

Definition at line 24 of file RunBase.cc.

24 {}

Member Function Documentation

◆ beginTime()

Timestamp const& edm::RunBase::beginTime ( ) const
inline

Definition at line 41 of file RunBase.h.

References edm::RunAuxiliary::beginTime(), and runAuxiliary().

Referenced by FakeBeamMonitor::bookHistograms(), DQMEventInfo::bookHistograms(), BeamMonitor::bookHistograms(), and DQMHarvestingMetadata::dqmEndRun().

41 { return runAuxiliary().beginTime(); }
virtual edm::RunAuxiliary const & runAuxiliary() const =0
Timestamp const & beginTime() const
Definition: RunAuxiliary.h:28

◆ endTime()

Timestamp const& edm::RunBase::endTime ( ) const
inline

Definition at line 42 of file RunBase.h.

References edm::RunAuxiliary::endTime(), and runAuxiliary().

42 { return runAuxiliary().endTime(); }
virtual edm::RunAuxiliary const & runAuxiliary() const =0
Timestamp const & endTime() const
Definition: RunAuxiliary.h:29

◆ getByLabel() [1/2]

template<typename PROD >
bool edm::RunBase::getByLabel ( InputTag const &  tag,
Handle< PROD > &  result 
) const

same as above, but using the InputTag class

◆ getByLabel() [2/2]

template<typename T >
bool edm::RunBase::getByLabel ( InputTag const &  tag,
Handle< T > &  result 
) const

Definition at line 57 of file RunBase.h.

References getByLabelImpl(), eostools::move(), mps_fire::result, and makeGlobalPositionRcd_cfg::tag.

57  {
58  result.clear();
59  BasicHandle bh = this->getByLabelImpl(typeid(Wrapper<T>), typeid(T), tag);
60  result = convert_handle<T>(std::move(bh));
61  if (result.failedToGet()) {
62  return false;
63  }
64  return true;
65  }
virtual BasicHandle getByLabelImpl(std::type_info const &iWrapperType, std::type_info const &iProductType, InputTag const &iTag) const =0
long double T
def move(src, dest)
Definition: eostools.py:511

◆ getByLabelImpl()

virtual BasicHandle edm::RunBase::getByLabelImpl ( std::type_info const &  iWrapperType,
std::type_info const &  iProductType,
InputTag const &  iTag 
) const
privatepure virtual

Implemented in edm::Run, and fwlite::RunBase.

Referenced by getByLabel().

◆ id()

RunID const& edm::RunBase::id ( void  ) const
inline

◆ run()

RunNumber_t edm::RunBase::run ( ) const
inline

Definition at line 40 of file RunBase.h.

References edm::RunAuxiliary::run(), and runAuxiliary().

Referenced by L1GtAnalyzer::analyzeConditionsInRunBlock(), FakeBeamMonitor::beginLuminosityBlock(), BeamMonitor::beginLuminosityBlock(), ecaldqm::RawDataTask::beginRun(), CastorRawToDigi::beginRun(), EventIDChecker::beginRun(), AlCaIsolatedBunchSelector::beginRun(), GlobalHitsProdHistStripper::beginRun(), AlCaIsoTracksProducerFilter::beginRun(), AnotherBeamSpotAnalyzer::beginRun(), BSvsPVAnalyzer::beginRun(), APVCyclePhaseProducerFromL1ABC::beginRun(), AlCaHBHEMuonProducer::beginRun(), AlCaLowPUHBHEMuonFilter::beginRun(), AlCaHBHEMuonFilter::beginRun(), AlCaHEMuonFilter::beginRun(), APVCyclePhaseProducerFromL1TS::beginRun(), StudyTriggerHLT::beginRun(), SiStripQualityHistory::beginRun(), SiPixelQualityHistory::beginRun(), MultiplicityTimeCorrelations::beginRun(), CentralityBinProducer::beginRun(), IsoTrackCalibration::beginRun(), PrimaryVertexValidation::beginRun(), SiStripDB2Tree::beginRun(), HcalHBHEMuonAnalyzer::beginRun(), HcalHBHEMuonHighEtaAnalyzer::beginRun(), AlCaIsoTracksFilter::beginRun(), IsoTrackCalib::beginRun(), StudyCaloResponse::beginRun(), HcalIsoTrkSimAnalyzer::beginRun(), AlCaHcalHBHEMuonProducer::beginRun(), AlCaIsoTracksProducer::beginRun(), HcalIsoTrkAnalyzer::beginRun(), IsoTrig::beginRun(), AlCaHcalIsotrkProducer::beginRun(), RunHistogramManager::beginRun(), FakeBeamMonitor::bookHistograms(), BeamMonitor::bookHistograms(), Types.EventID::cppID(), Types.LuminosityBlockID::cppID(), CTPPSDiamondDQMSource::dqmBeginRun(), CorrPCCProducer::dqmEndRunProduce(), ecaldqm::EcalDQMonitor::ecaldqmBeginRun(), ecaldqm::EcalDQMonitor::ecaldqmEndRun(), HcalIsoTrackAnalyzer::endRun(), EventIDChecker::endRun(), AlCaIsolatedBunchSelector::endRun(), AlCaIsoTracksProducerFilter::endRun(), AlCaHEMuonFilter::endRun(), AlCaHBHEMuonProducer::endRun(), AlCaLowPUHBHEMuonFilter::endRun(), AlCaHBHEMuonFilter::endRun(), StudyTriggerHLT::endRun(), IsoTrackCalibration::endRun(), AlCaIsoTracksFilter::endRun(), IsoTrackCalib::endRun(), StudyCaloResponse::endRun(), HcalIsoTrkSimAnalyzer::endRun(), AlCaHcalHBHEMuonProducer::endRun(), AlCaIsoTracksProducer::endRun(), HcalIsoTrkAnalyzer::endRun(), AlCaHcalIsotrkProducer::endRun(), MEtoEDMConverter::endRunProduce(), OnlineBeamMonitor::globalBeginLuminosityBlock(), AlCaHcalHBHEMuonFilter::globalBeginRun(), AlCaHcalHEMuonFilter::globalBeginRun(), AlCaHcalIsotrkFilter::globalBeginRun(), ConfigurableAPVCyclePhaseProducer::globalBeginRun(), TestInterProcessProd::globalBeginRunProduce(), TestInterProcessProd::streamBeginRun(), TestInterProcessProd::streamEndRun(), ExternalGeneratorFilter::streamEndRun(), and fwlite::Run::to().

40 { return runAuxiliary().run(); }
virtual edm::RunAuxiliary const & runAuxiliary() const =0
RunNumber_t run() const
Definition: RunAuxiliary.h:30

◆ runAuxiliary()

virtual edm::RunAuxiliary const& edm::RunBase::runAuxiliary ( ) const
pure virtual

Implemented in fwlite::Run, and edm::Run.

Referenced by beginTime(), endTime(), id(), and run().