#include <iostream>
#include "GaudiKernel/ISvcLocator.h"
#include "GaudiKernel/Bootstrap.h"
#include "GaudiKernel/INTupleSvc.h"
Go to the source code of this file.
◆ ntupleSvc()
| INTupleSvc * ntupleSvc |
( |
| ) |
|
|
inline |
Definition at line 14 of file ServiceAccessor.h.
15{
16 auto findNtupleSvc = []()
17 {
18 SmartIF<INTupleSvc> nS{ Gaudi::svcLocator()->service("NTupleSvc") };
19 if (!nS)
20 std::cout<<" ntupleSvc(); could not access NTupleSvc"<<std::endl;
21 return nS;
22 };
23 static INTupleSvc* const nS = findNtupleSvc();
24 return nS;
25}