CMS 3D CMS Logo

Public Member Functions | Private Member Functions

edm::RunBase Class Reference

#include <RunBase.h>

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

List of all members.

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
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 35 of file RunBase.h.


Constructor & Destructor Documentation

RunBase::RunBase ( )

Reimplemented in fwlite::RunBase.

Definition at line 23 of file RunBase.cc.

   {
   }
RunBase::~RunBase ( ) [virtual]

Reimplemented in fwlite::RunBase.

Definition at line 27 of file RunBase.cc.

   {
   }

Member Function Documentation

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

Definition at line 62 of file RunBase.h.

References edm::HandleBase::clear(), edm::convert_handle(), edm::BasicHandle::failedToGet(), and getByLabelImpl().

                                                                   {
      result.clear();
      BasicHandle bh = this->getByLabelImpl(typeid(Wrapper<T>), typeid(T), tag);
      convert_handle(bh, result);  // throws on conversion error
      if (bh.failedToGet()) {
         return false;
      }
      return true;
   }
template<typename PROD >
bool edm::RunBase::getByLabel ( InputTag const &  tag,
Handle< PROD > &  result 
) const

same as above, but using the InputTag class

Reimplemented in edm::Run.

virtual BasicHandle edm::RunBase::getByLabelImpl ( std::type_info const &  iWrapperType,
std::type_info const &  iProductType,
InputTag const &  iTag 
) const [private, pure virtual]

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

Referenced by getByLabel().

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

Definition at line 41 of file RunBase.h.

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

Referenced by ZDCMonitorClient::beginRun(), FourVectorHLTriggerOffline::beginRun(), HLTOverallSummary::beginRun(), HLTMuonCertSummary::beginRun(), HLTSeedL1LogicScalers::beginRun(), HLTJetMETDQMSource::beginRun(), DQMEventInfo::beginRun(), DTTrigProd::beginRun(), PhotonDataCertification::beginRun(), HLTMonSimpleBTag::beginRun(), TrigResRateMon::beginRun(), FourVectorHLTOffline::beginRun(), HLTScalersClient::beginRun(), HcalBeamMonitor::beginRun(), HcalMonitorClient::beginRun(), EcalBarrelMonitorClient::beginRun(), MulticoreRunLumiEventChecker::beginRun(), DQMFileSaver::beginRun(), HLTScalers::beginRun(), FourVectorHLTOnline::beginRun(), EcalEndcapMonitorClient::beginRun(), FourVectorHLT::beginRun(), HLTMonSimpleBTag::endRun(), FourVectorHLTOnline::endRun(), DataCertificationJetMET::endRun(), AlignmentProducer::endRun(), FourVectorHLTOffline::endRun(), L1GtHwValidation::endRun(), JetMETHLTOfflineSource::endRun(), FourVectorHLT::endRun(), EcalEndcapMonitorClient::endRun(), MulticoreRunLumiEventChecker::endRun(), ConditionDBWriter< SiStripApvGain >::endRun(), L1ExtraDQM::endRun(), EcalBarrelMonitorClient::endRun(), HLTScalers::endRun(), HLTJetMETDQMSource::endRun(), ZDCMonitorClient::endRun(), BTagHLTOfflineSource::endRun(), AlcaBeamSpotHarvester::endRun(), TrigResRateMon::endRun(), AlcaBeamMonitorClient::endRun(), FourVectorHLTriggerOffline::endRun(), HLTConfigProvider::init(), and main().

{return runAuxiliary().id();}
RunNumber_t edm::RunBase::run ( void  ) const [inline]

Definition at line 42 of file RunBase.h.

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

Referenced by L1GtAnalyzer::analyzeConditionsInRunBlock(), GlobalHitsProdHistStripper::beginRun(), MultiplicityInvestigator::beginRun(), LumiCalculator::beginRun(), StudyHLT::beginRun(), LumiProducer::beginRun(), EcalDQMonitorClient::beginRun(), SiStripQualityHistory::beginRun(), APVCyclePhaseProducerFromL1TS::beginRun(), AlCaRecoTriggerBitsRcdRead::beginRun(), MEtoEDMConverter::beginRun(), HLTMonBitSummary::beginRun(), IsoTrig::beginRun(), RunHistogramManager::beginRun(), ConfigurableAPVCyclePhaseProducer::beginRun(), SiPixelHistoricInfoReader::beginRun(), SiPixelHistoricInfoEDAClient::beginRun(), MultiplicityTimeCorrelations::beginRun(), EcalDQMonitorTask::beginRun(), CastorRawToDigi::beginRun(), SiStripCorrelateNoise::beginRun(), APVCyclePhaseProducerFromL1ABC::beginRun(), IgProfModule::beginRun(), BeamMonitor::beginRun(), TKStatus::beginRun(), L1RCTProducer::beginRun(), EDMtoMEConverter::beginRun(), SiPixelQualityHistory::beginRun(), SiStripFedCablingBuilder::beginRun(), SiPixelHistoricInfoEDAClient::endRun(), PhiSymmetryCalibration::endRun(), LumiCalculator::endRun(), cms::Analyzer_minbias::endRun(), DummyCondDBWriter< TObject, TObjectO, TRecord >::endRun(), LogErrorEventFilter::endRun(), StudyHLT::endRun(), SiPixelHistoricInfoDQMClient::endRun(), HLTrigReport::endRun(), edm::service::IgProfService::postBeginRun(), and FamosManager::setupGeometryAndField().

{return runAuxiliary().run();}
virtual edm::RunAuxiliary const& edm::RunBase::runAuxiliary ( ) const [pure virtual]

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

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