[Gate-users] Gate Root Output

Yuri Jaeger Monti yurijm at gmail.com
Mon Jun 4 19:06:22 CEST 2012


Hello friends,

I'm trying to get Gate 6.1 to generate output for Root, but I'm having
some problems (and looks like other users as well) with the digi
collection modules.

I'm asking you guys in hope that you could at least give me a hint on
what this problem could be, because I'm stuck at this and don't know
what to do anymore. :)

When running my simulation with verbose 2 set in root, Gate would tell
me that it could not find some "digi collections" and generates an
empty root file output. The errors are like this:

[GateToRoot::SingleOutputChannel::RecordDigitizer]: digi collection
'Singles' not found
[GateToRoot::CoincidenceOutputChannel::RecordDigitizer]: digi
collection 'Coincidences' not found
[GateToRoot::SingleOutputChannel::RecordDigitizer]: digi collection
'SinglesAdder' not found
[GateToRoot::SingleOutputChannel::RecordDigitizer]: digi collection
'SinglesReadout' not found
[GateToRoot::SingleOutputChannel::RecordDigitizer]: digi collection
'SinglesBlurring' not found
[GateToRoot::SingleOutputChannel::RecordDigitizer]: digi collection
'SinglesThresholder' not found
[GateToRoot::SingleOutputChannel::RecordDigitizer]: digi collection
'SinglesUpholder' not found
[GateToRoot::SingleOutputChannel::RecordDigitizer]: digi collection
'Singles' not found

Someone also got this same error and sent it to the mailing list last
year, but no answer was given, I contacted him and he told me he had
to downgrade to Gate version 5 to get it to work.

Below is his original thread with more detailed description about the problem:

"
From: Pieter Mollet <pieter.mollet at ...>
Subject: gate2root in Gate 6.1
Newsgroups: gmane.comp.science.opengate.user
Date: 2011-08-26 13:27:53 GMT (38 weeks, 6 days, 5 hours and 51 minutes ago)

Hi,

I'm running PET simulations in Gate 6.1. My digitizer and output
commands are shown below. Although the commands are right, there seems
to be a problem with the gate2root module and the root-files are empty.

Error :

 [GateToRoot::SingleOutputChannel::RecordDigitizer]: digi collection
'Singles' not found
[GateToRoot::CoincidenceOutputChannel::RecordDigitizer]: digi collection
'Coincidences' not found
[GateToRoot::SingleOutputChannel::RecordDigitizer]: digi collection
'SinglesAdder' not found
[GateToRoot::SingleOutputChannel::RecordDigitizer]: digi collection
'SinglesReadout' not found
[GateToRoot::SingleOutputChannel::RecordDigitizer]: digi collection
'SinglesBlurring' not found
[GateToRoot::SingleOutputChannel::RecordDigitizer]: digi collection
'SinglesThresholder' not found
[GateToRoot::SingleOutputChannel::RecordDigitizer]: digi collection
'SinglesUpholder' not found
[GateToRoot::SingleOutputChannel::RecordDigitizer]: digi collection
'Singles' not found

Commands :

#	D I G I T I Z E R
/gate/digitizer/Singles/insert adder
/gate/digitizer/Singles/insert readout
/gate/digitizer/Singles/readout/setDepth 1
/gate/digitizer/Singles/insert blurring
/gate/digitizer/Singles/blurring/setResolution 0.115
/gate/digitizer/Singles/blurring/setEnergyOfReference 511. keV
/gate/digitizer/Singles/insert thresholder
/gate/digitizer/Singles/thresholder/setThreshold 440. keV
/gate/digitizer/Singles/insert upholder
/gate/digitizer/Singles/upholder/setUphold 665. keV

#	C O I N C I    S O R T E R
/gate/digitizer/Coincidences/setWindow 3.8 ns
/gate/digitizer/Coincidences/minSectorDifference 7
/gate/digitizer/Coincidences/MultiplesPolicy  takeWinnerOfGoods

####################################################
#     ROOT OUTPUT                                  #
####################################################
/gate/output/root/enable
/gate/output/root/setFileName GEMINI_NEMA
/gate/output/root/setRootHitFlag 0
/gate/output/root/setRootSinglesFlag 0
/gate/output/root/setRootCoincidencesFlag 1
/gate/output/root/setRootNtupleFlag 0
/gate/output/root/verbose 2

"

If you could share some information of what this could be, it would be awesome!

Thank you all for the attention!

Best regards,
---
Yuri Jaeger Monti
PUCRS University
Porto Alegre - RS - Brazil


More information about the Gate-users mailing list