CMS 3D CMS Logo

Public Member Functions | Private Member Functions

edm::LuminosityBlockBase Class Reference

#include <LuminosityBlockBase.h>

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

List of all members.

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
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 ( )

Reimplemented in fwlite::LuminosityBlockBase.

Definition at line 33 of file LuminosityBlockBase.cc.

   {
   }
LuminosityBlockBase::~LuminosityBlockBase ( ) [virtual]

Reimplemented in fwlite::LuminosityBlockBase.

Definition at line 37 of file LuminosityBlockBase.cc.

   {
   }

Member Function Documentation

Timestamp const& edm::LuminosityBlockBase::beginTime ( ) const [inline]
Timestamp const& edm::LuminosityBlockBase::endTime ( ) const [inline]
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().

                                                                               {
      result.clear();
      BasicHandle bh = this->getByLabelImpl(typeid(Wrapper<T>), typeid(T), tag);
      convert_handle(bh, result);  // throws on conversion error
      if (bh.failedToGet()) {
         return false;
      }
      return true;
   }
template<typename PROD >
bool edm::LuminosityBlockBase::getByLabel ( InputTag const &  tag,
Handle< PROD > &  result 
) const

same as above, but using the InputTag class

Reimplemented in edm::LuminosityBlock.

virtual BasicHandle edm::LuminosityBlockBase::getByLabelImpl ( std::type_info const &  iWrapperType,
std::type_info const &  iProductType,
const InputTag iTag 
) const [private, pure virtual]

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

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 DTDigiTask::beginLuminosityBlock(), DTLocalTriggerTask::beginLuminosityBlock(), L1TRate::beginLuminosityBlock(), EcalEndcapMonitorClient::beginLuminosityBlock(), DTChamberEfficiencyTask::beginLuminosityBlock(), DTDCSByLumiTask::beginLuminosityBlock(), DataCertificationJetMET::beginLuminosityBlock(), AlcaBeamMonitor::beginLuminosityBlock(), DQMFileSaver::beginLuminosityBlock(), DQMEventInfo::beginLuminosityBlock(), SiStripMonitorDigi::beginLuminosityBlock(), L1TSync::beginLuminosityBlock(), EcalBarrelMonitorClient::beginLuminosityBlock(), DTDigiForNoiseTask::beginLuminosityBlock(), MulticoreRunLumiEventChecker::beginLuminosityBlock(), DTEfficiencyTask::beginLuminosityBlock(), DTResolutionAnalysisTask::beginLuminosityBlock(), MulticoreRunLumiEventChecker::endLuminosityBlock(), DataCertificationJetMET::endLuminosityBlock(), EcalEndcapMonitorClient::endLuminosityBlock(), DTtTrigCalibrationTest::endLuminosityBlock(), BeamMonitorBx::endLuminosityBlock(), DTBlockedROChannelsTest::endLuminosityBlock(), MuonRecoTest::endLuminosityBlock(), DTChamberEfficiencyTest::endLuminosityBlock(), AlcaBeamMonitorClient::endLuminosityBlock(), DQMProvInfo::endLuminosityBlock(), EfficiencyPlotter::endLuminosityBlock(), PhiSymmetryCalibration::endLuminosityBlock(), QualityTester::endLuminosityBlock(), L1ScalersClient::endLuminosityBlock(), DTSegmentAnalysisTest::endLuminosityBlock(), DQMDcsInfoClient::endLuminosityBlock(), L1TOccupancyClient::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), L1Scalers::endLuminosityBlock(), TrigResRateMon::endLuminosityBlock(), DTEfficiencyTest::endLuminosityBlock(), RPCDcsInfoClient::endLuminosityBlock(), HLTEventInfoClient::endLuminosityBlock(), L1TTestsSummary::endLuminosityBlock(), HLTScalers::endLuminosityBlock(), BeamMonitor::endLuminosityBlock(), DTDeadChannelTest::endLuminosityBlock(), DTResolutionTest::endLuminosityBlock(), DTNoiseTest::endLuminosityBlock(), FourVectorHLTOffline::endLuminosityBlock(), FourVectorHLTOnline::endLuminosityBlock(), DTDCSByLumiSummary::endLuminosityBlock(), TKStatus::endLuminosityBlock(), SiStripMonitorDigi::endLuminosityBlock(), L1TRate::endLuminosityBlock(), LumiCalculator::endLuminosityBlock(), GenFilterEfficiencyAnalyzer::endLuminosityBlock(), BPhysicsOniaDQM::endLuminosityBlock(), EcalBarrelMonitorClient::endLuminosityBlock(), DTDataIntegrityTest::endLuminosityBlock(), MuonTrackResidualsTest::endLuminosityBlock(), and main().

                                 {
      return luminosityBlockAuxiliary().id();
    }
