BOSS
7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
JobInputRaw.cxx
Go to the documentation of this file.
1
#include "RawDataCnv/IRawDataInputSvc.h"
2
#include "RawDataCnv/RawDataInputSvc.h"
3
#include "GaudiKernel/ISvcLocator.h"
4
5
namespace
DetVerSvcPack
{
6
7
int
funcInputRaw
(ISvcLocator* svcLct)
8
{
9
IRawDataInputSvc
* iSvc = 0;
10
StatusCode sc = svcLct->service(
"RawDataInputSvc"
, iSvc,
false
);
11
if
( sc.isSuccess() ) {
12
RawDataInputSvc
* svc =
dynamic_cast<
RawDataInputSvc
*
>
(iSvc);
13
if
( svc != 0 ) {
14
return
svc->
runNo
();
15
}
16
}
17
return
-1;
18
}
19
20
extern
int (*
pf_helper
)(ISvcLocator*);
21
22
//initialize function pointer: pf_helper
23
struct
InputRawInit
{
24
InputRawInit
() {
25
pf_helper
=
funcInputRaw
;
26
}
27
};
28
29
InputRawInit
init
;
30
}
IRawDataInputSvc
Definition:
Event/RawDataCnv/RawDataCnv-00-04-37/RawDataCnv/IRawDataInputSvc.h:21
RawDataInputSvc
Definition:
Event/RawDataCnv/RawDataCnv-00-04-37/RawDataCnv/RawDataInputSvc.h:25
RawDataInputSvc::runNo
uint32_t runNo()
Definition:
Event/RawDataCnv/RawDataCnv-00-04-37/RawDataCnv/RawDataInputSvc.h:49
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::funcInputRaw
int funcInputRaw(ISvcLocator *svcLct)
Definition:
JobInputRaw.cxx:7
DetVerSvcPack::InputRawInit
Definition:
JobInputRaw.cxx:23
DetVerSvcPack::InputRawInit::InputRawInit
InputRawInit()
Definition:
JobInputRaw.cxx:24
source
Utilities
DetVerSvc
DetVerSvc-00-00-07
src
JobInputRaw.cxx
Generated by
1.9.6