35 #include "G4HCofThisEvent.hh"
115 if(name ==
"proton" || name ==
"deuteron")
119 vectorPosition.
getX()<targetHalfDiameter &&
120 vectorPosition.
getX()>-targetHalfDiameter &&
121 vectorPosition.
getY()<targetHalfDiameter &&
122 vectorPosition.
getY()>-targetHalfDiameter)
124 analysisManager->FillH2(0,vectorPosition.
getX(),vectorPosition.
getY());
125 analysisManager->FillH1(0,energy);
150 analysisManager->FillH2(3,vectorPosition.
getZ(),
energy);
159 if((name !=
"proton") && (name !=
"e-") && (name !=
"deuteron"))
169 if (name!=
"deuteron")
176 analysisManager->FillH2(2,Z,A);
185 std::map<G4int,G4String> parentID = fRun->
GetIsotopeID();
199 if (name!=
"deuteron")
217 std::map<G4int,G4String>::iterator itbis;
218 std::map<G4int,G4String> parentID = fRun->
GetIsotopeID();
227 if((partType!=
"nucleus")&&(name!=
"proton")&&(name!=
"deuteron"))
236 analysisManager->FillH1(5,energy);
239 analysisManager->FillH1(6,energy);
242 analysisManager->FillH1(7,energy);
245 analysisManager->FillH1(8,energy);
252 analysisManager->FillH1(9,energy);
255 analysisManager->FillH1(10,energy);
258 analysisManager->FillH1(11,energy);
261 analysisManager->FillH1(12,energy);
264 analysisManager->FillH1(13,energy);
266 if(name==
"anti_nu_e"){
267 analysisManager->FillH1(14,energy);