44 EvtMap(0),weighted(false)
80 EvtMap->
add(index,val);
88 "G4TScoreHistFiller is not instantiated!! Histogram is not filled.");
124 std::map<G4int,G4double*>::iterator itr = EvtMap->
GetMap()->begin();
125 for(; itr != EvtMap->
GetMap()->end(); itr++) {
126 G4cout <<
" copy no.: " << itr->first
127 <<
" track count: " << *(itr->second)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4GLOB_DLL std::ostream G4cout
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
virtual void SetUnit(const G4String &unit)
virtual G4bool ProcessHits(G4Step *, G4TouchableHistory *)
virtual void EndOfEvent(G4HCofThisEvent *)
G4PSTrackCounter(G4String name, G4int direction, G4int depth=0)
virtual ~G4PSTrackCounter()
virtual void Initialize(G4HCofThisEvent *)
G4StepStatus GetStepStatus() const
G4double GetKineticEnergy() const
G4double GetWeight() const
G4StepPoint * GetPreStepPoint() const
G4StepPoint * GetPostStepPoint() const
std::map< G4int, G4int > hitIDMap
virtual G4int GetIndex(G4Step *)
const G4String & GetUnit() const
G4MultiFunctionalDetector * detector
G4int GetCollectionID(G4int)
static G4VScoreHistFiller * Instance()
size_t add(const G4int &key, U *&aHit) const