BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/SimHelpers/SimHelpers/ServiceAccessor.h File Reference
#include "GaudiKernel/ISvcLocator.h"
#include "GaudiKernel/Bootstrap.h"
#include "GaudiKernel/MsgStream.h"
#include "GaudiKernel/IMessageSvc.h"
#include "GaudiKernel/IHistogramSvc.h"
#include "StoreGate/StoreGateSvc.h"
#include "GaudiKernel/INTupleSvc.h"

Go to the source code of this file.

Functions

IMessageSvc * msgSvc ()
 
IHistogramSvc * histoSvc ()
 
StoreGateSvc * storeGateSvc ()
 
INTupleSvc * ntupleSvc ()
 

Function Documentation

◆ histoSvc()

IHistogramSvc * histoSvc ( )
inline

Definition at line 25 of file InstallArea/include/SimHelpers/SimHelpers/ServiceAccessor.h.

26{
27 static IHistogramSvc* hS=0;
28 StatusCode status;
29 if (!hS)
30 {
31 ISvcLocator* svcLocator = Gaudi::svcLocator();
32 status=svcLocator->service("HistogramDataSvc",hS);
33 }
34 return hS;
35}

Referenced by MdcTrkRecon::bookNTuple(), CalibEventSelect::initialize(), Ekhara::initialize(), HistSample::initialize(), TruthDemo::initialize(), FarmMonitorAlg::initialize(), and MdcFastTrkAlg::initialize().

◆ msgSvc()

IMessageSvc * msgSvc ( )
inline

Definition at line 13 of file InstallArea/include/SimHelpers/SimHelpers/ServiceAccessor.h.

14{
15 static IMessageSvc* mS=0;
16 if (!mS)
17 {
18 ISvcLocator* svcLocator = Gaudi::svcLocator();
19 svcLocator->service("MessageSvc", mS);
20 }
21 return mS;
22}

