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 228 of file LuminosityBlockBase.h.

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

228  {
229  result.clear();
230  BasicHandle bh = this->getByLabelImpl(typeid(Wrapper<T>), typeid(T), tag);
231  convert_handle(bh, result); // throws on conversion error
232  if (bh.failedToGet()) {
233  return false;
234  }
235  return true;
236  }
virtual BasicHandle getByLabelImpl(std::type_info const &iWrapperType, std::type_info const &iProductType, const InputTag &iTag) const =0
void convert_handle(BasicHandle const &bh, Handle< T > &result)
Definition: ConvertHandle.h:19
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(), SiStripMonitorDigi::beginLuminosityBlock(), AlcaBeamMonitor::beginLuminosityBlock(), DataCertificationJetMET::beginLuminosityBlock(), DTEfficiencyTask::beginLuminosityBlock(), DTResolutionAnalysisTask::beginLuminosityBlock(), DQMEventInfo::beginLuminosityBlock(), DTDCSByLumiTask::beginLuminosityBlock(), DTChamberEfficiencyTask::beginLuminosityBlock(), L1TRate::beginLuminosityBlock(), DTDigiForNoiseTask::beginLuminosityBlock(), EcalEndcapMonitorClient::beginLuminosityBlock(), EcalBarrelMonitorClient::beginLuminosityBlock(), DTDigiTask::beginLuminosityBlock(), MulticoreRunLumiEventChecker::beginLuminosityBlock(), DTLocalTriggerTask::beginLuminosityBlock(), L1TSync::beginLuminosityBlock(), RPCDcsInfoClient::endLuminosityBlock(), AlcaBeamMonitorClient::endLuminosityBlock(), SiStripMonitorDigi::endLuminosityBlock(), DQMDcsInfoClient::endLuminosityBlock(), GenFilterEfficiencyAnalyzer::endLuminosityBlock(), DQMProvInfo::endLuminosityBlock(), L1Scalers::endLuminosityBlock(), LumiCalculator::endLuminosityBlock(), BPhysicsOniaDQM::endLuminosityBlock(), DTDCSByLumiSummary::endLuminosityBlock(), DataCertificationJetMET::endLuminosityBlock(), TKStatus::endLuminosityBlock(), L1TTestsSummary::endLuminosityBlock(), L1ScalersClient::endLuminosityBlock(), HLTEventInfoClient::endLuminosityBlock(), BeamMonitor::endLuminosityBlock(), PhiSymmetryCalibration::endLuminosityBlock(), L1TOccupancyClient::endLuminosityBlock(), BeamMonitorBx::endLuminosityBlock(), EfficiencyPlotter::endLuminosityBlock(), QualityTester::endLuminosityBlock(), DTDataIntegrityTest::endLuminosityBlock(), DTBlockedROChannelsTest::endLuminosityBlock(), L1TRate::endLuminosityBlock(), MuonTrackResidualsTest::endLuminosityBlock(), MuonRecoTest::endLuminosityBlock(), MulticoreRunLumiEventChecker::endLuminosityBlock(), EcalBarrelMonitorClient::endLuminosityBlock(), EcalEndcapMonitorClient::endLuminosityBlock(), DTSegmentAnalysisTest::endLuminosityBlock(), DTResolutionTest::endLuminosityBlock(), DTtTrigCalibrationTest::endLuminosityBlock(), DTDeadChannelTest::endLuminosityBlock(), DTChamberEfficiencyTest::endLuminosityBlock(), DTEfficiencyTest::endLuminosityBlock(), DTNoiseTest::endLuminosityBlock(), HLTScalers::endLuminosityBlock(), FourVectorHLTOnline::endLuminosityBlock(), TrigResRateMon::endLuminosityBlock(), FourVectorHLTOffline::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), 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(), EBRawDataTask::beginLuminosityBlock(), EERawDataTask::beginLuminosityBlock(), HcalRawDataMonitor::beginLuminosityBlock(), HcalLSbyLSMonitor::beginLuminosityBlock(), BeamMonitor::beginLuminosityBlock(), HcalBaseDQMonitor::beginLuminosityBlock(), BeamMonitorBx::beginLuminosityBlock(), HcalHotCellMonitor::beginLuminosityBlock(), L1RCTProducer::beginLuminosityBlock(), IgProfModule::beginLuminosityBlock(), OccupancyPlotter::beginLuminosityBlock(), ExpressLumiProducer::beginLuminosityBlock(), Vx3DHLTAnalyzer::beginLuminosityBlock(), LumiProducer::beginLuminosityBlock(), Types.EventID::cppID(), Types.LuminosityBlockID::cppID(), HcalTrigPrimMonitor::endLuminosityBlock(), HcalRecHitMonitor::endLuminosityBlock(), AlcaBeamSpotProducer::endLuminosityBlock(), BeamSpotAnalyzer::endLuminosityBlock(), DQMLumiMonitor::endLuminosityBlock(), LogErrorEventFilter::endLuminosityBlock(), HcalBeamMonitor::endLuminosityBlock(), HcalCoarsePedestalMonitor::endLuminosityBlock(), HcalDeadCellMonitor::endLuminosityBlock(), SiPixelEDAClient::endLuminosityBlock(), HcalRawDataMonitor::endLuminosityBlock(), HcalBaseDQMonitor::endLuminosityBlock(), HLTrigReport::endLuminosityBlock(), HcalHotCellMonitor::endLuminosityBlock(), HcalMonitorModule::endLuminosityBlock(), ZDCMonitorModule::endLuminosityBlock(), DTSegmentAnalysisTask::endLuminosityBlock(), HcalMonitorClient::endLuminosityBlock(), HiggsDQM::endLuminosityBlock(), DTScalerInfoTask::endLuminosityBlock(), SiStripAnalyser::endLuminosityBlock(), DTLocalTriggerBaseTask::endLuminosityBlock(), HcalDigiMonitor::endLuminosityBlock(), Vx3DHLTAnalyzer::endLuminosityBlock(), edm::service::IgProfService::postBeginLumi(), FUShmDQMOutputService::postEndLumi(), 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(), EfficiencyPlotter::beginLuminosityBlock(), DTBlockedROChannelsTest::beginLuminosityBlock(), L1RCTProducer::beginLuminosityBlock(), DTDataIntegrityTest::beginLuminosityBlock(), DTLocalTriggerBaseTest::beginLuminosityBlock(), DTResolutionAnalysisTest::beginLuminosityBlock(), MuonRecoTest::beginLuminosityBlock(), DTResolutionTest::beginLuminosityBlock(), DTDeadChannelTest::beginLuminosityBlock(), DTtTrigCalibrationTest::beginLuminosityBlock(), DTEfficiencyTest::beginLuminosityBlock(), DTChamberEfficiencyTest::beginLuminosityBlock(), DTNoiseTest::beginLuminosityBlock(), ExpressLumiProducer::beginLuminosityBlock(), LumiProducer::beginLuminosityBlock(), Types.LuminosityBlockID::cppID(), DQMLumiMonitor::endLuminosityBlock(), LogErrorEventFilter::endLuminosityBlock(), PhiSymmetryCalibration::endLuminosityBlock(), HLTrigReport::endLuminosityBlock(), fwlite::LuminosityBlock::getRun(), and FUShmDQMOutputService::postEndLumi().

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