63 if( aStep->GetPreStepPoint()->GetStepStatus() == fGeomBoundary
64 || ( aStep->GetTrack()->GetParentID() == 0 &&
65 aStep->GetTrack()->GetCurrentStepNumber() == 1 ) ){
66 G4double CellCharge = aStep->GetPreStepPoint()->GetCharge();
67 CellCharge *= aStep->GetPreStepPoint()->GetWeight();
73 if( aStep->GetPostStepPoint()->GetStepStatus() == fGeomBoundary){
74 G4double CellCharge = aStep->GetPreStepPoint()->GetCharge();
75 CellCharge *= aStep->GetPreStepPoint()->GetWeight();
107 std::map<G4int,G4double*>::iterator itr =
EvtMap->
GetMap()->begin();
109 G4cout <<
" copy no.: " << itr->first
G4double GetUnitValue() const
std::map< G4int, T * > * GetMap() const
G4int add(const G4int &key, T *&aHit) const
virtual G4bool ProcessHits(G4Step *, G4TouchableHistory *)
void CheckAndSetUnit(const G4String &unit, const G4String &category)
virtual void EndOfEvent(G4HCofThisEvent *)
G4GLOB_DLL std::ostream G4cout
virtual G4int GetIndex(G4Step *)
G4int GetCollectionID(G4int)
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
G4PSCellCharge(G4String name, G4int depth=0)
virtual ~G4PSCellCharge()
G4MultiFunctionalDetector * detector
virtual void SetUnit(const G4String &unit)
G4THitsMap< G4double > * EvtMap
virtual void Initialize(G4HCofThisEvent *)
const G4String & GetUnit() const