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