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

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

73  {
74  result.clear();
75  BasicHandle bh = this->getByLabelImpl(typeid(Wrapper<T>), typeid(T), tag);
76  convert_handle(std::move(bh), result); // throws on conversion error
77  if (result.failedToGet()) {
78  return false;
79  }
80  return true;
81  }
virtual BasicHandle getByLabelImpl(std::type_info const &iWrapperType, std::type_info const &iProductType, const InputTag &iTag) const =0
def move
Definition: eostools.py:510
void convert_handle(BasicHandle &&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 48 of file LuminosityBlockBase.h.

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

Referenced by AlcaBeamMonitor::beginLuminosityBlock(), SiStripMonitorDigi::beginLuminosityBlock(), DTEfficiencyTask::beginLuminosityBlock(), DQMEventInfo::beginLuminosityBlock(), DTResolutionAnalysisTask::beginLuminosityBlock(), DTDCSByLumiTask::beginLuminosityBlock(), DTChamberEfficiencyTask::beginLuminosityBlock(), SiPixelDigiSource::beginLuminosityBlock(), L1TRate::beginLuminosityBlock(), L1TRate_Offline::beginLuminosityBlock(), MulticoreRunLumiEventChecker::beginLuminosityBlock(), DTDigiTask::beginLuminosityBlock(), DTLocalTriggerTask::beginLuminosityBlock(), L1TSync::beginLuminosityBlock(), L1TBPTX::beginLuminosityBlock(), L1TEfficiencyMuons_Offline::beginLuminosityBlock(), RPCDcsInfoClient::dqmEndLuminosityBlock(), L1TTestsSummary::dqmEndLuminosityBlock(), SiPixelEDAClient::dqmEndLuminosityBlock(), DTDCSByLumiSummary::dqmEndLuminosityBlock(), L1TOccupancyClient::dqmEndLuminosityBlock(), DTBlockedROChannelsTest::dqmEndLuminosityBlock(), TrackingAnalyser::dqmEndLuminosityBlock(), DTDataIntegrityTest::dqmEndLuminosityBlock(), DTChamberEfficiencyTest::dqmEndLuminosityBlock(), DTSegmentAnalysisTest::dqmEndLuminosityBlock(), DTResolutionTest::dqmEndLuminosityBlock(), DTEfficiencyTest::dqmEndLuminosityBlock(), L1TEfficiency_Harvesting::dqmEndLuminosityBlock(), L1TEfficiencyMuons_Offline::dqmEndLuminosityBlock(), L1Scalers::endLuminosityBlock(), DQMDcsInfoClient::endLuminosityBlock(), AlcaBeamMonitorClient::endLuminosityBlock(), DQMProvInfo::endLuminosityBlock(), GenFilterEfficiencyAnalyzer::endLuminosityBlock(), SiStripMonitorDigi::endLuminosityBlock(), TKStatus::endLuminosityBlock(), LumiCalculator::endLuminosityBlock(), BeamMonitorBx::endLuminosityBlock(), L1ScalersClient::endLuminosityBlock(), PhiSymmetryCalibration::endLuminosityBlock(), QualityTester::endLuminosityBlock(), BeamSpotProblemMonitor::endLuminosityBlock(), BeamMonitor::endLuminosityBlock(), SiPixelDigiSource::endLuminosityBlock(), L1TRate::endLuminosityBlock(), L1TRate_Offline::endLuminosityBlock(), MulticoreRunLumiEventChecker::endLuminosityBlock(), HLTScalers::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), MEtoEDMConverter::endLuminosityBlockProduce(), DQMEDAnalyzer::endLuminosityBlockSummary(), HLTPrescaler::filter(), gen::BaseHadronizer::generateLHE(), DQMFileSaver::globalEndLuminosityBlock(), dqm::DQMFileSaverBase::globalEndLuminosityBlock(), main(), and gen::BaseHadronizer::randomizeIndex().

48  {
49  return luminosityBlockAuxiliary().id();
50  }
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(), HcalTrigPrimMonitor::beginLuminosityBlock(), HcalBeamMonitor::beginLuminosityBlock(), AlcaBeamSpotProducer::beginLuminosityBlock(), BeamSpotAnalyzer::beginLuminosityBlock(), hcaldqm::DQTask::beginLuminosityBlock(), TKStatus::beginLuminosityBlock(), HcalRawDataMonitor::beginLuminosityBlock(), HcalLSbyLSMonitor::beginLuminosityBlock(), BeamMonitorBx::beginLuminosityBlock(), HcalHotCellMonitor::beginLuminosityBlock(), BeamSpotProblemMonitor::beginLuminosityBlock(), BeamMonitor::beginLuminosityBlock(), HcalBaseDQMonitor::beginLuminosityBlock(), L1RCTProducer::beginLuminosityBlock(), ZDCMonitorModule::beginLuminosityBlock(), DaqFakeReader::beginLuminosityBlock(), Vx3DHLTAnalyzer::beginLuminosityBlock(), IgProfModule::beginLuminosityBlock(), ExpressLumiProducer::beginLuminosityBlockProduce(), LumiProducer::beginLuminosityBlockProduce(), Types.EventID::cppID(), Types.LuminosityBlockID::cppID(), hcaldqm::DQHarvester::dqmEndLuminosityBlock(), SiPixelEDAClient::dqmEndLuminosityBlock(), TrackingAnalyser::dqmEndLuminosityBlock(), HcalMonitorClient::dqmEndLuminosityBlock(), ecaldqm::EcalDQMonitor::ecaldqmBeginLuminosityBlock(), ecaldqm::EcalDQMonitor::ecaldqmEndLuminosityBlock(), HcalTrigPrimMonitor::endLuminosityBlock(), HcalRecHitMonitor::endLuminosityBlock(), hcaldqm::DQClient::endLuminosityBlock(), HcalCoarsePedestalMonitor::endLuminosityBlock(), BeamSpotAnalyzer::endLuminosityBlock(), HcalBeamMonitor::endLuminosityBlock(), DQMLumiMonitor::endLuminosityBlock(), HcalDeadCellMonitor::endLuminosityBlock(), LogErrorEventFilter::endLuminosityBlock(), HcalRawDataMonitor::endLuminosityBlock(), HcalMonitorModule::endLuminosityBlock(), HcalHotCellMonitor::endLuminosityBlock(), HLTrigReport::endLuminosityBlock(), HcalBaseDQMonitor::endLuminosityBlock(), HiggsDQM::endLuminosityBlock(), ZDCMonitorModule::endLuminosityBlock(), DTSegmentAnalysisTask::endLuminosityBlock(), SiStripAnalyser::endLuminosityBlock(), DTDataIntegrityTask::endLuminosityBlock(), DTScalerInfoTask::endLuminosityBlock(), Vx3DHLTAnalyzer::endLuminosityBlock(), DTLocalTriggerBaseTask::endLuminosityBlock(), HcalDigiMonitor::endLuminosityBlock(), AlcaBeamSpotProducer::endLuminosityBlockProduce(), HLTriggerJSONMonitoring::globalEndLuminosityBlockSummary(), L1TriggerJSONMonitoring::globalEndLuminosityBlockSummary(), TriggerJSONMonitoring::globalEndLuminosityBlockSummary(), and AlcaBeamSpotManager::readLumi().

40  {
42  }
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