CMS 3D CMS Logo

Public Member Functions | Protected Member Functions | Private Attributes

edm::ESHandleBase Class Reference

#include <ESHandle.h>

Inheritance diagram for edm::ESHandleBase:
edm::ESHandle< T > edm::ESTransientHandle< T > edm::ESHandle< NavigationSchool > edm::ESHandle< SiPixelGainCalibration > edm::ESHandle< SiPixelGainCalibrationForHLT > edm::ESHandle< SiPixelGainCalibrationOffline >

List of all members.

Public Member Functions

edm::eventsetup::ComponentDescription
const * 
description () const
 ESHandleBase (void const *iData, edm::eventsetup::ComponentDescription const *desc)
 ESHandleBase ()
bool isValid () const
void swap (ESHandleBase &iOther)

Protected Member Functions

void const * productStorage () const

Private Attributes

void const * data_
edm::eventsetup::ComponentDescription
const * 
description_

Detailed Description

Definition at line 29 of file ESHandle.h.


Constructor & Destructor Documentation

edm::ESHandleBase::ESHandleBase ( ) [inline]

Definition at line 31 of file ESHandle.h.

: data_(0), description_(0) {}
edm::ESHandleBase::ESHandleBase ( void const *  iData,
edm::eventsetup::ComponentDescription const *  desc 
) [inline]

Definition at line 32 of file ESHandle.h.

           : data_(iData), description_(desc) {}

Member Function Documentation

eventsetup::ComponentDescription const * edm::ESHandleBase::description ( ) const

Definition at line 6 of file ESHandle.cc.

References description_, Exception, and edm::errors::InvalidReference.

                                      { 
         if(!description_) {
            throw edm::Exception(edm::errors::InvalidReference,"NullPointer");
         }
         return description_; 
      }
bool edm::ESHandleBase::isValid ( void  ) const [inline]

Definition at line 37 of file ESHandle.h.

References data_, and description_.

Referenced by SiStripGainFromData::algoBeginJob(), SiStripGainFromCalibTree::algoBeginJob(), SiStripGainFromData::algoBeginRun(), ValidateGeometry::analyze(), EBClusterTaskExtras::analyze(), SiPixelHitEfficiencySource::analyze(), EcalRecHitsValidation::analyze(), SiPixelTrackResidualSource::analyze(), L1TRPCTPG::analyze(), TkAlCaRecoMonitor::analyze(), ContainmentCorrectionAnalyzer::analyze(), EEClusterTaskExtras::analyze(), EcalSRCondTools::analyze(), EEClusterTask::analyze(), EBClusterTask::analyze(), CSCConditions::anodeBXoffset(), EEDcsInfoTask::beginLuminosityBlock(), EBDaqInfoTask::beginLuminosityBlock(), AlcaBeamMonitor::beginLuminosityBlock(), EBDcsInfoTask::beginLuminosityBlock(), ecaldqm::TowerStatusTask::beginLuminosityBlock(), EEDaqInfoTask::beginLuminosityBlock(), EcalDQMStatusReader::beginRun(), SiStripCertificationInfo::beginRun(), WriteOneGeometryFromXML::beginRun(), RPCTechnicalTrigger::beginRun(), SiStripDcsInfo::beginRun(), CastorMonitorModule::beginRun(), SiStripOfflineDQM::beginRun(), SiStripDaqInfo::beginRun(), SiStripFedCablingReader::beginRun(), SiStripFedCablingBuilder::beginRun(), CastorSimpleReconstructor::beginRun(), MuonTransientTrackingRecHitBuilder::build(), CSCConditions::chamberTimingCorrection(), EcalRecHitWorkerRecover::checkChannelStatus(), CSCConditions::chipCorrection(), SiTrivialDigitalConverter::convert(), SiTrivialDigitalConverter::convertRaw(), CSCConditions::crossTalk(), CSCConditions::crosstalkIntercept(), CSCConditions::crosstalkSlope(), CxCalculator::CxCalculator(), TrackDetMatchInfo::dumpGeometry(), DQMLumiMonitor::endLuminosityBlock(), MuonSimHitsValidAnalyzer::fillCSC(), MuonSimHitsValidAnalyzer::fillDT(), GlobalHitsProducer::fillECal(), GlobalHitsProdHist::fillECal(), GlobalHitsAnalyzer::fillECal(), HCALRecHitAnalyzer::FillGeometry(), GlobalRecHitsAnalyzer::fillHCal(), GlobalHitsAnalyzer::fillHCal(), GlobalDigisAnalyzer::fillHCal(), GlobalDigisProducer::fillHCal(), GlobalHitsProducer::fillHCal(), GlobalRecHitsProducer::fillHCal(), GlobalHitsProdHist::fillHCal(), GlobalRecHitsProducer::fillMuon(), GlobalRecHitsAnalyzer::fillMuon(), GlobalHitsProdHist::fillMuon(), GlobalHitsAnalyzer::fillMuon(), GlobalHitsProducer::fillMuon(), GlobalDigisAnalyzer::fillMuon(), MuonSimHitsValidAnalyzer::fillRPC(), GlobalRecHitsProducer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalHitsAnalyzer::fillTrk(), GlobalHitsProducer::fillTrk(), GlobalHitsProdHist::fillTrk(), CSCConditions::gain(), CSCConditions::gasGainCorrection(), L1RCTProducer::getFedVectorFromOmds(), HoECalculator::getHoE(), TrackDetMatchInfo::getPosition(), Masks::initMasking(), CSCConditions::noiseMatrix(), CSCConditions::pedestal(), CSCConditions::pedestalSigma(), JetTracksAssociatorAtCaloFace::produce(), SiStripDigitizer::produce(), reco::GlobalHaloDataProducer::produce(), MFProducer::produce(), MuonDetLayerGeometryESProducer::produce(), reco::EcalHaloDataProducer::produce(), reco::HcalHaloDataProducer::produce(), ShallowGainCalibration::produce(), CaloGeometryEP< T >::produceAligned(), CaloGeometryDBEP< T, U >::produceAligned(), HcalAlignmentEP::produceHcalAli(), GsfTrackProducerBase::putInEvt(), KfTrackProducerBase::putInEvt(), TrackProducerWithSCAssociation::putInEvt(), RxCalculator::RxCalculator(), TSGForRoadSearch::setEvent(), PropagateToMuon::startingState(), and MuonIdTruthInfo::truthMatchMuon().

{ return 0 != data_ && 0 != description_; }
void const* edm::ESHandleBase::productStorage ( ) const [inline, protected]

Definition at line 44 of file ESHandle.h.

References data_.

Referenced by edm::ESHandle< DTT0 >::product(), and edm::ESTransientHandle< T >::product().

{return data_;}
void edm::ESHandleBase::swap ( ESHandleBase iOther) [inline]

Definition at line 39 of file ESHandle.h.

References data_, and description_.

Referenced by HcalLutGenerator::analyze(), and edm::swap().

                                      {
         std::swap(data_, iOther.data_);
         std::swap(description_, iOther.description_);
      }

Member Data Documentation

void const* edm::ESHandleBase::data_ [private]

Definition at line 48 of file ESHandle.h.

Referenced by isValid(), productStorage(), and swap().

Definition at line 49 of file ESHandle.h.

Referenced by description(), isValid(), and swap().