56 energyTotal[
"logicalHead"]=0.;
57 energyTotal[
"logicalTrunk"]=0.;
58 energyTotal[
"logicalLeftLeg"]=0.;
59 energyTotal[
"logicalRightLeg"]=0.;
60 energyTotal[
"logicalBrain"]=0.;
61 energyTotal[
"logicalLeftArmBone"]=0.;
62 energyTotal[
"logicalRightArmBone"]=0.;
63 energyTotal[
"logicalSkull"]=0.;
64 energyTotal[
"logicalUpperSpine"]=0.;
65 energyTotal[
"logicalMiddleLowerSpine"]=0.;
66 energyTotal[
"logicalPelvis"]=0.;
67 energyTotal[
"logicalStomach"]=0.;
68 energyTotal[
"logicalUpperLargeIntestine"]=0.;
69 energyTotal[
"logicalLowerLargeIntestine"]=0.;
70 energyTotal[
"logicalRibCage"]=0.;
71 energyTotal[
"logicalSpleen"]=0.;
72 energyTotal[
"logicalPancreas"]=0.;
73 energyTotal[
"logicalLeftKidney"]=0.;
74 energyTotal[
"logicalRightKidney"]=0.;
75 energyTotal[
"logicalUrinaryBladder"]=0.;
76 energyTotal[
"logicalUterus"]=0.;
77 energyTotal[
"logicalLeftLung"]=0.;
78 energyTotal[
"logicalRightLung"]=0.;
79 energyTotal[
"logicalLeftOvary"]=0.;
80 energyTotal[
"logicalRightOvary"]=0.;
81 energyTotal[
"logicalLeftLegBone"]=0.;
82 energyTotal[
"logicalRightLegBone"]=0.;
83 energyTotal[
"logicalLeftBreast"]=0.;
84 energyTotal[
"logicalRightBreast"]=0.;
85 energyTotal[
"logicalLeftScapula"]=0.;
86 energyTotal[
"logicalRightScapula"]=0.;
87 energyTotal[
"logicalLeftAdrenal"]=0.;
88 energyTotal[
"logicalRightAdrenal"]=0.;
91 if (hitCollectionID==-1) {
111 for (
G4int i=0;i<hitNumber;i++)
113 edep = (*HC)[i]->GetEdep();
114 bodyPart = (*HC)[i]->GetBodyPartID();
115 Fill(bodyPart, edep);
120 totalEventEnergyDeposit();
123 void G4HumanPhantomEventAction:: Fill(
G4String bName,
127 energyTotal[bName] += energyDeposit;
130 void G4HumanPhantomEventAction::totalEventEnergyDeposit()
136 std::map<std::string,G4double>::iterator i = energyTotal.begin();
137 std::map<std::string,G4double>::iterator end = energyTotal.end();
147 pointerRun->
Fill(bodypart, energyDep);