6 #include "GaudiKernel/MsgStream.h"
7 #include "GaudiKernel/StatusCode.h"
10 ISvcLocator* PerfMonServices::s_pxSvcLocator =
nullptr;
11 ITHistSvc* PerfMonServices::s_pxTHistSvc =
nullptr;
12 IMessageSvc* PerfMonServices::s_pxMessageSvc =
nullptr;
13 StoreGateSvc* PerfMonServices::s_pxStoreGateSvc =
nullptr;
14 INTupleSvc* PerfMonServices::s_pxNtupleSvc =
nullptr;
18 "StacoMuonCollection",
23 "TrackParticleCandidate",
27 "AtlfastMuonCollection",
29 "AtlfastElectronCollection",
30 "AtlfastPhotonCollection",
52 s_pxSvcLocator = pxSvcLocator;
56 bool bRegisterSuccess =
true;
63 if ( !bRegisterSuccess )
70 return StatusCode::SUCCESS;
80 StatusCode xStatus = s_pxSvcLocator->service(
"MessageSvc", s_pxMessageSvc );
86 StatusCode xStatus = s_pxSvcLocator->service(
"StoreGateSvc", s_pxStoreGateSvc );
92 StatusCode xStatus = s_pxSvcLocator->service(
"NTupleSvc", s_pxNtupleSvc );
98 StatusCode xStatus = s_pxSvcLocator->service(
"THistSvc", s_pxTHistSvc);
106 if ( !xSC.isSuccess() )
118 return ( xSC.isSuccess() && !bNullPointer ) ? true :
false;