52 EvtMap(0),weighted(true)
67 EvtMap->
add(index,fCurrent);
75 "G4TScoreHistFiller is not instantiated!! Histogram is not filled.");
96 if ( IsEnter &&IsExit ){
99 fCurrentTrkID = trkid;
101 if ( fCurrentTrkID == trkid ) {
105 if ( fCurrentTrkID == trkid ){
138 std::map<G4int,G4double*>::iterator itr = EvtMap->
GetMap()->begin();
139 for(; itr != EvtMap->
GetMap()->end(); itr++) {
140 G4cout <<
" copy no.: " << itr->first
141 <<
" cell current : " << *(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 IsPassed(G4Step *)
G4PSPassageCellCurrent(G4String name, G4int depth=0)
virtual G4bool ProcessHits(G4Step *, G4TouchableHistory *)
virtual ~G4PSPassageCellCurrent()
virtual void EndOfEvent(G4HCofThisEvent *)
virtual void Initialize(G4HCofThisEvent *)
G4StepStatus GetStepStatus() const
G4double GetKineticEnergy() const
G4double GetWeight() const
G4Track * GetTrack() 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