BOSS
8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/BesDChain/include/BesDChain/Template/BesDCSelector.cc
Go to the documentation of this file.
1
#ifndef BES_DCHAIN_SELECTOR_CC
2
#define BES_DCHAIN_SELECTOR_CC
3
4
#include "GaudiKernel/Bootstrap.h"
5
#include "GaudiKernel/ISvcLocator.h"
6
#include "GaudiKernel/StatusCode.h"
7
8
template
<
class
Arg> IDataProviderSvc*
BesDCSelector<Arg>::eventSvc
() {
9
10
if
( m_evtSvc == 0 )
11
{
12
StatusCode sc = Gaudi::svcLocator()->service(
"EventDataSvc"
, m_evtSvc,
true
);
13
if
( sc.isFailure() ) { assert(
false
); }
14
}
15
16
return
m_evtSvc;
17
}
18
19
template
<
class
Arg>
IVertexDbSvc
*
BesDCSelector<Arg>::vtxDbSvc
() {
20
21
if
( m_vtxSvc == 0 )
22
{
23
StatusCode sc = Gaudi::svcLocator()->service(
"VertexDbSvc"
, m_vtxSvc,
true
);
24
if
( sc.isFailure() ) { assert(
false
); }
25
}
26
27
return
m_vtxSvc;
28
}
29
30
#endif
BesDCSelector::eventSvc
IDataProviderSvc * eventSvc()
Definition
Event/BesDChain/include/BesDChain/Template/BesDCSelector.cc:8
BesDCSelector::vtxDbSvc
IVertexDbSvc * vtxDbSvc()
Definition
Event/BesDChain/include/BesDChain/Template/BesDCSelector.cc:19
IVertexDbSvc
Definition
Analysis/VertexDbSvc/include/VertexDbSvc/IVertexDbSvc.h:14
8.0.0
BOSS_Source
Event
BesDChain
include
BesDChain
Template
BesDCSelector.cc
Generated by
1.16.1