BOSS
7.1.0
BESIII Offline Software System
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
z
Typedefs
c
d
e
g
h
i
l
m
n
o
p
r
s
t
Enumerations
Enumerator
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
u
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
v
w
Enumerations
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
v
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Related Functions
:
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
w
x
Files
File List
File Members
All
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
!
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
h
i
j
k
l
m
n
p
r
s
t
u
v
w
z
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
u
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
DedxCurAlg.cxx
Go to the documentation of this file.
1
#include "
DedxCurAlg.h
"
2
#include "
DedxCurSvc/IDedxCurSvc.h
"
3
#include "GaudiKernel/ISvcLocator.h"
4
#include "GaudiKernel/IDataProviderSvc.h"
5
#include "GaudiKernel/Bootstrap.h"
6
7
DECLARE_COMPONENT(
DedxCurAlg
)
8
9
DedxCurAlg
::
DedxCurAlg
( const
std
::
string
& name,
10
ISvcLocator* pSvcLocator )
11
: Algorithm ( name, pSvcLocator ), m_pCalibDataSvc(0)
12
{
13
// Declare properties here.
14
15
}
16
17
18
StatusCode
DedxCurAlg::initialize
() {
19
StatusCode sc;
20
MsgStream log(
msgSvc
(), name());
21
log << MSG::INFO <<
"Initialize()"
<< endreq;
22
23
// So far don't have any properties, but in case we do some day..
24
// setProperties();
25
26
return
StatusCode::SUCCESS;
27
28
}
29
30
31
StatusCode
DedxCurAlg::execute
( ) {
32
33
MsgStream log(
msgSvc
(), name());
34
35
IDedxCurSvc
* vtxsvc;
36
Gaudi::svcLocator()->service(
"DedxCurSvc"
, vtxsvc);
37
for
(
int
i=0;i<5;i++){
38
std::cout<<
"vtxsvc->getSigma(i)"
<<vtxsvc->
getSigma
(i)<<std::endl;
39
std::cout<<
"vtxsvc->getCurve(i)"
<<vtxsvc->
getCurve
(i)<<std::endl;
40
}
41
42
return
StatusCode::SUCCESS;
43
}
44
45
StatusCode
DedxCurAlg::finalize
( ) {
46
47
MsgStream log(
msgSvc
(), name());
48
log << MSG::INFO
49
<<
" DedxCurAlg FINALIZE!! "
50
<< endreq;
51
52
return
StatusCode::SUCCESS;
53
}
54
55
DedxCurAlg.h
IDedxCurSvc.h
msgSvc
IMessageSvc * msgSvc()
Definition:
ServiceAccessor.h:13
DedxCurAlg
Simple algorithm to test functioning of "the other" TDS.
Definition:
DedxCurAlg.h:10
DedxCurAlg::finalize
StatusCode finalize()
Definition:
DedxCurAlg.cxx:45
DedxCurAlg::initialize
StatusCode initialize()
Definition:
DedxCurAlg.cxx:18
DedxCurAlg::execute
StatusCode execute()
Definition:
DedxCurAlg.cxx:31
IDedxCurSvc
Definition:
IDedxCurSvc.h:9
IDedxCurSvc::getCurve
virtual const double getCurve(int i)=0
IDedxCurSvc::getSigma
virtual const double getSigma(int i)=0
std
Definition:
RootEventData/RootEventData_rootcint.cxx:38
source
Mdc
DedxCurSvc
DedxCurSvc-00-01-00
src
DedxCurAlg.cxx
Generated by
1.9.6