BOSS
7.0.4
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
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
x
z
Typedefs
b
c
d
e
g
h
i
l
m
n
o
p
r
s
t
v
Enumerations
_
e
f
g
h
i
l
m
o
p
r
s
t
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
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
g
h
i
j
k
l
m
n
p
q
r
s
t
u
v
w
z
Enumerations
d
e
g
h
p
r
s
t
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
JobSimulation.cxx
Go to the documentation of this file.
1
#include "RealizationSvc/IRealizationSvc.h"
2
#include "RealizationSvc/RealizationSvc.h"
3
#include "GaudiKernel/SmartIF.h"
4
#include "GaudiKernel/ISvcLocator.h"
5
#include <cstdlib>
6
7
namespace
DetVerSvcPack
{
8
9
int
funcSimulation
(ISvcLocator* svcLct)
10
{
11
IRealizationSvc
* iSvc = 0;
12
StatusCode sc = svcLct->service(
"RealizationSvc"
, iSvc,
false
);
13
if
( sc.isSuccess() ) {
14
RealizationSvc
* svc =
dynamic_cast<
RealizationSvc
*
>
(iSvc);
15
if
( svc != 0 ) {
16
return
abs
(svc->
getRunId
());
17
}
18
}
19
return
-1;
20
}
21
22
extern
int (*
pf_helper
)(ISvcLocator*);
23
24
//initialize function pointer: pf_helper
25
struct
SimulationInit
{
26
SimulationInit
() {
27
pf_helper
=
funcSimulation
;
28
}
29
};
30
31
SimulationInit
init
;
32
}
abs
#define abs(x)
Definition:
Eepipi/Eepipi-00-00-06/src/ee2eepp/basesv5.1/f2c.h:151
IRealizationSvc
Definition:
InstallArea/include/RealizationSvc/RealizationSvc/IRealizationSvc.h:11
RealizationSvc
Definition:
InstallArea/include/RealizationSvc/RealizationSvc/RealizationSvc.h:17
RealizationSvc::getRunId
int getRunId()
Definition:
InstallArea/include/RealizationSvc/RealizationSvc/RealizationSvc.h:101
DetVerSvcPack
Definition:
DetVerSvc.cxx:8
DetVerSvcPack::pf_helper
int(* pf_helper)(ISvcLocator *)
Definition:
DetVerSvc.cxx:9
DetVerSvcPack::init
InputRawInit init
Definition:
JobInputRaw.cxx:29
DetVerSvcPack::funcSimulation
int funcSimulation(ISvcLocator *svcLct)
Definition:
JobSimulation.cxx:9
DetVerSvcPack::SimulationInit
Definition:
JobSimulation.cxx:25
DetVerSvcPack::SimulationInit::SimulationInit
SimulationInit()
Definition:
JobSimulation.cxx:26
source
Utilities
DetVerSvc
DetVerSvc-00-00-07
src
JobSimulation.cxx
Generated by
1.9.6