Dear Developers,
I am currently using three IBL pixel sensors to determine the entry coordinates of protons into a passive material. After the passive material follows another three sensors to determine the exit coordinates and the exit angle.
Now I try to get the proton energy after or before every sensor. The search in the source code resulted only in this functions in the MCTrack.cpp file.
double MCTrack::getKineticEnergyInitial() const {
return initial_kin_E_;
}
double MCTrack::getTotalEnergyInitial() const {
return initial_tot_E_;
}
double MCTrack::getKineticEnergyFinal() const {
return final_kin_E_;
}
double MCTrack::getTotalEnergyFinal() const {
return final_tot_E_;
}
Maybe I’m blind, but I can’t find any function that gives me back the current energy of all passing particles at every sensor.
Is such a function implemented or planned? Or is it possible to maintain the current particle energy in another way?
I highly appreciate any help! Thanks a lot!