BOSS
7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
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 >
9
IDataProviderSvc*
BesDCSelector< Arg >::eventSvc
() {
10
11
if
( m_evtSvc == 0 ) {
12
StatusCode sc = Gaudi::svcLocator()->service(
"EventDataSvc"
, m_evtSvc,
true
);
13
if
( sc.isFailure() ) {
14
assert(
false
);
15
}
16
}
17
18
return
m_evtSvc;
19
}
20
21
template
<
class
Arg >
22
IVertexDbSvc
*
BesDCSelector< Arg >::vtxDbSvc
() {
23
24
if
( m_vtxSvc == 0 ) {
25
StatusCode sc = Gaudi::svcLocator()->service(
"VertexDbSvc"
, m_vtxSvc,
true
);
26
if
( sc.isFailure() ) {
27
assert(
false
);
28
}
29
}
30
31
return
m_vtxSvc;
32
}
33
34
#endif
BesDCSelector::eventSvc
IDataProviderSvc * eventSvc()
Definition
BesDCSelector.cc:9
BesDCSelector::vtxDbSvc
IVertexDbSvc * vtxDbSvc()
Definition
BesDCSelector.cc:22
IVertexDbSvc
Definition
IVertexDbSvc.h:14
7.1.1
Event
BesDChain
BesDChain-00-00-14
BesDChain
Template
BesDCSelector.cc
Generated by
1.12.0