Referenced by DedxCalibCostheta::AnalyseHists(), DedxCalibDocaEAng::AnalyseHists(), DedxCalibEAng::AnalyseHists(), DedxCalibLayerGain::AnalyseHists(), DedxCalibMomentum::AnalyseHists(), DedxCalibRunByRun::AnalyseHists(), DedxCalibWireGain::AnalyseHists(), BesSim::beginRun(), KalFitAlg::beginRun(), MdcDedxRecon::beginRun(), MdcFastTrkAlg::beginRun(), MdcNavigation::beginRun(), MdcTrkRecon::beginRun(), PrintMcInfo::beginRun(), tofcalgsec::beginRun(), TofRec::beginRun(), BesTofDigitizerV::BesTofDigitizerV(), TofQElecSvc::Board(), DedxCalibCostheta::BookHists(), DedxCalibDocaEAng::BookHists(), DedxCalibEAng::BookHists(), DedxCalibLayerGain::BookHists(), DedxCalibMomentum::BookHists(), DedxCalibRunByRun::BookHists(), DedxCalibWireGain::BookHists(), BesSim::bookMdcRootFile(), BesSim::bookMucRootFile(), MdcTrkRecon::bookNTuple(), BesSim::bookTofRootFile(), TofQElecSvc::BQChannel1(), TofQElecSvc::BQChannel2(), TofQCorrSvc::BQRaw1(), TofQCorrSvc::BQRaw2(), TofQElecSvc::BQTC1(), TofQElecSvc::BQTC2(), EstTofCaliSvc::BTime1(), EstTofCaliSvc::BTime2(), TofQElecSvc::Channel(), EmcRecTDS::CheckRegister(), MdcxCosmicSewer::clearRecMdcTrackHit(), RootCalBaseCnv::closeWrite(), EmcSelBhaEvent::CollectBhabha(), RootCnvSvc::commitOutput(), KalFitAlg::complete_track(), TofQElecSvc::Crate(), RootCnvSvc::createAddress(), CalibMySQLCnvSvc::createAddress(), CalibRootCnvSvc::createAddress(), CalibTreeCnvSvc::createAddress(), RawDataCnvSvc::createAddress(), CalibXmlCnvSvc::createAddress(), CalibMySQLCnvSvc::createCalib(), RootEventBaseCnv::createObj(), RootCalBaseCnv::createObj(), TreeCalBaseCnv::createObj(), XmlBaseCnv::createObj(), EventCnv::createObj(), RawDataDigiCnv::createObj(), RawDataEmcDigiCnv::createObj(), RawDataTofDigiCnv::createObj(), RawDataTofMcHitCnv::createObj(), RawDataTrigGTDCnv::createObj(), CalibMySQLCnvSvc::createObj(), EventCnv::createRep(), RawDataCnv::createRep(), RawDataEmcDigiCnv::createRep(), CalibMySQLCnvSvc::createRep(), RootEventBaseCnv::createRep(), RootCalBaseCnv::createRoot(), RootDedxCalibDataCnv::createRoot(), RootDedxSimDataCnv::createRoot(), RootEmcCalibDataCnv::createRoot(), RootEsTimeCalibDataCnv::createRoot(), RootEstTofCalibDataCnv::createRoot(), RootMdcCalibDataCnv::createRoot(), RootMucCalibDataCnv::createRoot(), RootTofCalibDataCnv::createRoot(), RootTofSimDataCnv::createRoot(), TreeCalBaseCnv::createRoot(), DigiCnv::DataObjectToTObject(), EmcDigiCnv::DataObjectToTObject(), LumiDigiCnv::DataObjectToTObject(), MdcDigiCnv::DataObjectToTObject(), MucDigiCnv::DataObjectToTObject(), TofDigiCnv::DataObjectToTObject(), DstCnv::DataObjectToTObject(), EmcTrackCnv::DataObjectToTObject(), ExtTrackCnv::DataObjectToTObject(), MdcDedxCnv::DataObjectToTObject(), MdcKalTrackCnv::DataObjectToTObject(), MdcTrackCnv::DataObjectToTObject(), MucTrackCnv::DataObjectToTObject(), TofTrackCnv::DataObjectToTObject(), EvtHeaderCnv::DataObjectToTObject(), EvtNavigatorCnv::DataObjectToTObject(), EvtRecCnv::DataObjectToTObject(), EvtRecDTagCnv::DataObjectToTObject(), EvtRecEtaToGGCnv::DataObjectToTObject(), EvtRecEventCnv::DataObjectToTObject(), EvtRecPi0Cnv::DataObjectToTObject(), EvtRecPrimaryVertexCnv::DataObjectToTObject(), EvtRecTrackCnv::DataObjectToTObject(), EvtRecVeeVertexCnv::DataObjectToTObject(), DstHltInfCnv::DataObjectToTObject(), HltCnv::DataObjectToTObject(), HltInfCnv::DataObjectToTObject(), HltRawCnv::DataObjectToTObject(), EmcMcHitCnv::DataObjectToTObject(), McCnv::DataObjectToTObject(), McParticleCnv::DataObjectToTObject(), MdcMcHitCnv::DataObjectToTObject(), MucMcHitCnv::DataObjectToTObject(), TofMcHitCnv::DataObjectToTObject(), RecEmcClusterCnv::DataObjectToTObject(), RecEmcHitCnv::DataObjectToTObject(), RecEmcShowerCnv::DataObjectToTObject(), RecEvTimeCnv::DataObjectToTObject(), RecExtTrackCnv::DataObjectToTObject(), RecMdcDedxCnv::DataObjectToTObject(), RecMdcDedxHitCnv::DataObjectToTObject(), RecMdcHitCnv::DataObjectToTObject(), RecMdcKalHelixSegCnv::DataObjectToTObject(), RecMdcKalTrackCnv::DataObjectToTObject(), RecMdcTrackCnv::DataObjectToTObject(), RecMucTrackCnv::DataObjectToTObject(), RecTofTrackCnv::DataObjectToTObject(), RecTrackCnv::DataObjectToTObject(), RecZddChannelCnv::DataObjectToTObject(), TrigCnv::DataObjectToTObject(), TrigDataCnv::DataObjectToTObject(), RootCnvSvc::declareObject(), CalibMySQLCnvSvc::decodeDescription(), CalibRootCnvSvc::decodeDescription(), TTrackManager::determineT0(), DstHltInfCnv::DstHltInfCnv(), EFEventLoopMgr::EF_Algorithm_Tag(), EFEventLoopMgr::EF_Decision(), EFEventLoopMgr::EF_Fragment_Address(), EFEventLoopMgr::EF_Total_Energy(), EFEventLoopMgr::EF_Version(), EFChargedTrack::EFChargedTrack(), EFDetectorHits::EFDetectorHits(), EFFlightTime::EFFlightTime(), EFGlobalEnergy::EFGlobalEnergy(), EFProcessCluster::EFProcessCluster(), EFSectorHits::EFSectorHits(), EmcDigiCnv::EmcDigiCnv(), EmcMcHitCnv::EmcMcHitCnv(), EmcTrackCnv::EmcTrackCnv(), PrintMcInfo::endRun(), tofcalgsec::endRun(), TofQElecSvc::EQChannel(), TofQCorrSvc::EQRaw(), TofQElecSvc::EQTC(), TofCaliSvc::EtfBunchP(), TofCaliSvc::EtfTime(), FTFinder::event(), EventCnv::EventCnv(), EvtHeaderCnv::EvtHeaderCnv(), EvtNavigatorCnv::EvtNavigatorCnv(), Gam4pikp::execute(), Ppjrhopi::execute(), DumpDecayTreeAlg::execute(), AbsCor::execute(), McCor::execute(), BbEmc::execute(), MdcBbEmcEff::execute(), PipiJpsi::execute(), Rhopi::execute(), test_read::execute(), DDecay::execute(), DSemilepAlg::execute(), HelloWorld::execute(), CheckMYSQL::execute(), UseDedx::execute(), UseEmc::execute(), UseEstTof::execute(), UseMdcCalibData::execute(), UseMuc::execute(), UseTof::execute(), checkDedx::execute(), checkEmc::execute(), checkEstTof::execute(), checkMdc::execute(), checkTof::execute(), TestDbAlg::execute(), DiGam::execute(), DQA_Dedx::execute(), DQA_EMC::execute(), DQA_MDC::execute(), DQA_MUC::execute(), DQA_TOF::execute(), DQACtrlSamples::execute(), DQADtag::execute(), DQAFillEx::execute(), inclks::execute(), inclkstar::execute(), incllambda::execute(), inclphi::execute(), DQAJpsi2PPbarAlg::execute(), DQAKsKpi::execute(), DQARhopi::execute(), DQASelBhabha::execute(), DQASelDimu::execute(), DQASelHadron::execute(), EvtSelExample::execute(), JsiLL::execute(), TwoGamma::execute(), EmcBhaCalib::execute(), EmcCalibTagDeadOrHot::execute(), EmcSelBhaEvent::execute(), DstEventMaker::execute(), BesNavigatorInit::execute(), NavigationTestAlg::execute(), FillEventTag::execute(), DstHltMaker::execute(), HltEventMaker::execute(), ReadRawData::execute(), WriteRawData::execute(), RawEventReader::execute(), RecMakerAlg::execute(), digiRootReaderAlg::execute(), digiRootWriterAlg::execute(), RootIoAlg::execute(), RootRawEvtReader::execute(), RunEventNumber::execute(), TrigEventMaker::execute(), BesVisAlg::execute(), EFTest::execute(), EventFilter::execute(), CheckEFResult::execute(), EFChargedTrack::execute(), EFDetectorHits::execute(), EFFlightTime::execute(), EFGlobalEnergy::execute(), EFProcessCluster::execute(), EFSectorHits::execute(), EFtoTDS::execute(), BhabhaPreSelect::execute(), CalibEventSelect::execute(), DigammaPreSelect::execute(), DimuPreSelect::execute(), EventPreSelect::execute(), EventWriter::execute(), Ekhara::execute(), KKMC::execute(), BeamParams::execute(), BesSim::execute(), BFieldCorr::execute(), DedxCalib::execute(), ChargedDReconstruction::execute(), DsReconstruction::execute(), DTag::execute(), NeutralDReconstruction::execute(), DTagSkim::execute(), EmcRec::execute(), EmcTimeRec::execute(), EsTimeAlg::execute(), EventAssemblyAlg::execute(), FarmMonitorAlg::execute(), KalFitAlg::execute(), LumTau::execute(), MagFieldReader::execute(), MdcAlignAlg::execute(), MdcCalibAlg::execute(), MdcDedxRecon::execute(), MdcDummy::execute(), MdcFastTrkAlg::execute(), HoughValidUpdate::execute(), MdcHoughFinder::execute(), MdcNavigation::execute(), MdcMakeHits::execute(), MdcMergeDups::execute(), MdcTrkRecon::execute(), MdcxCosmicSewer::execute(), MdcxTrackFinder::execute(), MucCalibAlg::execute(), MucGeoCreateAlg::execute(), MucMappingAlg::execute(), MucRecRoadFinder::execute(), MucRecTrkExt::execute(), Pi0EtaToGGRecAlg::execute(), Pi0RecAlg::execute(), PrimaryVertex::execute(), PrintMcInfo::execute(), QCMCFilter::execute(), SD0Tag::execute(), T0Dummy::execute(), TagWriterAlg::execute(), tofcalgsec::execute(), TofEnergyCalib::execute(), TofEnergyRec::execute(), TofRec::execute(), BesTrigL1::execute(), TrkExtAlg::execute(), TrkReco::execute(), ValidRecExtTrackAlg::execute(), ValidRecMdcDedxAlg::execute(), ValidRecMdcKalTrackAlg::execute(), ValidRecMdcTrackAlg::execute(), ValidRecMucTrackAlg::execute(), ValidRecTofTrackAlg::execute(), KShortReconstruction::execute(), LambdaReconstruction::execute(), VeeVertex::execute(), ZddReconAlg::execute(), DedxCurAlg::execute(), G4SimEvent::execute(), OfflineEventLoopMgr::executeEvent(), EFEventLoopMgr::executeEvent(), ExtTrackCnv::ExtTrackCnv(), TofQElecSvc::Fee(), MdcCalRecTrk::fgNoiseRatio(), EmcSelBhaEvent::FillBhabha(), BesNavigatorInit::fillEmcInfo(), MilleAlign::fillHist(), ResiAlign::fillHist(), GrXtMdcCalib::fillHist(), IniMdcCalib::fillHist(), PreT0MdcCalib::fillHist(), PreXtMdcCalib::fillHist(), QtMdcCalib::fillHist(), T0MdcCalib::fillHist(), Wr2dMdcCalib::fillHist(), WrMdcCalib::fillHist(), XtInteMdcCalib::fillHist(), XtMdcCalib::fillHist(), MdcCalib::fillHist(), DedxCalibCostheta::FillHists(), DedxCalibDocaEAng::FillHists(), DedxCalibEAng::FillHists(), DedxCalibLayerGain::FillHists(), DedxCalibMomentum::FillHists(), DedxCalibRunByRun::FillHists(), DedxCalibWireGain::FillHists(), MdcTrkRecon::fillMcTruth(), BesNavigatorInit::fillMdcInfo(), CalibMySQLCnvSvc::fillObjRefs(), RootEventBaseCnv::fillObjRefs(), CalibMySQLCnvSvc::fillRepRefs(), RootEventBaseCnv::fillRepRefs(), Gam4pikp::finalize(), Ppjrhopi::finalize(), DumpDecayTreeAlg::finalize(), AbsCor::finalize(), McCor::finalize(), BbEmc::finalize(), MdcBbEmcEff::finalize(), PipiJpsi::finalize(), Rhopi::finalize(), DDecay::finalize(), DSemilepAlg::finalize(), HelloWorld::finalize(), CalibDataSvc::finalize(), CalibMySQLCnvSvc::finalize(), CheckMYSQL::finalize(), UseDedx::finalize(), UseEmc::finalize(), UseEstTof::finalize(), UseMdcCalibData::finalize(), UseMuc::finalize(), UseTof::finalize(), checkDedx::finalize(), checkEmc::finalize(), checkEstTof::finalize(), checkMdc::finalize(), checkTof::finalize(), OfflineEventLoopMgr::finalize(), DatabaseSvc::finalize(), DiGam::finalize(), DQA_Dedx::finalize(), DQA_EMC::finalize(), DQA_MDC::finalize(), DQA_MUC::finalize(), DQA_TOF::finalize(), DQACtrlSamples::finalize(), DQADtag::finalize(), DQAFillEx::finalize(), inclks::finalize(), inclkstar::finalize(), incllambda::finalize(), inclphi::finalize(), DQAJpsi2PPbarAlg::finalize(), DQAKsKpi::finalize(), DQARhopi::finalize(), DQASelBhabha::finalize(), DQASelDimu::finalize(), DQASelHadron::finalize(), EvtSelExample::finalize(), JsiLL::finalize(), TwoGamma::finalize(), EmcBhaCalib::finalize(), EmcCalibTagDeadOrHot::finalize(), EmcSelBhaEvent::finalize(), DstEventMaker::finalize(), EventTagSvc::finalize(), FillEventTag::finalize(), DstHltMaker::finalize(), HltEventMaker::finalize(), ReadRawData::finalize(), WriteRawData::finalize(), RawEventReader::finalize(), RecMakerAlg::finalize(), RootCnvSvc::finalize(), RootIoAlg::finalize(), RootRawEvtReader::finalize(), RunEventNumber::finalize(), TrigEventMaker::finalize(), BesVisAlg::finalize(), EFTest::finalize(), CheckEFResult::finalize(), EFChargedTrack::finalize(), EFDetectorHits::finalize(), EFFlightTime::finalize(), EFGlobalEnergy::finalize(), EFProcessCluster::finalize(), EFSectorHits::finalize(), EFtoTDS::finalize(), EFEventLoopMgr::finalize(), BhabhaPreSelect::finalize(), CalibEventSelect::finalize(), DigammaPreSelect::finalize(), DimuPreSelect::finalize(), EventPreSelect::finalize(), EventWriter::finalize(), Ekhara::finalize(), KKMC::finalize(), McCnvSvc::finalize(), BeamParams::finalize(), BesSim::finalize(), BFieldCorr::finalize(), DedxCalib::finalize(), DedxCurSvc::finalize(), ChargedDReconstruction::finalize(), DsReconstruction::finalize(), DTag::finalize(), NeutralDReconstruction::finalize(), DTagSkim::finalize(), EmcRec::finalize(), EmcTimeRec::finalize(), EsTimeAlg::finalize(), EstTofCaliSvc::finalize(), EventAssemblyAlg::finalize(), FarmMonitorAlg::finalize(), G4Svc::finalize(), JobInfoSvc::finalize(), KalFitAlg::finalize(), MagFieldReader::finalize(), MagneticFieldSvc::finalize(), McTestAlg::finalize(), MdcAlignAlg::finalize(), MdcCalibAlg::finalize(), MdcDedxRecon::finalize(), MdcDummy::finalize(), MdcFastTrkAlg::finalize(), HoughValidUpdate::finalize(), MdcHoughFinder::finalize(), MdcNavigation::finalize(), MdcMakeHits::finalize(), MdcMergeDups::finalize(), MdcTrkRecon::finalize(), MdcxCosmicSewer::finalize(), MdcxTrackFinder::finalize(), MeasuredEcmsSvc::finalize(), MucCalibAlg::finalize(), MucGeoCreateAlg::finalize(), MucMappingAlg::finalize(), MucRecRoadFinder::finalize(), MucRecTrkExt::finalize(), Pi0EtaToGGRecAlg::finalize(), Pi0RecAlg::finalize(), PrimaryVertex::finalize(), PrintMcInfo::finalize(), QCMCFilter::finalize(), SD0Tag::finalize(), T0Dummy::finalize(), TagWriterAlg::finalize(), tofcalgsec::finalize(), TofCaliSvc::finalize(), TofEnergyCalib::finalize(), TofQCorrSvc::finalize(), TofQElecSvc::finalize(), TofSimSvc::finalize(), BesGlobalTrigSvc::finalize(), BesTrigL1::finalize(), TrkExtAlg::finalize(), ValidRecExtTrackAlg::finalize(), ValidRecMdcDedxAlg::finalize(), ValidRecMdcKalTrackAlg::finalize(), ValidRecMdcTrackAlg::finalize(), ValidRecMucTrackAlg::finalize(), ValidRecTofTrackAlg::finalize(), KShortReconstruction::finalize(), LambdaReconstruction::finalize(), VeeVertex::finalize(), ZddReconAlg::finalize(), DedxCurAlg::finalize(), QCMCFilter::findD0Decay(), TCosmicFitter::fit(), G4Svc::G4Init(), DedxCalibEvent::genNtuple(), MeasuredEcmsSvc::getAveEcms(), MeasuredEcmsSvc::getAveEcmsErr(), G4Svc::GetCurrentEvent(), EventTagSvc::getDecayCode(), MeasuredEcmsSvc::getEcms(), MeasuredEcmsSvc::getEcmsErr(), OfflineEventLoopMgr::getEventRoot(), EFEventLoopMgr::getEventRoot(), MeasuredEcmsSvc::getInfo(), JobInfoSvc::getJobOutputFile(), MeasuredEcmsSvc::getPx(), MeasuredEcmsSvc::getPy(), MeasuredEcmsSvc::getPz(), MeasuredEcmsSvc::getRunFrom(), MeasuredEcmsSvc::getRunTo(), MeasuredEcmsSvc::getSampleName(), CalibMySQLCnvSvc::getSftParVer(), TagWriterAlg::getTagInfo(), EFEventLoopMgr::getTrigChn(), BesGlobalTrigSvc::GlobalTrig(), CalibDataSvc::handle(), BesGlobalTrigSvc::handle(), EmcBhaCalib::help(), HltInfCnv::HltInfCnv(), HltRawCnv::HltRawCnv(), RootDedxCalibDataCnv::i_createObj(), RootDedxSimDataCnv::i_createObj(), RootEmcCalibDataCnv::i_createObj(), RootEsTimeCalibDataCnv::i_createObj(), RootEstTofCalibDataCnv::i_createObj(), RootMdcCalibDataCnv::i_createObj(), RootMucCalibDataCnv::i_createObj(), RootTofCalibDataCnv::i_createObj(), RootTofElecDataCnv::i_createObj(), RootTofSimDataCnv::i_createObj(), TreeDedxCalibDataCnv::i_createObj(), TreeDedxSimDataCnv::i_createObj(), TreeEmcCalibDataCnv::i_createObj(), TreeEsTimeCalibDataCnv::i_createObj(), TreeEstTofCalibDataCnv::i_createObj(), TreeMdcAlignDataCnv::i_createObj(), TreeMdcCalibDataCnv::i_createObj(), TreeMdcDataConstCnv::i_createObj(), TreeMucCalibDataCnv::i_createObj(), TreeTofCalibDataCnv::i_createObj(), TreeTofElecDataCnv::i_createObj(), TreeTofSimDataCnv::i_createObj(), MagneticFieldSvc::init_params(), EmcSelBhaEvent::initGeom(), Gam4pikp::initialize(), Ppjrhopi::initialize(), DumpDecayTreeAlg::initialize(), AbsCor::initialize(), McCor::initialize(), BbEmc::initialize(), MdcBbEmcEff::initialize(), PipiJpsi::initialize(), Rhopi::initialize(), test_read::initialize(), DDecay::initialize(), DSemilepAlg::initialize(), HelloWorld::initialize(), CalibDataSvc::initialize(), CalibMySQLCnvSvc::initialize(), CalibRootCnvSvc::initialize(), CheckMYSQL::initialize(), UseDedx::initialize(), UseEmc::initialize(), UseEstTof::initialize(), UseMdcCalibData::initialize(), UseMuc::initialize(), UseTof::initialize(), CalibTreeCnvSvc::initialize(), checkDedx::initialize(), checkEmc::initialize(), checkEstTof::initialize(), checkMdc::initialize(), checkTof::initialize(), CalibXmlCnvSvc::initialize(), OfflineEventLoopMgr::initialize(), DatabaseSvc::initialize(), DiGam::initialize(), DQA_Dedx::initialize(), DQA_EMC::initialize(), DQA_MDC::initialize(), DQA_MUC::initialize(), DQA_TOF::initialize(), DQACtrlSamples::initialize(), DQADtag::initialize(), DQAFillEx::initialize(), inclks::initialize(), inclkstar::initialize(), incllambda::initialize(), inclphi::initialize(), DQAJpsi2PPbarAlg::initialize(), DQAKsKpi::initialize(), DQARhopi::initialize(), DQASelBhabha::initialize(), DQASelDimu::initialize(), DQASelHadron::initialize(), EvtSelExample::initialize(), JsiLL::initialize(), TwoGamma::initialize(), EmcBhaCalib::initialize(), EmcCalibTagDeadOrHot::initialize(), EmcSelBhaEvent::initialize(), DstEventMaker::initialize(), NavigationTestAlg::initialize(), EventTagSvc::initialize(), FillEventTag::initialize(), DstHltMaker::initialize(), HltEventMaker::initialize(), RawDataEmcDigiCnv::initialize(), ReadRawData::initialize(), WriteRawData::initialize(), RawEventReader::initialize(), RecMakerAlg::initialize(), DigiCnv::initialize(), DstCnv::initialize(), EvtHeaderCnv::initialize(), HltCnv::initialize(), McCnv::initialize(), RecTrackCnv::initialize(), RootCnvSvc::initialize(), RootEvtSelector::initialize(), TrigCnv::initialize(), digiRootReaderAlg::initialize(), digiRootWriterAlg::initialize(), RootIoAlg::initialize(), RootIoSvc::initialize(), RootRawEvtReader::initialize(), RunEventNumber::initialize(), TrigEventMaker::initialize(), BesVisAlg::initialize(), EFTest::initialize(), EventFilter::initialize(), CheckEFResult::initialize(), EFChargedTrack::initialize(), EFDetectorHits::initialize(), EFFlightTime::initialize(), EFGlobalEnergy::initialize(), EFProcessCluster::initialize(), EFSectorHits::initialize(), EFtoTDS::initialize(), IEFAlgorithm::initialize(), EFEventLoopMgr::initialize(), BhabhaPreSelect::initialize(), CalibEventSelect::initialize(), DigammaPreSelect::initialize(), DimuPreSelect::initialize(), EventPreSelect::initialize(), EventWriter::initialize(), Ekhara::initialize(), KKMC::initialize(), McCnvSvc::initialize(), BeamParams::initialize(), BesSim::initialize(), BFieldCorr::initialize(), DedxCalib::initialize(), DedxCurSvc::initialize(), ChargedDReconstruction::initialize(), DsReconstruction::initialize(), DTag::initialize(), NeutralDReconstruction::initialize(), DTagSkim::initialize(), EmcRec::initialize(), EmcTimeRec::initialize(), EsTimeAlg::initialize(), EstTofCaliSvc::initialize(), EventAssemblyAlg::initialize(), FarmMonitorAlg::initialize(), G4Svc::initialize(), JobInfoSvc::initialize(), KalFitAlg::initialize(), LumTau::initialize(), MagFieldReader::initialize(), MagneticFieldSvc::initialize(), McTestAlg::initialize(), MdcAlignAlg::initialize(), MdcCalibAlg::initialize(), MdcDedxRecon::initialize(), MdcDummy::initialize(), MdcFastTrkAlg::initialize(), HoughValidUpdate::initialize(), MdcHoughFinder::initialize(), MdcNavigation::initialize(), MdcMakeHits::initialize(), MdcMergeDups::initialize(), MdcTrkRecon::initialize(), MdcxCosmicSewer::initialize(), MdcxTrackFinder::initialize(), MeasuredEcmsSvc::initialize(), MucCalibAlg::initialize(), MucGeoCreateAlg::initialize(), MucMappingAlg::initialize(), MucRecRoadFinder::initialize(), MucRecTrkExt::initialize(), Pi0EtaToGGRecAlg::initialize(), Pi0RecAlg::initialize(), PrimaryVertex::initialize(), PrintMcInfo::initialize(), QCMCFilter::initialize(), SD0Tag::initialize(), T0Dummy::initialize(), TagWriterAlg::initialize(), tofcalgsec::initialize(), TofCaliSvc::initialize(), TofEnergyCalib::initialize(), TofEnergyRec::initialize(), TofQCorrSvc::initialize(), TofQElecSvc::initialize(), TofRec::initialize(), TofSimSvc::initialize(), BesGlobalTrigSvc::initialize(), BesTrigL1::initialize(), TrkExtAlg::initialize(), TrkReco::initialize(), ValidRecExtTrackAlg::initialize(), ValidRecMdcDedxAlg::initialize(), ValidRecMdcKalTrackAlg::initialize(), ValidRecMdcTrackAlg::initialize(), ValidRecMucTrackAlg::initialize(), ValidRecTofTrackAlg::initialize(), KShortReconstruction::initialize(), LambdaReconstruction::initialize(), VeeVertex::initialize(), ZddReconAlg::initialize(), DedxCurAlg::initialize(), G4SimEvent::initialize(), DummyLoadOldROOTAlg::initialize(), MilleAlign::initialize(), ResiAlign::initialize(), GrXtMdcCalib::initialize(), IniMdcCalib::initialize(), PreT0MdcCalib::initialize(), PreXtMdcCalib::initialize(), QtMdcCalib::initialize(), T0MdcCalib::initialize(), Wr2dMdcCalib::initialize(), WrMdcCalib::initialize(), XtInteMdcCalib::initialize(), XtMdcCalib::initialize(), MdcCalib::initialize(), DedxCalibEvent::initializing(), XmlBaseCnv::internalCreateObj(), RootCalBaseCnv::internalCreateObj(), TreeCalBaseCnv::internalCreateObj(), DimuPreSelect::IsDimu(), MeasuredEcmsSvc::isReadDBValid(), MeasuredEcmsSvc::isRunNoValid(), KalFitAlg::kalman_fitting_anal(), KalFitAlg::kalman_fitting_calib(), KalFitAlg::kalman_fitting_csmalign(), KalFitAlg::kalman_fitting_MdcxReco_Csmc_Sew(), TTrackManager::makeTds(), McParticleCnv::McParticleCnv(), MdcDedxCnv::MdcDedxCnv(), MdcDigiCnv::MdcDigiCnv(), MdcKalTrackCnv::MdcKalTrackCnv(), MdcMcHitCnv::MdcMcHitCnv(), MdcTrackCnv::MdcTrackCnv(), MucDigiCnv::MucDigiCnv(), MucMcHitCnv::MucMcHitCnv(), MucTrackCnv::MucTrackCnv(), RootEvtSelector::next(), OfflineEventLoopMgr::nextEvent(), RootCalBaseCnv::openRead(), RootCalBaseCnv::openWrite(), EmcSelBhaEvent::OutputMV(), EFEventLoopMgr::prepareForRun(), FTSegment::printout(), XmlBaseCnv::processValSigs(), DatabaseSvc::query(), FTTrack::r_phiFit(), MdcCalConstMgr::rdConst(), MdcCalConstMgr::rdConstTcds(), MeasuredEcmsSvc::readInfo(), MeasuredEcmsSvc::readMeasuredEcms(), DedxCalib::ReadRecFileList(), MeasuredEcmsSvc::readRunParams(), RecBTofCalHitCnv::RecBTofCalHitCnv(), RecEmcClusterCnv::RecEmcClusterCnv(), RecEmcHitCnv::RecEmcHitCnv(), RecEmcShowerCnv::RecEmcShowerCnv(), RecETofCalHitCnv::RecETofCalHitCnv(), RecEvTimeCnv::RecEvTimeCnv(), RecExtTrackCnv::RecExtTrackCnv(), RecMdcDedxCnv::RecMdcDedxCnv(), RecMdcDedxHitCnv::RecMdcDedxHitCnv(), RecMdcHitCnv::RecMdcHitCnv(), RecMdcKalHelixSegCnv::RecMdcKalHelixSegCnv(), RecMdcKalTrackCnv::RecMdcKalTrackCnv(), RecMdcTrackCnv::RecMdcTrackCnv(), RecMucRecHitCnv::RecMucRecHitCnv(), RecMucTrackCnv::RecMucTrackCnv(), RecTofTrackCnv::RecTofTrackCnv(), EmcRecTDS::RegisterCluster(), EmcRecTDS::RegisterHit(), TofRecTDS::RegisterNullRecTofTrackCol(), TofRecTDS::RegisterRecBTofCalHitCol(), TofRecTDS::RegisterRecETofCalHitCol(), EmcRecTDS::RegisterReconEvent(), TofRecTDS::RegisterReconEvent(), TofRecTDS::RegisterRecTofTrackCol(), EmcRecTDS::RegisterShower(), OfflineEventLoopMgr::reinitialize(), CalibDataSvc::retrieveObject(), RootCnvSvc::RootCnvSvc(), RootEventBaseCnv::RootEventBaseCnv(), RootIoSvc::run(), G4Svc::runMgr(), FTTrack::s_zFit(), EmcSelBhaEvent::SelectBhabha(), RootCalBaseCnv::setBaseInfo(), TreeCalBaseCnv::setBaseInfo(), KalFitAlg::setCalibSvc_init(), RootEvtSelector::setCriteria(), KalFitAlg::setGeomSvc_init(), MdcAliEvent::setKalEvent(), MdcCalEvent::setKalEvent(), MdcAliRecHit::setKalHit(), MdcCalRecHit::setKalHit(), MdcAliRecTrk::setKalTrk(), MdcCalRecTrk::setKalTrk(), MdcAliEvent::setRecEvent(), MdcCalEvent::setRecEvent(), MdcAliRecHit::setRecHit(), MdcCalRecHit::setRecHit(), MdcAliRecTrk::setRecTrk(), MdcCalRecTrk::setRecTrk(), BesGlobalTrigSvc::setTrigCondition(), G4Svc::StartUISession(), MdcxCosmicSewer::store(), EmcDigiCnv::TObjectToDataObject(), LumiDigiCnv::TObjectToDataObject(), MdcDigiCnv::TObjectToDataObject(), MucDigiCnv::TObjectToDataObject(), TofDigiCnv::TObjectToDataObject(), EmcTrackCnv::TObjectToDataObject(), ExtTrackCnv::TObjectToDataObject(), MdcDedxCnv::TObjectToDataObject(), MdcKalTrackCnv::TObjectToDataObject(), MdcTrackCnv::TObjectToDataObject(), MucTrackCnv::TObjectToDataObject(), TofTrackCnv::TObjectToDataObject(), EvtRecCnv::TObjectToDataObject(), EvtRecDTagCnv::TObjectToDataObject(), EvtRecEtaToGGCnv::TObjectToDataObject(), EvtRecEventCnv::TObjectToDataObject(), EvtRecPi0Cnv::TObjectToDataObject(), EvtRecPrimaryVertexCnv::TObjectToDataObject(), EvtRecTrackCnv::TObjectToDataObject(), EvtRecVeeVertexCnv::TObjectToDataObject(), DstHltInfCnv::TObjectToDataObject(), HltInfCnv::TObjectToDataObject(), HltRawCnv::TObjectToDataObject(), EmcMcHitCnv::TObjectToDataObject(), McParticleCnv::TObjectToDataObject(), MdcMcHitCnv::TObjectToDataObject(), MucMcHitCnv::TObjectToDataObject(), TofMcHitCnv::TObjectToDataObject(), RecEmcClusterCnv::TObjectToDataObject(), RecEmcHitCnv::TObjectToDataObject(), RecEmcShowerCnv::TObjectToDataObject(), RecEvTimeCnv::TObjectToDataObject(), RecExtTrackCnv::TObjectToDataObject(), RecMdcDedxCnv::TObjectToDataObject(), RecMdcDedxHitCnv::TObjectToDataObject(), RecMdcHitCnv::TObjectToDataObject(), RecMdcKalHelixSegCnv::TObjectToDataObject(), RecMdcKalTrackCnv::TObjectToDataObject(), RecMdcTrackCnv::TObjectToDataObject(), RecMucTrackCnv::TObjectToDataObject(), RecTofTrackCnv::TObjectToDataObject(), RecZddChannelCnv::TObjectToDataObject(), TrigDataCnv::TObjectToDataObject(), DigiCnv::TObjectToDataObject(), DstCnv::TObjectToDataObject(), EvtHeaderCnv::TObjectToDataObject(), EvtNavigatorCnv::TObjectToDataObject(), HltCnv::TObjectToDataObject(), McCnv::TObjectToDataObject(), RecTrackCnv::TObjectToDataObject(), TrigCnv::TObjectToDataObject(), TofDigiCnv::TofDigiCnv(), TofMcHitCnv::TofMcHitCnv(), TofTrackCnv::TofTrackCnv(), MucRecRoadFinder::TrackFinding(), MucRecTrkExt::TrackFinding(), TrigDataCnv::TrigDataCnv(), FTSegment::update3D(), CalibMySQLCnvSvc::updateCalib(), MilleAlign::updateConst(), ResiAlign::updateConst(), GrXtMdcCalib::updateConst(), IniMdcCalib::updateConst(), PreT0MdcCalib::updateConst(), PreXtMdcCalib::updateConst(), QtMdcCalib::updateConst(), T0MdcCalib::updateConst(), Wr2dMdcCalib::updateConst(), WrMdcCalib::updateConst(), XtInteMdcCalib::updateConst(), XtMdcCalib::updateConst(), MdcCalib::updateConst(), RawDataEmcDigiCnv::updateObj(), RawDataTrigCnv::updateObj(), RawDataTrigGTDCnv::updateObj(), CalibMySQLCnvSvc::updateObj(), CalibRootCnvSvc::updateObj(), CalibTreeCnvSvc::updateObj(), CalibDataSvc::updateObject(), CalibMySQLCnvSvc::updateObjRefs(), CalibMySQLCnvSvc::updateRep(), CalibMySQLCnvSvc::updateRepRefs(), RawDataCnvSvc::updateServiceState(), RootCnvSvc::updateServiceState(), DedxCalibCostheta::WriteHists(), DedxCalibDocaEAng::WriteHists(), DedxCalibEAng::WriteHists(), DedxCalibLayerGain::WriteHists(), DedxCalibMomentum::WriteHists(), DedxCalibRunByRun::WriteHists(), DedxCalibWireGain::WriteHists(), CalibRootCnvSvc::writeToRoot(), MdcCalConstMgr::wrtConst(), JobInfoSvc::xmlrpc(), BesVisAlg::~BesVisAlg(), EventWriter::~EventWriter(), KalFitAlg::~KalFitAlg(), and TofSimSvc::~TofSimSvc().

