38 #include "G4HCofThisEvent.hh"
47 fRunAction(runAction),
72 if (fCollID_cryst < 0) {
86 std::map<G4int,G4double*>::iterator itr;
87 for (itr = evtMap->
GetMap()->begin(); itr != evtMap->
GetMap()->end(); itr++) {
90 if (edep > eThreshold) nbOfFired++;
101 for (itr = evtMap->
GetMap()->begin(); itr != evtMap->
GetMap()->end(); itr++) {
103 dose = *(itr->second);
105 if (dose > 0.) fRunAction->
SumDose(dose);
G4VHitsCollection * GetHC(G4int i)
G4int GetCollectionID(G4String colName)
Definition of the B3aRunAction class.
Definition of the B3aEventAction class.
void SumDose(G4double dose)
virtual void EndOfEventAction(const G4Event *)
virtual ~B3aEventAction()
static G4SDManager * GetSDMpointer()
B3aEventAction(B3aRunAction *runAction)
std::map< G4int, T * > * GetMap() const
virtual void BeginOfEventAction(const G4Event *)
G4HCofThisEvent * GetHCofThisEvent() const
static constexpr double keV