CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 34 of file LuminosityBlockBase.h.

Constructor & Destructor Documentation

LuminosityBlockBase::LuminosityBlockBase ( )

Definition at line 32 of file LuminosityBlockBase.cc.

32 {}
LuminosityBlockBase::~LuminosityBlockBase ( )
virtual

Reimplemented in fwlite::LuminosityBlockBase.

Definition at line 34 of file LuminosityBlockBase.cc.

34 {}

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

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

62  {
63  result.clear();
64  BasicHandle bh = this->getByLabelImpl(typeid(Wrapper<T>), typeid(T), tag);
65  result = convert_handle<T>(std::move(bh));
66  if (result.failedToGet()) {
67  return false;
68  }
69  return true;
70  }
virtual BasicHandle getByLabelImpl(std::type_info const &iWrapperType, std::type_info const &iProductType, const InputTag &iTag) const =0
def move
Definition: eostools.py:511
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 44 of file LuminosityBlockBase.h.

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

Referenced by WriteCTPPSBeamParameters::analyze(), DTEfficiencyTask::beginLuminosityBlock(), DTChamberEfficiencyTask::beginLuminosityBlock(), L1TRate_Offline::beginLuminosityBlock(), L1TRate::beginLuminosityBlock(), DTDigiTask::beginLuminosityBlock(), L1TSync::beginLuminosityBlock(), DTLocalTriggerTask::beginLuminosityBlock(), L1TBPTX::beginLuminosityBlock(), DTDCSByLumiTask::dqmBeginLuminosityBlock(), DTSegmentAnalysisTest::dqmBeginLuminosityBlock(), L1TTestsSummary::dqmEndLuminosityBlock(), SiPixelEDAClient::dqmEndLuminosityBlock(), BeamSpotProblemMonitor::dqmEndLuminosityBlock(), DTDCSByLumiSummary::dqmEndLuminosityBlock(), L1TOccupancyClient::dqmEndLuminosityBlock(), DTBlockedROChannelsTest::dqmEndLuminosityBlock(), DTDataIntegrityTest::dqmEndLuminosityBlock(), SiPixelPhase1Summary::dqmEndLuminosityBlock(), QualityTester::dqmEndLuminosityBlock(), TrackingAnalyser::dqmEndLuminosityBlock(), DTSegmentAnalysisTest::dqmEndLuminosityBlock(), DTResolutionTest::dqmEndLuminosityBlock(), DTChamberEfficiencyTest::dqmEndLuminosityBlock(), DTEfficiencyTest::dqmEndLuminosityBlock(), GEMDQMHarvester::dqmEndLuminosityBlock(), AlcaBeamMonitorClient::endLuminosityBlock(), L1TdeStage2CaloLayer1::endLuminosityBlock(), LumiCalculator::endLuminosityBlock(), L1ScalersClient::endLuminosityBlock(), BeamMonitorBx::endLuminosityBlock(), FakeBeamMonitor::endLuminosityBlock(), BeamMonitor::endLuminosityBlock(), L1TRate_Offline::endLuminosityBlock(), L1TRate::endLuminosityBlock(), HLTScalers::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), MEtoEDMConverter::endLuminosityBlockProduce(), HLTPrescaler::filter(), gen::BaseHadronizer::generateLHE(), OnlineBeamMonitor::globalBeginLuminosityBlock(), SiPixelDigiSource::globalBeginLuminosityBlock(), AlcaBeamMonitor::globalBeginLuminosityBlock(), RunLumiEventChecker::globalBeginLuminosityBlock(), L1Scalers::globalEndLuminosityBlock(), CTPPSCommonDQMSource::globalEndLuminosityBlock(), OnlineBeamMonitor::globalEndLuminosityBlock(), SiStripMonitorDigi::globalEndLuminosityBlock(), GenFilterEfficiencyAnalyzer::globalEndLuminosityBlock(), SiPixelDigiSource::globalEndLuminosityBlock(), AlcaBeamMonitor::globalEndLuminosityBlock(), DTDataIntegrityTask::globalEndLuminosityBlock(), dqm::DQMFileSaverBase::globalEndLuminosityBlock(), RunLumiEventChecker::globalEndLuminosityBlock(), main(), Herwig7Hadronizer::randomizeIndex(), gen::BaseHadronizer::randomizeIndex(), and L1TStage2CaloLayer1::updateMismatch().

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

Definition at line 40 of file LuminosityBlockBase.h.

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

Referenced by PixelLumiDQM::analyze(), IsolatedTracksCone::analyze(), L1GtAnalyzer::analyzeConditionsInLumiBlock(), AlcaBeamSpotProducer::beginLuminosityBlock(), BeamSpotAnalyzer::beginLuminosityBlock(), DaqFakeReader::beginLuminosityBlock(), BeamMonitorBx::beginLuminosityBlock(), EventIDChecker::beginLuminosityBlock(), FakeBeamMonitor::beginLuminosityBlock(), BeamMonitor::beginLuminosityBlock(), L1RCTProducer::beginLuminosityBlock(), ExpressLumiProducer::beginLuminosityBlockProduce(), LumiProducer::beginLuminosityBlockProduce(), Types.EventID::cppID(), Types.LuminosityBlockID::cppID(), BeamSpotProblemMonitor::dqmBeginLuminosityBlock(), Vx3DHLTAnalyzer::dqmBeginLuminosityBlock(), DemoHarvester::dqmEndLuminosityBlock(), DQMHarvestingMetadata::dqmEndLuminosityBlock(), hcaldqm::DQHarvester::dqmEndLuminosityBlock(), SiPixelEDAClient::dqmEndLuminosityBlock(), BeamSpotDipServer::dqmEndLuminosityBlock(), TrackingAnalyser::dqmEndLuminosityBlock(), Vx3DHLTAnalyzer::dqmEndLuminosityBlock(), ecaldqm::EcalDQMonitor::ecaldqmBeginLuminosityBlock(), ecaldqm::EcalDQMonitor::ecaldqmEndLuminosityBlock(), hcaldqm::DQClient::endLuminosityBlock(), BeamSpotAnalyzer::endLuminosityBlock(), DQMLumiMonitor::endLuminosityBlock(), EventIDChecker::endLuminosityBlock(), SiStripAnalyser::endLuminosityBlock(), SiPixelStatusHarvester::endLuminosityBlock(), CorrPCCProducer::endLuminosityBlock(), DTScalerInfoTask::endLuminosityBlock(), DTLocalTriggerBaseTask::endLuminosityBlock(), AlcaBeamSpotProducer::endLuminosityBlockProduce(), hcaldqm::DQTask::globalBeginLuminosityBlock(), HLTrigReport::globalEndLuminosityBlock(), LogErrorEventFilter::globalEndLuminosityBlock(), RawPCCProducer::globalEndLuminosityBlockProduce(), SiPixelStatusProducer::globalEndLuminosityBlockProduce(), L1TriggerJSONMonitoring::globalEndLuminosityBlockSummary(), HLTriggerJSONMonitoring::globalEndLuminosityBlockSummary(), L1TStage2CaloLayer1::globalEndLuminosityBlockSummary(), AlcaBeamSpotManager::readLumi(), and SiPixelStatusManager::readLumi().

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