◆ ntupleSvc()

INTupleSvc * ntupleSvc ( )
inline

Definition at line 55 of file InstallArea/include/SimHelpers/SimHelpers/ServiceAccessor.h.

56{
57 static INTupleSvc* nS=0;
58 StatusCode status;
59 if (!nS)
60 {
61 ISvcLocator* svcLocator = Gaudi::svcLocator();
62 status = svcLocator->service("NTupleSvc",nS);
63 }
64 return nS;
65}

Referenced by BesSim::bookEmcRootFile(), BesSim::bookMdcRootFile(), BesSim::bookMucRootFile(), MdcTrkRecon::bookNTuple(), BesSim::bookTofRootFile(), KalFitAlg::hist_def(), ValidRecMdcKalTrackAlg::histDef(), Gam4pikp::initialize(), AbsCor::initialize(), McCor::initialize(), BbEmc::initialize(), PipiJpsi::initialize(), Rhopi::initialize(), DDecay::initialize(), DSemilepAlg::initialize(), DiGam::initialize(), DQA_Dedx::initialize(), DQA_EMC::initialize(), DQADtag::initialize(), DQAFillEx::initialize(), inclks::initialize(), inclkstar::initialize(), incllambda::initialize(), inclphi::initialize(), DQAJpsi2PPbarAlg::initialize(), DQAKsKpi::initialize(), DQARhopi::initialize(), DQASelBhabha::initialize(), DQASelDimu::initialize(), DQASelHadron::initialize(), EvtSelExample::initialize(), JsiLL::initialize(), TwoGamma::initialize(), EmcBhaCalib::initialize(), EFTest::initialize(), StepHandler::initialize(), CheckEFResult::initialize(), BhabhaPreSelect::initialize(), CalibEventSelect::initialize(), DigammaPreSelect::initialize(), DimuPreSelect::initialize(), EventPreSelect::initialize(), EvtDecay::initialize(), CosmicGenerator::initialize(), BeamParams::initialize(), MixerAlg::initialize(), EmcRec::initialize(), EmcTimeRec::initialize(), EsTimeAlg::initialize(), EventAssemblyAlg::initialize(), LumTau::initialize(), MagFieldReader::initialize(), McTestAlg::initialize(), MdcDedxRecon::initialize(), MdcFastTrkAlg::initialize(), HoughValidUpdate::initialize(), MdcHoughFinder::initialize(), MdcxCosmicSewer::initialize(), MucRecRoadFinder::initialize(), MucRecTrkExt::initialize(), PrimaryVertex::initialize(), SD0Tag::initialize(), tofcalgsec::initialize(), TofEnergyCalib::initialize(), TofEnergyRec::initialize(), TofRec::initialize(), BesTrigL1::initialize(), ValidRecExtTrackAlg::initialize(), ValidRecMdcDedxAlg::initialize(), ValidRecMdcTrackAlg::initialize(), ValidRecMucTrackAlg::initialize(), ValidRecTofTrackAlg::initialize(), ResiAlign::initialize(), MdcCalib::initialize(), and DedxCalibEvent::initializing().

◆ storeGateSvc()

StoreGateSvc * storeGateSvc ( )
inline

Definition at line 41 of file InstallArea/include/SimHelpers/SimHelpers/ServiceAccessor.h.

42{
43 static StoreGateSvc* sG=0;
44 StatusCode status;
45 if (!sG)
46 {
47 ISvcLocator* svcLocator = Gaudi::svcLocator();
48 status = svcLocator->service("StoreGateSvc", sG);
49 }
50 return sG;
51}