|
Recipe
to write KanGA
files
Release : 8.6.2d-physics-1
How
To Produce the RooFromBdbConverter Executable
How
To Run the RooFromBdbConverter Executable
How
To Produce the RooFromBdbConverter Executable
There is no need to recompile or link the RooFromBdbConverter executable.
How
To Run the RooFromBdbConverter Executable
Start from a 8.6.2d-physics-1 test release (in this example
on SunOS5) :
newrel -s <myScratchArea> -t 8.6.2d-physics-1
8.6.2d-physics-1
cd 8.6.2d-physics-1
srtpath 8.6.2d-physics-1 SunOS5
addpkg workdir
gmake workdir.setup
cd workdir
If you run on the data :
> analboot or analboot2
> unsetenv BetaMCAll
> unsetenv BetaMCMicro
If you are not sure of your environment, you can source
the RooModules/kangaSetenv.csh script : it will set
all the environment variables for converting Objy data into Kanga for you.
If you run on simulated data :
> sp2analboot or sp3analboot
If you are not sure of your environment, you can source
the RooModules/kangaSetenvSP.csh script : it will
set all the environment variables for converting Objy MC data into Kanga
for you.
Warning: If you are converting SP3 data which has
only the micro truth on disk (runs processed with releases 8.6.2c or later)
then you need to
unsetenv BetaMCAll
setenv BetaMCMicro yes
Copy the ../RooModules/RooFromBdbConverter.tcl
in your workdir. You can either edit the tcl file to talk to the
BdbInputModule
and the RooOutputModule, or you can define the input collection
as follows :
> setenv BdbInputCollection /groups/.../allevents
and the name of the KanGA file you are going to create
:
> setenv RooOutputFile $SOME_LOCATION/SomeName-micro.root
Warning : make sure this ROOT output file does not already
exist.
You are now ready to send the conversion job in batch
:
> bsub -q bfobjy -o logFile RooFromBdbConverter
RooFromBdbConverter.tcl
This page is maintained by Gautier Hamel de Monchenault
Last update : May. 08 2000, L. Wilden
|