44 EvtMap(0),weighted(false)
80 EvtMap->
add(index,val);
109 std::map<G4int,G4double*>::iterator itr = EvtMap->
GetMap()->begin();
110 for(; itr != EvtMap->
GetMap()->end(); itr++) {
111 G4cout <<
" copy no.: " << itr->first
112 <<
" track count: " << *(itr->second)
virtual void SetUnit(const G4String &unit)
G4double GetWeight() const
G4StepStatus GetStepStatus() const
virtual ~G4PSTrackCounter()
G4StepPoint * GetPreStepPoint() const
virtual void EndOfEvent(G4HCofThisEvent *)
G4GLOB_DLL std::ostream G4cout
virtual G4int GetIndex(G4Step *)
virtual G4bool ProcessHits(G4Step *, G4TouchableHistory *)
G4int GetCollectionID(G4int)
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4PSTrackCounter(G4String name, G4int direction, G4int depth=0)
G4int add(const G4int &key, T *&aHit) const
G4StepPoint * GetPostStepPoint() const
std::map< G4int, T * > * GetMap() const
G4MultiFunctionalDetector * detector
const G4String & GetUnit() const
virtual void Initialize(G4HCofThisEvent *)