Ravi Shekhar

Email: <ravi.shekhar AT SPAMFREE duke DOT edu>

2km Muon Detector Work


Temporarily leaving behind the last project, I am moving on to running the 18m Nuance format kin files through the 2km-geant4 simulation.

As a preliminary check, I have made plots of vertex and energy data from the kin files using a python script (part1 , part2) and plotting library. Please email me if you would like to see the script or need help setting it up.

Plots are for muons and muonic events only:

/2km/wiki/index.cgi/RaviShekhar?action=AttachFile&do=get&target=18m-kin-energy-08012005.png The peak looks to be in the right place.

/2km/wiki/index.cgi/RaviShekhar?action=AttachFile&do=get&target=18m-kin-vertexX-08012005.png A slight downward trend

/2km/wiki/index.cgi/RaviShekhar?action=AttachFile&do=get&target=18m-kin-vertexY-08012005.png A sharp downward trend

This is in accordance with what we would guess given the off center nature of the beam. This means we can proceed to the next step, which is actually running these kin files through the simulation and observing the results

2km Software and Fedora Core 4

As a background task while waiting for compilations, programs to run etc., I have been looking into getting the 2km software to run on Fedora Core 4 with it's updated gcc and fortran compilers. At this point it does not look good for any fortran 77 specific code. These are the issues.

So there are two options. First update any Fortran code that interoperates with C so it can be compiled with gcc4 and gfortran. Clearly not a trivial undertaking for programs like PAW and Cernlib.

Or jump through hoops as follows. This will require the gcc4 C code interface layer to be written, and some tricky work with the gfortran compiler. The condition on I/O between g77 and gfortran still applies.

   g77 -> gfortran -> gcc4 -> system libraries

Alternatively, this is possible, although it will probably more difficult than the other way because of gcc32 not being aware of gcc4 calling conventions. Similar I/O issues are expected.

   g77 -> gcc32 -> system libraries

On the postive side, ROOT compiles flawlessly with GCC 4.0. Geant4 and CLHEP should compile with a little bit of work on the makefile and Imakefile, because some options accepted by GCC 3 are no longer accepted or necessary with GCC 4.0.

A transcript from a cern meeting that is relevant is here Simulation Leaders Project Meeting


CategoryHomepage

RaviShekhar (last edited 2005-08-17 18:08:44 by RaviShekhar)