-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Energy window threshold for root #356
Comments
Good spot. I prefer to rescale the energies when reading from ROOT. That way, STIR remains in keV
Kris
…________________________________
From: ludovicabrusaferri <[email protected]>
Sent: Monday, August 5, 2019 4:45:32 PM
To: UCL/STIR <[email protected]>
Cc: Subscribed <[email protected]>
Subject: [UCL/STIR] Energy window threshold for root (#356)
In "InputStreamFromROOTFIle.cxx":
this->parser.add_key("low energy window (keV)", &this->low_energy_window);
this->parser.add_key("upper energy window (keV)", &this->up_energy_window);
The the energy thresholds are given in keV. However, gate energies are stored in MeV. Either rescaling the energy or the energy window threshold need to be rescaled.
Currently this doesn't create any problem as the threshold values are set respectively to 0 and 1000.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#356?email_source=notifications&email_token=ABQRIHLN33CIXU53AKUMV6DQDBDJZA5CNFSM4IJMRNL2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HDNNDKA>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ABQRIHLTSCUTHYAFFQLKBCTQDBDJZANCNFSM4IJMRNLQ>.
|
This can be closed as it was fixed with #736 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In "InputStreamFromROOTFIle.cxx":
this->parser.add_key("low energy window (keV)", &this->low_energy_window);
this->parser.add_key("upper energy window (keV)", &this->up_energy_window);
The the energy thresholds are given in keV. However, gate energies are stored in MeV. Either the energy or the energy window threshold need to be rescaled.
Currently this doesn't create any problem as the threshold values are set respectively to 0 and 1000.
The text was updated successfully, but these errors were encountered: