#include <BesTDSWriter.hh>
◆ BesTDSWriter() [1/3]
BesTDSWriter::BesTDSWriter |
( |
| ) |
|
◆ ~BesTDSWriter() [1/3]
BesTDSWriter::~BesTDSWriter |
( |
| ) |
|
◆ BesTDSWriter() [2/3]
BesTDSWriter::BesTDSWriter |
( |
| ) |
|
◆ ~BesTDSWriter() [2/3]
BesTDSWriter::~BesTDSWriter |
( |
| ) |
|
◆ BesTDSWriter() [3/3]
BesTDSWriter::BesTDSWriter |
( |
| ) |
|
◆ ~BesTDSWriter() [3/3]
BesTDSWriter::~BesTDSWriter |
( |
| ) |
|
◆ SaveAll() [1/3]
void BesTDSWriter::SaveAll |
( |
const G4Event * |
evt, |
|
|
int |
runNumber |
|
) |
| |
Definition at line 36 of file bak_BesSim-00-04-14/src/BesTDSWriter.cc.
37{
38
39 ISvcLocator* svcLocator = Gaudi::svcLocator();
40 IDataProviderSvc* evtSvc;
41 StatusCode sc=svcLocator->service("EventDataSvc", evtSvc);
42 if (sc.isFailure())
43 G4cout<<"Could not accesss EventDataSvc!"<<G4endl;
44
45
46
47
48
49
50
51
52
53
54
55
56
57 SmartDataPtr<Event::EventHeader> aEventHeader(evtSvc,"/Event/EventHeader");
58 G4int run=aEventHeader->runNumber();
59 G4int event=aEventHeader->eventNumber();
60
61
62
63
65
66
68
69}
Referenced by BesEventAction::EndOfEventAction().
◆ SaveAll() [2/3]
void BesTDSWriter::SaveAll |
( |
const G4Event * |
, |
|
|
int |
|
|
) |
| |
◆ SaveAll() [3/3]
void BesTDSWriter::SaveAll |
( |
const G4Event * |
, |
|
|
int |
|
|
) |
| |
The documentation for this class was generated from the following files: