50 const G4Event* ev = anEvent; ev=0;
54 G4int nVtx= anEvent-> GetNumberOfPrimaryVertex();
56 for(i=0; i< nVtx; i++) {
58 primaryVertex->
Print();
69 (
H02MuonSD*)SDManager-> FindSensitiveDetector(
"/mydet/muon");
Definition of the H02MuonSD class.
virtual void BeginOfEventAction(const G4Event *anEvent)
void Print(G4Element &ele)
virtual void EndOfEventAction(const G4Event *anEvent)
static G4SDManager * GetSDMpointer()
G4GLOB_DLL std::ostream G4cout
Definition of the H02EventAction class.