62 EvtMap->
add(index,weight);
72 msg +=
"> not found.";
100 std::map<G4int,G4double*>::iterator itr = EvtMap->
GetMap()->begin();
101 for(; itr != EvtMap->
GetMap()->end(); itr++) {
102 G4cout <<
" copy no.: " << itr->first
103 <<
" num of secondaries: " << *(itr->second)/
GetUnitValue()
G4DLLIMPORT std::ostream G4cout
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
G4PSNofSecondary(G4String name, G4int depth=0)
virtual void EndOfEvent(G4HCofThisEvent *)
virtual void Initialize(G4HCofThisEvent *)
void SetParticle(const G4String &particleName)
virtual void SetUnit(const G4String &unit)
virtual G4bool ProcessHits(G4Step *, G4TouchableHistory *)
virtual ~G4PSNofSecondary()
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
static G4ParticleTable * GetParticleTable()
G4double GetWeight() const
G4Track * GetTrack() const
G4StepPoint * GetPreStepPoint() const
G4int add(const G4int &key, T *&aHit) const
std::map< G4int, T * > * GetMap() const
G4int GetCurrentStepNumber() const
G4ParticleDefinition * GetDefinition() const
G4int GetParentID() const
virtual G4int GetIndex(G4Step *)
const G4String & GetUnit() const
G4MultiFunctionalDetector * detector
G4int GetCollectionID(G4int)
G4double GetUnitValue() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)