Skip to content
Snippets Groups Projects
Commit 3ece5b6b authored by Vangelis Kourlitis's avatar Vangelis Kourlitis Committed by Marilena Bandieramonte
Browse files

disable event action printouts

parent 6c3d42ed
No related branches found
No related tags found
No related merge requests found
......@@ -51,9 +51,11 @@ void MyEventAction::BeginOfEventAction(const G4Event* evt) {
void MyEventAction::EndOfEventAction(const G4Event* evt) {
//get the Run and add the data collected during the simulation of the event that has been completed
MyRun* run = static_cast<MyRun*>(G4RunManager::GetRunManager()->GetNonConstCurrentRun());
/*
G4int nPrimPart = evt->GetNumberOfPrimaryVertex();
G4cout << " \n================================================================= \n"
<< " === EndOfEventAction --- event = " << evt->GetEventID() << " with "<< nPrimPart << " primary:"<<G4endl;
for (G4int ip=0; ip<nPrimPart; ++ip) {
G4PrimaryParticle* pPart = evt->GetPrimaryVertex(ip)->GetPrimary(0);
G4String pPartName = pPart->GetParticleDefinition()->GetParticleName();
......@@ -68,6 +70,7 @@ void MyEventAction::EndOfEventAction(const G4Event* evt) {
<< " Direction = " << pPartDir << " \n"
<< fEventDataPerPrimary[ip]<< G4endl;
}
*/
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment