1#ifndef ServiceAccessor_H
2#define ServiceAccessor_H
5#include "GaudiKernel/ISvcLocator.h"
6#include "GaudiKernel/Bootstrap.h"
7#include "GaudiKernel/MsgStream.h"
8#include "GaudiKernel/IMessageSvc.h"
10#include "GaudiKernel/IHistogramSvc.h"
15 static IMessageSvc* mS=0;
18 ISvcLocator* svcLocator = Gaudi::svcLocator();
19 svcLocator->service(
"MessageSvc", mS);
27 static IHistogramSvc* hS=0;
31 ISvcLocator* svcLocator = Gaudi::svcLocator();
32 status=svcLocator->service(
"HistogramDataSvc",hS);
39#include "StoreGate/StoreGateSvc.h"
43 static StoreGateSvc* sG=0;
47 ISvcLocator* svcLocator = Gaudi::svcLocator();
48 status = svcLocator->service(
"StoreGateSvc", sG);
53#include "GaudiKernel/INTupleSvc.h"
57 static INTupleSvc* nS=0;
61 ISvcLocator* svcLocator = Gaudi::svcLocator();
62 status = svcLocator->service(
"NTupleSvc",nS);
StoreGateSvc * storeGateSvc()
IHistogramSvc * histoSvc()