[Gate-users] ascii and binary outputs
Marc Chamberland
MarcChamberland at cmail.carleton.ca
Thu Jun 27 19:56:08 CEST 2013
One more thing relating to the ascii/binary output:
Here are a few lines from the file GateOuputMgr.cc:
#ifdef G4ANALYSIS_USE_FILE
GateToASCII* gateToASCII = new GateToASCII("ascii", this, m_digiMode);
AddOutputModule((GateVOutputModule*)gateToASCII);
// For BINARY output
GateVOutputModule* gateToBinary = new GateToBinary( "binary", this,
m_digiMode );
AddOutputModule( gateToBinary );
#endif
As you see, the fix I mentioned for the ascii ouput will also activate the binary output.
Hope this helps!
Marc
__________________________
Marc Chamberland, MSc
PhD candidate
Department of Physics
Carleton University
Ottawa (ON)
On 2013-06-27, at 1:43 PM, Marc Chamberland <MarcChamberland at cmail.carleton.ca>
wrote:
> Hi Sébastien,
>
> For the ascii output, I answered this question somewhere on the mailing list (twice now), but the subject of the message was not very descriptive (so it's probably hard to find). Here's how to add the ascii output back:
>
> In the GateConfiguration.h.in file found within the home folder of Gate, change this line:
>
> #cmakedefine GATE_USE_FILE @GATE_USE_FILE@
>
> to this:
>
> #cmakedefine GATE_ANALYSIS_USE_FILE @GATE_ANALYSIS_USE_FILE@
>
> Recompile Gate and it should now work. I assume this is simpy a bug... unless the ascii output was disabled for a reason.
>
>
> I'm not sure if this will also activate the binary output, but in any case, it should not be too difficult to find out how to turn it on.
>
> Marc
>
>
>
> __________________________
>
> Marc Chamberland, MSc
> PhD candidate
> Department of Physics
> Carleton University
> Ottawa (ON)
>
> On 2013-06-27, at 1:37 PM, Sébastien Laberge <sebastien.laberge at polymtl.ca>
> wrote:
>
>> Hi,
>>
>> I know the use of ascii and binary outputs in Gate is not recommended, but I would have liked to try them while getting familiar with Gate, before starting to study ROOT in depth.
>>
>> Sadly, I don't see the directories /gate/output/ascii and /gate/output/binary that are mentioned in the User Guide wiki. I see however /gate/output/root and a few others
>>
>> I would have thought that the ascii and binary output modules were installed by default at the compilation. Were they disabled by developers for lack of use or is there something I did wrong in the compilation?
>>
>> Thanks
>> _______________________________________________
>> Gate-users mailing list
>> Gate-users at lists.opengatecollaboration.org
>> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
More information about the Gate-users
mailing list