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 ( )

Definition at line 22 of file RunBase.cc.

22 {}
RunBase::~RunBase ( )
virtual

Reimplemented in fwlite::RunBase.

Definition at line 24 of file RunBase.cc.

24 {}

Member Function Documentation

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

same as above, but using the InputTag class

Referenced by endTime().

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

Definition at line 57 of file RunBase.h.

References edm::HandleBase::clear(), edm::HandleBase::failedToGet(), getByLabelImpl(), and eostools::move().

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
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.

Referenced by endTime(), and getByLabel().

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

Definition at line 40 of file RunBase.h.

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

Referenced by CosmicRateAnalyzer::analyze(), L1GtAnalyzer::analyzeConditionsInRunBlock(), SiStripFedCablingBuilder::beginRun(), ecaldqm::RawDataTask::beginRun(), SiStripAnalyser::beginRun(), SiStripMonitorCondDataOnDemandExample::beginRun(), CastorRawToDigi::beginRun(), LumiCalculator::beginRun(), AlCaRecoTriggerBitsRcdRead::beginRun(), L1RCTProducer::beginRun(), SiStripMonitorCondData::beginRun(), GlobalHitsProdHistStripper::beginRun(), ConfigurableAPVCyclePhaseProducer::beginRun(), AlCaIsolatedBunchFilter::beginRun(), AlCaIsoTracksProducerFilter::beginRun(), AlCaIsolatedBunchSelector::beginRun(), CentralityBinProducer::beginRun(), SiStripCorrelateNoise::beginRun(), SimpleHBHEPhase1Algo::beginRun(), AnotherBeamSpotAnalyzer::beginRun(), BSvsPVAnalyzer::beginRun(), APVCyclePhaseProducerFromL1ABC::beginRun(), AlCaHBHEMuonProducer::beginRun(), AlCaHEMuonFilter::beginRun(), APVCyclePhaseProducerFromL1TS::beginRun(), AlCaHBHEMuonFilter::beginRun(), AlCaLowPUHBHEMuonFilter::beginRun(), SiStripQualityHistory::beginRun(), IgProfModule::beginRun(), SiPixelQualityHistory::beginRun(), MultiplicityTimeCorrelations::beginRun(), HcalHBHEMuonAnalyzer::beginRun(), AlCaIsoTracksFilter::beginRun(), IsoTrackCalibration::beginRun(), MillePedeAlignmentAlgorithm::beginRun(), SiStripLorentzAngleCalibration::beginRun(), SiPixelLorentzAngleCalibration::beginRun(), StudyHLT::beginRun(), IsoTrackCalib::beginRun(), HcalIsoTrkAnalyzer::beginRun(), AlCaIsoTracksProducer::beginRun(), IsoTrig::beginRun(), LumiProducer::beginRun(), RunHistogramManager::beginRun(), BeamMonitor::bookHistograms(), PixelLumiDQM::bookHistograms(), Types.EventID::cppID(), Types.LuminosityBlockID::cppID(), CTPPSDiamondDQMSource::dqmBeginRun(), ecaldqm::EcalDQMonitor::ecaldqmBeginRun(), ecaldqm::EcalDQMonitor::ecaldqmEndRun(), DummyCondDBWriter< TObject, TObjectO, TRecord >::endRun(), CTPPSPixelDQMSource::endRun(), LumiCalculator::endRun(), PhiSymmetryCalibration::endRun(), HLTrigReport::endRun(), AlCaIsolatedBunchSelector::endRun(), AlCaIsolatedBunchFilter::endRun(), AlCaIsoTracksProducerFilter::endRun(), AlCaHBHEMuonProducer::endRun(), AlCaHBHEMuonFilter::endRun(), AlCaHEMuonFilter::endRun(), AlCaLowPUHBHEMuonFilter::endRun(), cms::Analyzer_minbias::endRun(), AlCaIsoTracksFilter::endRun(), IsoTrackCalibration::endRun(), StudyHLT::endRun(), IsoTrackCalib::endRun(), HcalIsoTrkAnalyzer::endRun(), AlCaIsoTracksProducer::endRun(), one::dqmimplementation::DQMRunEDProducer< edm::one::WatchLuminosityBlocks >::endRunProduce(), CorrPCCProducer::endRunProduce(), MEtoEDMConverter::endRunProduce(), DQMGlobalEDAnalyzer< H, Args >::globalBeginRun(), L1TriggerJSONMonitoring::globalBeginRun(), HLTriggerJSONMonitoring::globalBeginRun(), LogErrorEventFilter::globalEndRun(), and FamosManager::setupGeometryAndField().

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

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

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