49 EvtMap(0),weighted(true)
63 EvtMap->
add(index,fCurrent);
77 if ( IsEnter &&IsExit ){
80 fCurrentTrkID = trkid;
82 if ( fCurrentTrkID == trkid ) {
86 if ( fCurrentTrkID == trkid ){
119 std::map<G4int,G4double*>::iterator itr = EvtMap->
GetMap()->begin();
120 for(; itr != EvtMap->
GetMap()->end(); itr++) {
121 G4cout <<
" copy no.: " << itr->first
122 <<
" cell current : " << *(itr->second)
G4double GetWeight() const
G4StepStatus GetStepStatus() const
virtual void SetUnit(const G4String &unit)
virtual G4bool ProcessHits(G4Step *, G4TouchableHistory *)
virtual G4bool IsPassed(G4Step *)
G4StepPoint * GetPreStepPoint() const
G4PSPassageCellCurrent(G4String name, G4int depth=0)
G4GLOB_DLL std::ostream G4cout
virtual void Initialize(G4HCofThisEvent *)
virtual G4int GetIndex(G4Step *)
virtual ~G4PSPassageCellCurrent()
G4int GetCollectionID(G4int)
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4int add(const G4int &key, T *&aHit) const
G4StepPoint * GetPostStepPoint() const
std::map< G4int, T * > * GetMap() const
G4MultiFunctionalDetector * detector
virtual void EndOfEvent(G4HCofThisEvent *)
const G4String & GetUnit() const
G4Track * GetTrack() const