Newer
Older
DECLARE_COMPONENT(ExampleAnaElemTool)
void
ExampleAnaElemTool::BeginOfRunAction(const G4Run*) {
G4cout << "Begin Run of detector simultion..." << G4endl;
}
void
ExampleAnaElemTool::EndOfRunAction(const G4Run*) {
G4cout << "End Run of detector simultion..." << G4endl;
ExampleAnaElemTool::BeginOfEventAction(const G4Event* anEvent) {
msg() << "Event " << anEvent->GetEventID() << endmsg;
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
}
void
ExampleAnaElemTool::EndOfEventAction(const G4Event*) {
}
void
ExampleAnaElemTool::PreUserTrackingAction(const G4Track*) {
}
void
ExampleAnaElemTool::PostUserTrackingAction(const G4Track*) {
}
void
ExampleAnaElemTool::UserSteppingAction(const G4Step*) {
}
StatusCode
ExampleAnaElemTool::initialize() {
StatusCode sc;
return sc;
}
StatusCode
ExampleAnaElemTool::finalize() {
StatusCode sc;
return sc;
}