CMS 3D CMS Logo

Public Member Functions

edm::Service< T > Class Template Reference

#include <Service.h>

List of all members.

Public Member Functions

bool isAvailable () const
 operator bool () const
Toperator* () const
Toperator-> () const
 Service ()

Detailed Description

template<class T>
class edm::Service< T >

Definition at line 31 of file Service.h.


Constructor & Destructor Documentation

template<class T>
edm::Service< T >::Service ( ) [inline]

Definition at line 35 of file Service.h.

{}

Member Function Documentation

template<class T>
bool edm::Service< T >::isAvailable ( ) const [inline]

Definition at line 47 of file Service.h.

Referenced by edm::addContextAndPrintException(), SiStripBadChannelBuilder::algoAnalyze(), CaloHitResponse::analogSignalAmplitude(), TrackerGeometryCompare::analyze(), SiPixelLorentzAngleDB::analyze(), SiStripApvGainBuilder::analyze(), SiStripThresholdBuilder::analyze(), TrackerSystematicMisalignments::analyze(), SiStripNoiseNormalizedWithApvGainBuilder::analyze(), EcalTestDevDB::analyze(), SiStripDetVOffFakeBuilder::analyze(), SurveyInputTrackerFromDB::analyze(), SiStripNoisesBuilder::analyze(), SiStripSummaryBuilder::analyze(), SiStripApvGainBuilderFromTag::analyze(), SiStripPedestalsBuilder::analyze(), HLTMonBTagIPSource::analyze(), DBWriter::analyze(), HLTMonBTagMuSource::analyze(), SiStripFEDErrorsDQM::analyze(), evf::FUEventProcessor::attachDqmToShm(), BaseEvtVtxGenerator::BaseEvtVtxGenerator(), HLTMonBTagClient::beginJob(), XMLGeometryBuilder::beginJob(), HLTMonBTagIPSource::beginJob(), PhysicsPerformanceDBWriterFromFile_WPandPayload::beginJob(), GeometricDetLoader::beginJob(), JetCorrectorDBWriter::beginJob(), PhysicsPerformanceDBWriterTFormula_fromfile_WPandPL::beginJob(), HLTMonBTagMuSource::beginJob(), SiStripSpyDisplayModule::beginJob(), PhysicsPerformanceDBWriterFromFile_WPandPayload_IOV::beginJob(), RandomEngineStateProducer::beginLuminosityBlock(), PGeometricDetExtraBuilder::beginRun(), LumiProducer::beginRun(), ExternalLHEProducer::beginRun(), PGeometricDetBuilder::beginRun(), WriteOneGeometryFromXML::beginRun(), RPCRecoIdealDBLoader::beginRun(), CSCRecoIdealDBLoader::beginRun(), DTRecoIdealDBLoader::beginRun(), EcalDQMStatusWriter::beginRun(), SiStripFedCablingBuilder::beginRun(), BetaBoostEvtVtxGenerator::BetaBoostEvtVtxGenerator(), MaterialBudgetCastorHistos::book(), MaterialBudgetForward::book(), MaterialBudgetHcalHistos::book(), DQMStoreStats::calcstats(), CaloRecHitsProducer::CaloRecHitsProducer(), CastorDigiProducer::CastorDigiProducer(), ESDBCopy::copyToDB(), EcalTPGDBCopy::copyToDB(), EcalDBCopy::copyToDB(), edm::CosMuoGenProducer::CosMuoGenProducer(), CSCDigiProducer::CSCDigiProducer(), evf::FUEventProcessor::detachDqmFromShm(), DreamSD::DreamSD(), DTDDUUnpacker::DTDDUUnpacker(), DTDigitizer::DTDigitizer(), DTROS25Unpacker::DTROS25Unpacker(), CocoaDBMgr::DumpCocoaResults(), EcalElectronicsSim::EcalElectronicsSim(), EcalHitResponse::EcalHitResponse(), EcalTBMCInfoProducer::EcalTBMCInfoProducer(), ElectronStudy::ElectronStudy(), ESElectronicsSim::encode(), StoreEcalCondition::endJob(), ImpactParameterCalibration::endJob(), SurveyDBUploader::endJob(), HLTMonBTagIPSource::endJob(), TrackProbabilityXMLtoDB::endJob(), CentralityTableProducer::endJob(), BeamSpotWrite2DB::endJob(), HLTMonBTagClient::endJob(), PhysicsTools::MVATrainerSave::endJob(), HLTMonBTagMuSource::endJob(), SumHistoCalibration::endJob(), PhysicsTools::MVATrainerContainerSave::endJob(), LaserAlignment::endRun(), PCLMetadataWriter::endRun(), DummyCondDBWriter< TObject, TObjectO, TRecord >::endRun(), AlcaBeamSpotHarvester::endRun(), SiStripFedCablingManipulator::endRun(), ESDigitizer::ESDigitizer(), ESElectronicsSimFast::ESElectronicsSimFast(), gen::EvtGenInterface::EvtGenInterface(), FamosManager::FamosManager(), DIPLumiProducer::filldetailcache(), ExpressLumiProducer::fillLSCache(), LumiProducer::fillLSCache(), DIPLumiProducer::fillsummarycache(), GaussianZBeamSpotFilter::GaussianZBeamSpotFilter(), HcalQie::getCode(), gen::getEngineReference(), evf::FWEPWrapper::getTriggerReport(), HcalDigitizer::HcalDigitizer(), HCalSD::HCalSD(), HcalTB02Histo::HcalTB02Histo(), HcalTB04Histo::HcalTB04Histo(), HcalTB06Histo::HcalTB06Histo(), HcalTestHistoManager::HcalTestHistoManager(), HFGflash::HFGflash(), HFShowerParam::HFShowerParam(), HcalSiPM::hitCells(), edm::FileLocator::init(), popcon::PopCon::initialize(), l1t::DataWriter::lastPayloadToken(), cond::FrontierProxy::makeRealConnectString(), MixBoostEvtVtxGenerator::MixBoostEvtVtxGenerator(), evf::FWEPWrapper::moduleWeb(), MuonSimHitProducer::MuonSimHitProducer(), edm::Service< SiStripCondObjBuilderFromDb >::operator bool(), l1t::DataWriter::payloadToken(), edm::PileUp::PileUp(), edm::InputSource::postRead(), RandomEngineStateProducer::produce(), MisalignedTrackerESProducer::produce(), PythiaFilterIsolatedTrack::PythiaFilterIsolatedTrack(), edm::RandomFilter::RandomFilter(), CaloHitRespoNew::ranGauss(), CaloHitRespoNew::ranPois(), l1t::DataWriter::readObject(), gen::ReggeGribovPartonMCHadronizer::ReggeGribovPartonMCHadronizer(), RFIOStorageMaker::RFIOStorageMaker(), edm::RootInputFileSequence::RootInputFileSequence(), edm::RootServiceChecker::RootServiceChecker(), l1t::WriterProxyT< Record, Type >::save(), MuonAlignment::saveCSCSurveyToDB(), MuonAlignment::saveCSCtoDB(), MuonAlignment::saveDTSurveyToDB(), MuonAlignment::saveDTtoDB(), DQMFileSaver::saveJobReport(), TrackerAlignment::saveToDB(), MisalignedMuonESProducer::saveToDB(), evf::FWEPWrapper::serviceWeb(), evf::FUEventProcessor::setAttachDqmToShm(), HPDNoiseLibraryReader::setRandomEngine(), ConditionDBWriter< SiStripApvGain >::setTime(), SiStripMonitorMuonHLT::SiStripMonitorMuonHLT(), SiTrackerGaussianSmearingRecHitConverter::SiTrackerGaussianSmearingRecHitConverter(), ConditionDBWriter< SiStripApvGain >::storeOnDb(), SubsystemNeutronWriter::SubsystemNeutronWriter(), evf::FWEPWrapper::taskWebPage(), TFileAdaptor::TFileAdaptor(), TxCalculator::TxCalculator(), HcalTB02Analysis::update(), HLTMonBTagClient::update(), l1t::DataWriter::updateIOV(), WriteESAlignments::write(), CaloGeometryDBWriter::write(), BeamFitter::write2DB(), AlCaRecoTriggerBitsRcdUpdate::writeBitsToDB(), AlignmentProducer::writeDB(), SiPixelHistoricInfoEDAClient::writeDB(), SiPixelHistoricInfoDQMClient::writeDB(), GlobalTrackerMuonAlignment::writeGlPosRcd(), l1t::DataWriter::writeKeyList(), l1t::DataWriter::writePayload(), DTCalibDBUtils::writeToDB(), and HcalTB04Analysis::xtalAnalysis().

                            {
      return ServiceRegistry::instance().template isAvailable<T>();
   }
template<class T>
edm::Service< T >::operator bool ( ) const [inline]

Definition at line 51 of file Service.h.

                         {
      return isAvailable();
   }
template<class T>
T& edm::Service< T >::operator* ( void  ) const [inline]

Definition at line 43 of file Service.h.

                        {
      return ServiceRegistry::instance().template get<T>();
   }
template<class T>
T* edm::Service< T >::operator-> ( ) const [inline]

Definition at line 39 of file Service.h.

                         {
      return &(ServiceRegistry::instance().template get<T>());
   }