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::LuminosityBlockBase Class Referenceabstract

#include <LuminosityBlockBase.h>

Inheritance diagram for edm::LuminosityBlockBase:
edm::LuminosityBlock fwlite::LuminosityBlockBase fwlite::LuminosityBlock

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<class T >
bool getByLabel (const InputTag &tag, Handle< T > &result) const
 
LuminosityBlockID id () const
 
LuminosityBlockNumber_t luminosityBlock () const
 
virtual
edm::LuminosityBlockAuxiliary
const & 
luminosityBlockAuxiliary () const =0
 
 LuminosityBlockBase ()
 
RunNumber_t run () const
 
virtual ~LuminosityBlockBase ()
 

Private Member Functions

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

Detailed Description

Definition at line 39 of file LuminosityBlockBase.h.

Constructor & Destructor Documentation

LuminosityBlockBase::LuminosityBlockBase ( )

Definition at line 33 of file LuminosityBlockBase.cc.

34  {
35  }
LuminosityBlockBase::~LuminosityBlockBase ( )
virtual

Reimplemented in fwlite::LuminosityBlockBase.

Definition at line 37 of file LuminosityBlockBase.cc.

38  {
39  }

Member Function Documentation

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

same as above, but using the InputTag class

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

Definition at line 218 of file LuminosityBlockBase.h.

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

218  {
219  result.clear();
220  BasicHandle bh = this->getByLabelImpl(typeid(Wrapper<T>), typeid(T), tag);
221  convert_handle(std::move(bh), result); // throws on conversion error
222  if (result.failedToGet()) {
223  return false;
224  }
225  return true;
226  }
virtual BasicHandle getByLabelImpl(std::type_info const &iWrapperType, std::type_info const &iProductType, const InputTag &iTag) const =0
void convert_handle(BasicHandle &&bh, Handle< T > &result)
Definition: ConvertHandle.h:20
long double T
virtual BasicHandle edm::LuminosityBlockBase::getByLabelImpl ( std::type_info const &  iWrapperType,
std::type_info const &  iProductType,
const InputTag iTag 
) const
privatepure virtual

Implemented in edm::LuminosityBlock, and fwlite::LuminosityBlockBase.

Referenced by getByLabel().

LuminosityBlockID edm::LuminosityBlockBase::id ( void  ) const
inline

Definition at line 53 of file LuminosityBlockBase.h.

References edm::LuminosityBlockAuxiliary::id(), and luminosityBlockAuxiliary().

Referenced by DQMFileSaver::beginLuminosityBlock(), AlcaBeamMonitor::beginLuminosityBlock(), SiStripMonitorDigi::beginLuminosityBlock(), DataCertificationJetMET::beginLuminosityBlock(), DTEfficiencyTask::beginLuminosityBlock(), DTResolutionAnalysisTask::beginLuminosityBlock(), DQMEventInfo::beginLuminosityBlock(), DTDCSByLumiTask::beginLuminosityBlock(), DTChamberEfficiencyTask::beginLuminosityBlock(), L1TRate::beginLuminosityBlock(), DTDigiForNoiseTask::beginLuminosityBlock(), EcalBarrelMonitorClient::beginLuminosityBlock(), EcalEndcapMonitorClient::beginLuminosityBlock(), L1TRate_Offline::beginLuminosityBlock(), L1TEfficiencyEG_Offline::beginLuminosityBlock(), L1TEfficiencyJets_Offline::beginLuminosityBlock(), MulticoreRunLumiEventChecker::beginLuminosityBlock(), DTDigiTask::beginLuminosityBlock(), L1TEfficiency_Harvesting::beginLuminosityBlock(), DTLocalTriggerTask::beginLuminosityBlock(), L1TSync::beginLuminosityBlock(), L1TSync_Harvest::beginLuminosityBlock(), L1TBPTX::beginLuminosityBlock(), L1TEfficiencyMuons_Offline::beginLuminosityBlock(), RPCDcsInfoClient::endLuminosityBlock(), DQMDcsInfoClient::endLuminosityBlock(), AlcaBeamMonitorClient::endLuminosityBlock(), GenFilterEfficiencyAnalyzer::endLuminosityBlock(), DTDCSByLumiSummary::endLuminosityBlock(), L1Scalers::endLuminosityBlock(), SiStripMonitorDigi::endLuminosityBlock(), BPhysicsOniaDQM::endLuminosityBlock(), DataCertificationJetMET::endLuminosityBlock(), TKStatus::endLuminosityBlock(), LumiCalculator::endLuminosityBlock(), DQMProvInfo::endLuminosityBlock(), L1TTestsSummary::endLuminosityBlock(), BeamMonitorBx::endLuminosityBlock(), L1ScalersClient::endLuminosityBlock(), HLTEventInfoClient::endLuminosityBlock(), QualityTester::endLuminosityBlock(), PhiSymmetryCalibration::endLuminosityBlock(), L1TOccupancyClient::endLuminosityBlock(), BeamSpotProblemMonitor::endLuminosityBlock(), EfficiencyPlotter::endLuminosityBlock(), BeamMonitor::endLuminosityBlock(), DTBlockedROChannelsTest::endLuminosityBlock(), DTDataIntegrityTest::endLuminosityBlock(), L1TRate::endLuminosityBlock(), MuonTrackResidualsTest::endLuminosityBlock(), MuonRecoTest::endLuminosityBlock(), L1TRate_Offline::endLuminosityBlock(), EcalEndcapMonitorClient::endLuminosityBlock(), EcalBarrelMonitorClient::endLuminosityBlock(), L1TEfficiencyEG_Offline::endLuminosityBlock(), L1TEfficiencyJets_Offline::endLuminosityBlock(), MulticoreRunLumiEventChecker::endLuminosityBlock(), DTSegmentAnalysisTest::endLuminosityBlock(), DTResolutionTest::endLuminosityBlock(), DTtTrigCalibrationTest::endLuminosityBlock(), DTDeadChannelTest::endLuminosityBlock(), DTEfficiencyTest::endLuminosityBlock(), DTChamberEfficiencyTest::endLuminosityBlock(), DTNoiseTest::endLuminosityBlock(), L1TEfficiency_Harvesting::endLuminosityBlock(), HLTScalers::endLuminosityBlock(), FourVectorHLTOnline::endLuminosityBlock(), TrigResRateMon::endLuminosityBlock(), L1TEfficiencyMuons_Offline::endLuminosityBlock(), FourVectorHLTOffline::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), MEtoEDMConverter::endLuminosityBlockProduce(), DQMEDAnalyzer::endLuminosityBlockSummary(), HLTPrescaler::filter(), and main().

53  {
54  return luminosityBlockAuxiliary().id();
55  }
virtual edm::LuminosityBlockAuxiliary const & luminosityBlockAuxiliary() const =0
LuminosityBlockID const & id() const
LuminosityBlockNumber_t edm::LuminosityBlockBase::luminosityBlock ( ) const
inline

Definition at line 45 of file LuminosityBlockBase.h.

References edm::LuminosityBlockAuxiliary::luminosityBlock(), and luminosityBlockAuxiliary().

