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 SiStripBadChannelBuilder::algoAnalyze(), CaloHitResponse::analogSignalAmplitude(), TrackerGeometryCompare::analyze(), SiPixelLorentzAngleDB::analyze(), SiStripThresholdBuilder::analyze(), SiStripApvGainBuilder::analyze(), SiStripNoiseNormalizedWithApvGainBuilder::analyze(), TrackerSystematicMisalignments::analyze(), SiStripDetVOffFakeBuilder::analyze(), EcalTestDevDB::analyze(), SiStripNoisesBuilder::analyze(), SurveyInputTrackerFromDB::analyze(), SiStripSummaryBuilder::analyze(), SiStripPedestalsBuilder::analyze(), SiStripApvGainBuilderFromTag::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(), HLTMonBTagMuSource::beginJob(), PhysicsPerformanceDBWriterTFormula_fromfile_WPandPL::beginJob(), SiStripSpyDisplayModule::beginJob(), PhysicsPerformanceDBWriterFromFile_WPandPayload_IOV::beginJob(), edm::EventProcessor::beginLumi(), RandomEngineStateProducer::beginLuminosityBlock(), PGeometricDetExtraBuilder::beginRun(), PGeometricDetBuilder::beginRun(), RPCRecoIdealDBLoader::beginRun(), WriteOneGeometryFromXML::beginRun(), DTRecoIdealDBLoader::beginRun(), CSCRecoIdealDBLoader::beginRun(), EcalDQMStatusWriter::beginRun(), SiStripFedCablingBuilder::beginRun(), MaterialBudgetCastorHistos::book(), MaterialBudgetForward::book(), MaterialBudgetHcalHistos::book(), DQMStoreStats::calcstats(), CaloRecHitsProducer::CaloRecHitsProducer(), CastorDigiProducer::CastorDigiProducer(), EcalElectronicsSim::constantTerm(), ESDBCopy::copyToDB(), EcalTPGDBCopy::copyToDB(), EcalDBCopy::copyToDB(), edm::CosMuoGenProducer::CosMuoGenProducer(), ESFastTDigitizer::createNoisyList(), CSCDigiProducer::CSCDigiProducer(), evf::FUEventProcessor::detachDqmFromShm(), DreamSD::DreamSD(), DTDDUUnpacker::DTDDUUnpacker(), DTDigitizer::DTDigitizer(), DTROS25Unpacker::DTROS25Unpacker(), CocoaDBMgr::DumpCocoaResults(), EcalTBMCInfoProducer::EcalTBMCInfoProducer(), ESElectronicsSim::encode(), StoreEcalCondition::endJob(), ImpactParameterCalibration::endJob(), SurveyDBUploader::endJob(), HLTMonBTagIPSource::endJob(), TrackProbabilityXMLtoDB::endJob(), BeamSpotWrite2DB::endJob(), CentralityTableProducer::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(), gen::EvtGenInterface::EvtGenInterface(), FamosManager::FamosManager(), LumiProducer::fillLSCache(), LumiProducer::fillRunCache(), HcalQie::getCode(), gen::getEngineReference(), cond::FrontierProxy::getRealConnectString(), evf::FWEPWrapper::getTriggerReport(), HcalDigitizer::HcalDigitizer(), HCalSD::HCalSD(), HcalTB02Histo::HcalTB02Histo(), HcalTB04Histo::HcalTB04Histo(), HcalTB06Histo::HcalTB06Histo(), HFGflash::HFGflash(), HFShowerParam::HFShowerParam(), HcalSiPM::hitCells(), edm::FileLocator::init(), popcon::PopCon::initialize(), l1t::DataWriter::lastPayloadToken(), 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(), ESFastTDigitizer::readHistosFromFile(), l1t::DataWriter::readObject(), 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(), HPDNoiseLibraryReader::setRandomEngine(), ConditionDBWriter< SiStripApvGain >::setTime(), SiStripMonitorMuonHLT::SiStripMonitorMuonHLT(), SiTrackerGaussianSmearingRecHitConverter::SiTrackerGaussianSmearingRecHitConverter(), ESElectronicsSimFast::standEncode(), ConditionDBWriter< SiStripApvGain >::storeOnDb(), SubsystemNeutronWriter::SubsystemNeutronWriter(), evf::FWEPWrapper::taskWebPage(), TFileAdaptor::TFileAdaptor(), HcalTB02Analysis::update(), HLTMonBTagClient::update(), l1t::DataWriter::updateIOV(), 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>());
   }