CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 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

Definition at line 42 of file RunBase.h.

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

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

42 { return runAuxiliary().endTime(); }
virtual edm::RunAuxiliary const & runAuxiliary() const =0
Timestamp const & endTime() const
Definition: RunAuxiliary.h:30
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 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
def move
Definition: eostools.py:511
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
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(), BeamMonitor::beginLuminosityBlock(), FakeBeamMonitor::beginLuminosityBlock(), ecaldqm::RawDataTask::beginRun(), SiStripMonitorCondData::beginRun(), SiStripFedCablingBuilder::beginRun(), SiStripMonitorCondDataOnDemandExample::beginRun(), LumiCalculator::beginRun(), CastorRawToDigi::beginRun(), SiStripAnalyser::beginRun(), EventIDChecker::beginRun(), AlCaRecoTriggerBitsRcdRead::beginRun(), ConfigurableAPVCyclePhaseProducer::beginRun(), AlCaIsolatedBunchFilter::beginRun(), AlCaIsolatedBunchSelector::beginRun(), GlobalHitsProdHistStripper::beginRun(), AlCaIsoTracksProducerFilter::beginRun(), SiStripCorrelateNoise::beginRun(), AnotherBeamSpotAnalyzer::beginRun(), SimpleHBHEPhase1Algo::beginRun(), BSvsPVAnalyzer::beginRun(), APVCyclePhaseProducerFromL1ABC::beginRun(), AlCaHEMuonFilter::beginRun(), AlCaHBHEMuonProducer::beginRun(), AlCaHBHEMuonFilter::beginRun(), AlCaLowPUHBHEMuonFilter::beginRun(), APVCyclePhaseProducerFromL1TS::beginRun(), StudyTriggerHLT::beginRun(), SiStripQualityHistory::beginRun(), SiPixelQualityHistory::beginRun(), MultiplicityTimeCorrelations::beginRun(), CentralityBinProducer::beginRun(), IsoTrackCalibration::beginRun(), HcalHBHEMuonAnalyzer::beginRun(), PrimaryVertexValidation::beginRun(), AlCaIsoTracksFilter::beginRun(), HcalHBHEMuonHighEtaAnalyzer::beginRun(), SplitVertexResolution::beginRun(), IsoTrackCalib::beginRun(), SiStripLorentzAngleCalibration::beginRun(), HcalIsoTrkSimAnalyzer::beginRun(), SiPixelLorentzAngleCalibration::beginRun(), StudyCaloResponse::beginRun(), MillePedeAlignmentAlgorithm::beginRun(), AlCaHcalHBHEMuonProducer::beginRun(), HcalIsoTrkAnalyzer::beginRun(), AlCaIsoTracksProducer::beginRun(), AlCaHcalIsotrkProducer::beginRun(), IsoTrig::beginRun(), LumiProducer::beginRun(), RunHistogramManager::beginRun(), BeamMonitor::bookHistograms(), FakeBeamMonitor::bookHistograms(), PixelLumiDQM::bookHistograms(), Types.EventID::cppID(), Types.LuminosityBlockID::cppID(), BeamSpotDipServer::dqmBeginRun(), CTPPSDiamondDQMSource::dqmBeginRun(), CorrPCCProducer::dqmEndRunProduce(), ecaldqm::EcalDQMonitor::ecaldqmBeginRun(), ecaldqm::EcalDQMonitor::ecaldqmEndRun(), DummyCondDBWriter< TObject, TObjectO, TRecord >::endRun(), HcalIsoTrackAnalyzer::endRun(), LumiCalculator::endRun(), EventIDChecker::endRun(), PhiSymmetryCalibration::endRun(), AlCaIsolatedBunchFilter::endRun(), AlCaIsolatedBunchSelector::endRun(), AlCaIsoTracksProducerFilter::endRun(), AlCaHEMuonFilter::endRun(), AlCaHBHEMuonFilter::endRun(), AlCaHBHEMuonProducer::endRun(), AlCaLowPUHBHEMuonFilter::endRun(), StudyTriggerHLT::endRun(), cms::Analyzer_minbias::endRun(), IsoTrackCalibration::endRun(), HLTrigReport::endRun(), AlCaIsoTracksFilter::endRun(), IsoTrackCalib::endRun(), HcalIsoTrkSimAnalyzer::endRun(), StudyCaloResponse::endRun(), AlCaHcalHBHEMuonProducer::endRun(), HcalIsoTrkAnalyzer::endRun(), AlCaIsoTracksProducer::endRun(), AlCaHcalIsotrkProducer::endRun(), MEtoEDMConverter::endRunProduce(), AlCaHcalHEMuonFilter::globalBeginRun(), AlCaHcalHBHEMuonFilter::globalBeginRun(), AlCaHcalIsotrkFilter::globalBeginRun(), HLTriggerJSONMonitoring::globalBeginRun(), L1TriggerJSONMonitoring::globalBeginRun(), LogErrorEventFilter::globalEndRun(), and DQMGlobalEDAnalyzerBase< Histograms_TICLTrackstersEdgesValidation, Args...>::meId().

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

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

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