LuminosityBlockNumber_t edm::LuminosityBlockBase::luminosityBlock ( ) const [inline]

Definition at line 45 of file LuminosityBlockBase.h.

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

Referenced by L1GtAnalyzer::analyzeConditionsInLumiBlock(), HcalTrigPrimMonitor::beginLuminosityBlock(), ZDCMonitorModule::beginLuminosityBlock(), LumiProducer::beginLuminosityBlock(), ZDCMonitorClient::beginLuminosityBlock(), TKStatus::beginLuminosityBlock(), BeamMonitor::beginLuminosityBlock(), Vx3DHLTAnalyzer::beginLuminosityBlock(), HcalHotCellMonitor::beginLuminosityBlock(), BeamMonitorBx::beginLuminosityBlock(), AlcaBeamSpotProducer::beginLuminosityBlock(), OccupancyPlotter::beginLuminosityBlock(), HcalBaseDQMonitor::beginLuminosityBlock(), L1RCTProducer::beginLuminosityBlock(), SiPixelHistoricInfoEDAClient::beginLuminosityBlock(), BeamSpotAnalyzer::beginLuminosityBlock(), IgProfModule::beginLuminosityBlock(), HcalBeamMonitor::beginLuminosityBlock(), HcalRawDataMonitor::beginLuminosityBlock(), HcalLSbyLSMonitor::beginLuminosityBlock(), HLTrigReport::endLuminosityBlock(), HcalRawDataMonitor::endLuminosityBlock(), DTLocalTriggerBaseTask::endLuminosityBlock(), DQMLumiMonitor::endLuminosityBlock(), BeamSpotAnalyzer::endLuminosityBlock(), HcalMonitorModule::endLuminosityBlock(), HcalDigiMonitor::endLuminosityBlock(), HcalBaseDQMonitor::endLuminosityBlock(), HcalTrigPrimMonitor::endLuminosityBlock(), AlcaBeamSpotProducer::endLuminosityBlock(), SiStripAnalyser::endLuminosityBlock(), HiggsDQM::endLuminosityBlock(), HcalHotCellMonitor::endLuminosityBlock(), HcalDeadCellMonitor::endLuminosityBlock(), HcalBeamMonitor::endLuminosityBlock(), HcalRecHitMonitor::endLuminosityBlock(), HcalCoarsePedestalMonitor::endLuminosityBlock(), HcalMonitorClient::endLuminosityBlock(), SiPixelEDAClient::endLuminosityBlock(), ZDCMonitorModule::endLuminosityBlock(), DTSegmentAnalysisTask::endLuminosityBlock(), DTScalerInfoTask::endLuminosityBlock(), Vx3DHLTAnalyzer::endLuminosityBlock(), edm::service::IgProfService::postBeginLumi(), FUShmDQMOutputService::postEndLumi(), and AlcaBeamSpotManager::readLumi().

virtual edm::LuminosityBlockAuxiliary const& edm::LuminosityBlockBase::luminosityBlockAuxiliary ( ) const [pure virtual]
RunNumber_t edm::LuminosityBlockBase::run ( void  ) const [inline]