Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RunAction.cc File Reference
#include "RunAction.hh"
#include "G4Run.hh"
#include "TrackingAction.hh"
#include "G4ParticleDefinition.hh"
#include "G4RunManager.hh"
#include "Analysis.hh"
#include "G4Threading.hh"
#include "CommandLineParser.hh"
Include dependency graph for RunAction.cc:

Go to the source code of this file.

Functions

void PrintNParticles (std::map< const G4ParticleDefinition *, int > &container)
 

Function Documentation

void PrintNParticles ( std::map< const G4ParticleDefinition *, int > &  container)

Definition at line 267 of file RunAction.cc.

268 {
269  std::map<const G4ParticleDefinition*, int>::iterator it;
270  for(it = container.begin() ;
271  it != container.end(); it ++)
272  {
273  G4cout << "N " << it->first->GetParticleName() << " : " << it->second << G4endl;
274  }
275 }
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61