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 AlcaBeamMonitor::beginLuminosityBlock(), SiStripMonitorDigi::beginLuminosityBlock(), DTEfficiencyTask::beginLuminosityBlock(), DTResolutionAnalysisTask::beginLuminosityBlock(), DQMEventInfo::beginLuminosityBlock(), DTDCSByLumiTask::beginLuminosityBlock(), DTChamberEfficiencyTask::beginLuminosityBlock(), L1TRate::beginLuminosityBlock(), DTDigiForNoiseTask::beginLuminosityBlock(), L1TRate_Offline::beginLuminosityBlock(), L1TEfficiencyEG_Offline::beginLuminosityBlock(), L1TEfficiencyJets_Offline::beginLuminosityBlock(), DTDigiTask::beginLuminosityBlock(), MulticoreRunLumiEventChecker::beginLuminosityBlock(), L1TEfficiency_Harvesting::beginLuminosityBlock(), DTLocalTriggerTask::beginLuminosityBlock(), L1TSync::beginLuminosityBlock(), L1TSync_Harvest::beginLuminosityBlock(), L1TBPTX::beginLuminosityBlock(), L1TEfficiencyMuons_Offline::beginLuminosityBlock(), RPCDcsInfoClient::endLuminosityBlock(), AlcaBeamMonitorClient::endLuminosityBlock(), DQMDcsInfoClient::endLuminosityBlock(), GenFilterEfficiencyAnalyzer::endLuminosityBlock(), DTDCSByLumiSummary::endLuminosityBlock(), L1Scalers::endLuminosityBlock(), BPhysicsOniaDQM::endLuminosityBlock(), SiStripMonitorDigi::endLuminosityBlock(), TKStatus::endLuminosityBlock(), LumiCalculator::endLuminosityBlock(), DQMProvInfo::endLuminosityBlock(), L1TTestsSummary::endLuminosityBlock(), L1ScalersClient::endLuminosityBlock(), BeamMonitorBx::endLuminosityBlock(), HLTEventInfoClient::endLuminosityBlock(), PhiSymmetryCalibration::endLuminosityBlock(), QualityTester::endLuminosityBlock(), L1TOccupancyClient::endLuminosityBlock(), BeamSpotProblemMonitor::endLuminosityBlock(), BeamMonitor::endLuminosityBlock(), DTBlockedROChannelsTest::endLuminosityBlock(), DTDataIntegrityTest::endLuminosityBlock(), L1TRate::endLuminosityBlock(), L1TRate_Offline::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(), HLTScalersClient::endLuminosityBlock(), FourVectorHLTOffline::endLuminosityBlock(), MEtoEDMConverter::endLuminosityBlockProduce(), DQMEDAnalyzer::endLuminosityBlockSummary(), HLTPrescaler::filter(), DQMFileSaver::globalEndLuminosityBlock(), 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(), 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(), ecaldqm::EcalDQMonitor::ecaldqmBeginLuminosityBlock(), ecaldqm::EcalDQMonitor::ecaldqmEndLuminosityBlock(), HcalTrigPrimMonitor::endLuminosityBlock(), HcalRecHitMonitor::endLuminosityBlock(), BeamSpotAnalyzer::endLuminosityBlock(), HcalCoarsePedestalMonitor::endLuminosityBlock(), HcalBeamMonitor::endLuminosityBlock(), HcalDeadCellMonitor::endLuminosityBlock(), DQMLumiMonitor::endLuminosityBlock(), LogErrorEventFilter::endLuminosityBlock(), SiPixelEDAClient::endLuminosityBlock(), HcalRawDataMonitor::endLuminosityBlock(), TrackingAnalyser::endLuminosityBlock(), HcalHotCellMonitor::endLuminosityBlock(), HcalBaseDQMonitor::endLuminosityBlock(), HLTrigReport::endLuminosityBlock(), HcalMonitorModule::endLuminosityBlock(), DTSegmentAnalysisTask::endLuminosityBlock(), HcalMonitorClient::endLuminosityBlock(), ZDCMonitorModule::endLuminosityBlock(), SiStripAnalyser::endLuminosityBlock(), HiggsDQM::endLuminosityBlock(), DTScalerInfoTask::endLuminosityBlock(), DTDataIntegrityTask::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(), DTDataIntegrityTest::beginLuminosityBlock(), L1RCTProducer::beginLuminosityBlock(), DTLocalTriggerBaseTest::beginLuminosityBlock(), DTResolutionAnalysisTest::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