BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
JobInputRaw.cxx
Go to the documentation of this file.
3#include "GaudiKernel/ISvcLocator.h"
4
5namespace 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 {
26 }
27 };
28
30}
uint32_t runNo()
int(* pf_helper)(ISvcLocator *)
Definition: DetVerSvc.cxx:9
InputRawInit init
Definition: JobInputRaw.cxx:29
int funcInputRaw(ISvcLocator *svcLct)
Definition: JobInputRaw.cxx:7