37 #include "G4HCofThisEvent.hh"
61 if ( fCollID_cryst < 0 ) {
67 if ( fCollID_patient < 0 ) {
73 G4int evtNb =
event->GetEventID();
75 if (evtNb%fPrintModulo == 0) {
92 std::map<G4int,G4double*>::iterator itr;
93 for (itr = evtMap->
GetMap()->begin(); itr != evtMap->
GetMap()->end(); itr++) {
95 if (edep > eThreshold) nbOfFired++;
99 if (nbOfFired == 2) fGoodEvents++;
107 for (itr = evtMap->
GetMap()->begin(); itr != evtMap->
GetMap()->end(); itr++) {
109 dose = *(itr->second);
120 const B3bRun* localRun =
static_cast<const B3bRun*
>(aRun);
121 fGoodEvents += localRun->fGoodEvents;
122 fSumDose += localRun->fSumDose;
virtual void Merge(const G4Run *)
G4VHitsCollection * GetHC(G4int i)
G4int GetCollectionID(G4String colName)
G4GLOB_DLL std::ostream G4cout
Definition of the B3bRun class.
virtual void Merge(const G4Run *)
static G4SDManager * GetSDMpointer()
virtual void RecordEvent(const G4Event *)
std::map< G4int, T * > * GetMap() const
virtual void RecordEvent(const G4Event *)
static constexpr double keV