11#include "BesTDSWriter.hh"
12#include "BesRawDataWriter.hh"
13#include "BesMcTruthWriter.hh"
16#include "GaudiKernel/IDataProviderSvc.h"
17#include "GaudiKernel/SmartDataPtr.h"
18#include "GaudiKernel/ISvcLocator.h"
19#include "GaudiKernel/Bootstrap.h"
20#include "EventModel/EventHeader.h"
39 ISvcLocator* svcLocator = Gaudi::svcLocator();
40 IDataProviderSvc* evtSvc;
41 StatusCode sc=svcLocator->service(
"EventDataSvc", evtSvc);
43 G4cout<<
"Could not accesss EventDataSvc!"<<G4endl;
57 SmartDataPtr<Event::EventHeader> aEventHeader(evtSvc,
"/Event/EventHeader");
58 G4int run=aEventHeader->runNumber();
59 G4int
event=aEventHeader->eventNumber();
void SaveAll(const G4Event *, int)