Referenced by IsolatedTracksCone::analyze(), L1GtAnalyzer::analyzeConditionsInLumiBlock(), HcalTrigPrimMonitor::beginLuminosityBlock(), SiPixelHistoricInfoEDAClient::beginLuminosityBlock(), HcalBeamMonitor::beginLuminosityBlock(), AlcaBeamSpotProducer::beginLuminosityBlock(), BeamSpotAnalyzer::beginLuminosityBlock(), TKStatus::beginLuminosityBlock(), HcalRawDataMonitor::beginLuminosityBlock(), ZDCMonitorClient::beginLuminosityBlock(), EERawDataTask::beginLuminosityBlock(), EBRawDataTask::beginLuminosityBlock(), HcalLSbyLSMonitor::beginLuminosityBlock(), BeamMonitorBx::beginLuminosityBlock(), HcalHotCellMonitor::beginLuminosityBlock(), BeamSpotProblemMonitor::beginLuminosityBlock(), BeamMonitor::beginLuminosityBlock(), HcalBaseDQMonitor::beginLuminosityBlock(), DaqFakeReader::beginLuminosityBlock(), L1RCTProducer::beginLuminosityBlock(), ZDCMonitorModule::beginLuminosityBlock(), OccupancyPlotter::beginLuminosityBlock(), IgProfModule::beginLuminosityBlock(), Vx3DHLTAnalyzer::beginLuminosityBlock(), ExpressLumiProducer::beginLuminosityBlockProduce(), LumiProducer::beginLuminosityBlockProduce(), Types.EventID::cppID(), Types.LuminosityBlockID::cppID(), HcalRecHitMonitor::endLuminosityBlock(), HcalTrigPrimMonitor::endLuminosityBlock(), BeamSpotAnalyzer::endLuminosityBlock(), HcalCoarsePedestalMonitor::endLuminosityBlock(), HcalBeamMonitor::endLuminosityBlock(), HcalDeadCellMonitor::endLuminosityBlock(), DQMLumiMonitor::endLuminosityBlock(), LogErrorEventFilter::endLuminosityBlock(), HcalRawDataMonitor::endLuminosityBlock(), SiPixelEDAClient::endLuminosityBlock(), TrackingAnalyser::endLuminosityBlock(), HcalHotCellMonitor::endLuminosityBlock(), HcalBaseDQMonitor::endLuminosityBlock(), HLTrigReport::endLuminosityBlock(), HcalMonitorModule::endLuminosityBlock(), HcalMonitorClient::endLuminosityBlock(), DTSegmentAnalysisTask::endLuminosityBlock(), HiggsDQM::endLuminosityBlock(), SiStripAnalyser::endLuminosityBlock(), ZDCMonitorModule::endLuminosityBlock(), DTScalerInfoTask::endLuminosityBlock(), DTLocalTriggerBaseTask::endLuminosityBlock(), HcalDigiMonitor::endLuminosityBlock(), Vx3DHLTAnalyzer::endLuminosityBlock(), AlcaBeamSpotProducer::endLuminosityBlockProduce(), edm::service::IgProfService::postBeginLumi(), and AlcaBeamSpotManager::readLumi().

45  {
47  }
virtual edm::LuminosityBlockAuxiliary const & luminosityBlockAuxiliary() const =0
LuminosityBlockNumber_t luminosityBlock() const
virtual edm::LuminosityBlockAuxiliary const& edm::LuminosityBlockBase::luminosityBlockAuxiliary ( ) const
pure virtual
RunNumber_t edm::LuminosityBlockBase::run ( void  ) const
inline

Definition at line 49 of file LuminosityBlockBase.h.

References luminosityBlockAuxiliary(), and edm::LuminosityBlockAuxiliary::run().

Referenced by L1GtAnalyzer::analyzeConditionsInLumiBlock(), AlcaBeamSpotProducer::beginLuminosityBlock(), BeamSpotAnalyzer::beginLuminosityBlock(), DTBlockedROChannelsTest::beginLuminosityBlock(), EfficiencyPlotter::beginLuminosityBlock(), DTDataIntegrityTest::beginLuminosityBlock(), L1RCTProducer::beginLuminosityBlock(), DTLocalTriggerBaseTest::beginLuminosityBlock(), DTResolutionAnalysisTest::beginLuminosityBlock(), MuonRecoTest::beginLuminosityBlock(), DTResolutionTest::beginLuminosityBlock(), DTDeadChannelTest::beginLuminosityBlock(), DTtTrigCalibrationTest::beginLuminosityBlock(), DTEfficiencyTest::beginLuminosityBlock(), DTChamberEfficiencyTest::beginLuminosityBlock(), DTNoiseTest::beginLuminosityBlock(), ExpressLumiProducer::beginLuminosityBlockProduce(), LumiProducer::beginLuminosityBlockProduce(), Types.EventID::cppID(), Types.LuminosityBlockID::cppID(), DQMLumiMonitor::endLuminosityBlock(), LogErrorEventFilter::endLuminosityBlock(), PhiSymmetryCalibration::endLuminosityBlock(), HLTrigReport::endLuminosityBlock(), MEtoEDMConverter::endLuminosityBlockProduce(), DQMEDAnalyzer::endLuminosityBlockSummary(), and fwlite::LuminosityBlock::getRun().

49  {
50  return luminosityBlockAuxiliary().run();
51  }
virtual edm::LuminosityBlockAuxiliary const & luminosityBlockAuxiliary() const =0