[Gate-users] Problem of "Magic" line to avoid problem with ROOT plugin!
sebnem erturk
sebnem.erturk at gmail.com
Fri Mar 19 15:12:25 CET 2010
Hi Sebastian,
We are trying to compile Gate_v4.0 with ROOT5.26 on debian 64 bit machine.
We have to use root5.26 because the other root versions are not compiling
properly.
Sometime ago, we tried to modify Gate.cc file under gate_v4, because we had
a problem TStreamerInfo, by adding the following lines
178 // "Magic" line to avoid problem with ROOT plugin. It is useful when
179 // compiling Gate on a given system and executing it remotely on
180 // another (grid or cluster). See
181 // http://root.cern.ch/root/roottalk/roottalk08/0690.html
182 // DS.
183 gROOT->GetPluginManager()->
AddHandler("TVirtualStreamerInfo", "*",
184 "TStreamerInfo", "RIO",
"TStreamerInfo()");
185
However the modification issues gives below error messages, the modified
Gate.cc file of Gate4.0 by us is also in attached.
Could you please give us guidance, how should add those lines above to
Gate.cc file under Gate4.0?
Compiling Gate.cc ...
Gate.cc: In function 'int main(int, char**)':
Gate.cc:173: error: invalid use of incomplete type 'struct TPluginManager'
/home/gate/root5.26/include/TROOT.h:48: error: forward declaration of
'struct TPluginManager'
/home/gate/2.0.3.2/CLHEP/include/CLHEP/Units/PhysicalConstants.h: At global
scope:
/home/gate/2.0.3.2/CLHEP/include/CLHEP/Units/PhysicalConstants.h:78:
warning: 'CLHEP::electron_charge' defined but not used
/home/gate/2.0.3.2/CLHEP/include/CLHEP/Random/Randomize.h:67: warning:
'CLHEP::HepRandomGenActive' defined but not used
make: *** [tmp/Linux-g++/Gate/exe/Gate.o] Error 1
regards,
sebnem
On Fri, Mar 19, 2010 at 6:34 AM, JAN Sebastien <sebastien.jan at cea.fr> wrote:
>
> Hi,
>
> It's not possible to do that with a ray tracing approach.
> But you can use the ARF (analytic response function) to speed up your
> collimator tracking. See the users guide for details.
> Cheers
> Seb
>
> ________________________________
>
> De: gate-users-bounces at lists.opengatecollaboration.org de la part de
> sebnem erturk
> Date: jeu. 18/03/2010 21:45
> À: gate-users at lists.opengatecollaboration.org
> Objet : [Gate-users] simulation of penetration and scatter inside
> thecollimator septa
>
>
>
> Hi All,
>
> By using GATE_v6 , can we model both penetration and scatter inside the
> collimator septa like conventional ray tracing simulators??
>
> As far as I know ,we cannot model penetration inside collimator septa with
> Gate_v4., maybe I am wrong?
>
> Thanks for any kind of information?
>
> Regards,
>
> --
> Sebnem
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
>
>
--
Sebnem Erturk
University of Pisa
Applied Physics Dpt.
Largo Pontecorvo
56127 Pisa-Italy
Office :0039 050 2214346
Mobile :0039 345 3331440
http://www.df.unipi.it/~fiig/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Gate.cc
Type: text/x-c++src
Size: 9882 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20100319/31a49928/attachment.cc>
More information about the Gate-users
mailing list