Hello everyone,
I have a setup where the Target Cave region is defined differently (different corners of the cyclotron vault) depending
on which target is used. I make use of pre-processors for this and it works with the execution of the runs; however,
when viewing/editing the geometry or making usrbin plots overlaid with a given geometry plot, the pre-processor
statements are not interpreted. The statements under the #if are used by default.
So I basically have to enable/disable one definition of the box (see below) to be able to see the appropriate region
defined in the geometry editor/plots.
Is there a way for the geometry editor to be able to interpret the pre-processor statements?
Thank you and best wishes,
Mina
p.s. I have had the same issue when defining transformations (rotations + translations) using preprocessors.
#if Mo
* Target Cave Box for Mo-100 tgt
!@what.1= -350 -10*25
!@what.3= -25*4
!@what.4= 350 + 10*25
!@what.5= -625 - 10*25
RPP bTgtCave -600. 100. -100. 600. -875. -200.
#elif O18
* Target Cave Box for O-18 tgt
!@what.2= 350 +10*25
!@what.3= -25*4
!@what.4= 350 + 10*25
!@what.5= -625 - 10*25
RPP bTgtCave -100. 600. -100. 600. -875. -200.
#endif
Received on Thu Nov 01 2012 - 16:23:41 CET
This archive was generated by hypermail 2.2.0 : Thu Nov 01 2012 - 16:23:55 CET