[gate-users] different energy thresholds for ECAT blocks
Qianmei Zhang
qzhang at triumf.ca
Mon May 16 22:04:32 CEST 2005
Hello Gate Users,
Is it possible to set different energy thresholds for different blocks
in PET scanner? Suppose that i have a Ecat 953 system ( 2 block rings
and each ring has 48 blocks). I want set 0.1 MeV as the energy
threshold for block 0 to 47 and 0.38 MeV as the energy threshold for
Block 48 to 95.
I opened the source code ---GateThresholder.cc and there is a line
if ( inputPulse->GetEnergy() >= m_threshold)
......
I changed the line to
if ( inputPulse->GetEnergy() >= m_threshold && inputPulse->GetblockID()
>=48 ||
inputPulse->GetEnergy() >= 0.1 && inputPulse->GetblockID() <=47)
......
(m_threshold is 0.38 MeV in the Gate input file)
When i recompile gate, it said that ----no matching function for call to
`GatePulse::
GetBlockID() const'
Can someone tell me what the variable name of blockID is in the
GateThresholder.cc or is there any other way to handle this question.
Thanks.
Qianmei
More information about the Gate-users
mailing list