CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 35 of file RunBase.h.

Constructor & Destructor Documentation

RunBase::RunBase ( )

Definition at line 23 of file RunBase.cc.

24  {
25  }
RunBase::~RunBase ( )
virtual

Reimplemented in fwlite::RunBase.

Definition at line 27 of file RunBase.cc.

28  {
29  }

Member Function Documentation

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

Definition at line 44 of file RunBase.h.

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

Referenced by DTNoiseCalibration::beginRun(), and PhiSymmetryCalibration::endRun().

44 {return runAuxiliary().endTime();}
virtual edm::RunAuxiliary const & runAuxiliary() const =0
Timestamp const & endTime() const
Definition: RunAuxiliary.h:40
template<typename PROD >
bool edm::RunBase::getByLabel ( InputTag const &  tag,
Handle< PROD > &  result 
) const

same as above, but using the InputTag class

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

Definition at line 63 of file RunBase.h.

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

63  {
64  result.clear();
65  BasicHandle bh = this->getByLabelImpl(typeid(Wrapper<T>), typeid(T), tag);
66  convert_handle(std::move(bh), result); // throws on conversion error
67  if (result.failedToGet()) {
68  return false;
69  }
70  return true;
71  }
virtual BasicHandle getByLabelImpl(std::type_info const &iWrapperType, std::type_info const &iProductType, InputTag const &iTag) const =0
void convert_handle(BasicHandle &&bh, Handle< T > &result)
Definition: ConvertHandle.h:20
long double T
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().

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

Definition at line 41 of file RunBase.h.

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

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

41 {return runAuxiliary().id();}
virtual edm::RunAuxiliary const & runAuxiliary() const =0
RunID const & id() const
Definition: RunAuxiliary.h:37
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(), SiStripFedCablingBuilder::beginRun(), ecaldqm::RawDataTask::beginRun(), SiPixelHistoricInfoEDAClient::beginRun(), SiPixelHistoricInfoReader::beginRun(), DQMEDAnalyzer::beginRun(), CastorRawToDigi::beginRun(), TKStatus::beginRun(), StudyHLT::beginRun(), HLTMonBitSummary::beginRun(), IsoTrig::beginRun(), LumiCalculator::beginRun(), BeamMonitor::beginRun(), AlCaRecoTriggerBitsRcdRead::beginRun(), L1RCTProducer::beginRun(), ConfigurableAPVCyclePhaseProducer::beginRun(), GlobalHitsProdHistStripper::beginRun(), AnotherBeamSpotAnalyzer::beginRun(), SiStripCorrelateNoise::beginRun(), BSvsPVAnalyzer::beginRun(), EDMtoMEConverter::beginRun(), APVCyclePhaseProducerFromL1ABC::beginRun(), MultiplicityInvestigator::beginRun(), IgProfModule::beginRun(), SiStripQualityHistory::beginRun(), MEtoEDMConverter::beginRun(), SiPixelQualityHistory::beginRun(), APVCyclePhaseProducerFromL1TS::beginRun(), MultiplicityTimeCorrelations::beginRun(), thread_unsafe::DQMEDAnalyzer::beginRun(), TriggerJSONMonitoring::beginRun(), LumiProducer::beginRun(), RunHistogramManager::beginRun(), Types.EventID::cppID(), Types.LuminosityBlockID::cppID(), ecaldqm::EcalDQMonitor::ecaldqmBeginRun(), ecaldqm::EcalDQMonitor::ecaldqmEndRun(), SiPixelHistoricInfoDQMClient::endRun(), DummyCondDBWriter< TObject, TObjectO, TRecord >::endRun(), SiPixelHistoricInfoEDAClient::endRun(), StudyHLT::endRun(), LogErrorEventFilter::endRun(), LumiCalculator::endRun(), PhiSymmetryCalibration::endRun(), HLTrigReport::endRun(), cms::Analyzer_minbias::endRun(), MEtoEDMConverter::endRunProduce(), DQMEDAnalyzer::endRunSummary(), and FamosManager::setupGeometryAndField().

42 {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().