BOSS 7.1.1
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 {
27 };
28
30}
int(* pf_helper)(ISvcLocator *)
Definition DetVerSvc.cxx:11
InputRawInit init
int funcInputRaw(ISvcLocator *svcLct)