#include <Doxymodules_eventgenerator.h>
◆ H02EventAction()
H02EventAction::H02EventAction |
( |
| ) |
|
◆ ~H02EventAction()
H02EventAction::~H02EventAction |
( |
| ) |
|
◆ BeginOfEventAction()
void H02EventAction::BeginOfEventAction |
( |
const G4Event * |
anEvent | ) |
|
|
virtual |
Definition at line 48 of file H02EventAction.cc.
49{
50 const G4Event* ev = anEvent; ev=0;
51#ifdef DEBUG_HEPMC
52
53 G4cout << "Print out primary information" << G4endl;
54 G4int nVtx= anEvent-> GetNumberOfPrimaryVertex();
55 G4int i;
56 for(i=0; i< nVtx; i++) {
58 primaryVertex->
Print();
59 }
60#endif
61}
void Print(const std::vector< T > &data)
◆ EndOfEventAction()
void H02EventAction::EndOfEventAction |
( |
const G4Event * |
anEvent | ) |
|
|
virtual |
Definition at line 64 of file H02EventAction.cc.
65{
66 G4cout << " Print out hit information" << G4endl;
67 G4SDManager* SDManager= G4SDManager::GetSDMpointer();
69 (
H02MuonSD*)SDManager-> FindSensitiveDetector(
"/mydet/muon");
70 muonSD-> PrintAll();
71 muonSD-> DrawAll();
72 G4cout << G4endl;
73}
The documentation for this class was generated from the following files: