Loading code/CEventAction.cc +1 −1 Original line number Diff line number Diff line Loading @@ -111,7 +111,7 @@ void CEventAction::BeginOfEventAction(const G4Event* evt) { gm.event_id = event_id; G4int evtID = evt->GetEventID(); G4double ene = evt->GetPrimaryVertex(0)->GetPrimary(0)->GetKineticEnergy(); G4cout << "Event ID: " << evtID << ", with energy: " << ene/CLHEP::keV << " keV" << G4endl; //G4cout << "Event ID: " << evtID << ", with energy: " << ene/CLHEP::keV << " keV" << G4endl; } Loading Loading
code/CEventAction.cc +1 −1 Original line number Diff line number Diff line Loading @@ -111,7 +111,7 @@ void CEventAction::BeginOfEventAction(const G4Event* evt) { gm.event_id = event_id; G4int evtID = evt->GetEventID(); G4double ene = evt->GetPrimaryVertex(0)->GetPrimary(0)->GetKineticEnergy(); G4cout << "Event ID: " << evtID << ", with energy: " << ene/CLHEP::keV << " keV" << G4endl; //G4cout << "Event ID: " << evtID << ", with energy: " << ene/CLHEP::keV << " keV" << G4endl; } Loading