![]() |
Webmaster Daniele Barbareschi optimized to 1280 x 800 resolution |
|||||||||||||||||||||||||||||||
|
External packages
IlcRoot framework needs the following external packages:
You need to create a dummy library for Pythia6 type the following commands: cat > /tmp/p.c <<EOF Or you can get it clicking here
You can get Root from cvs repository at CERN type the following commands:
From the same cvs repository at CERN, you can get Geant3 source code type the following commands: cvs -z3 co -r v1-6 geant3 you can get CLHEP source code from CERN site, clicking here you can follow the installation instruction from CERN official site.
STDHEP source code is available clicking here type
the following commands: export STDHEP_DIR=Stdhep directory You can get IlcRoot source code from CVS at FNAL (see download section)
export environment variables for packages as
described previously export LIBDIR=$SWDIR/lib NOTE: Don't forget to modify the environment variables
with your path values. cd $ILC_ROOT Fluka 2006.3 source code from official site type the following commands: export FLUPRO=Fluka directory NOTE: Compilation is not needed.
you can get Geant4 source code from official site, clicking here you can follow the installation instruction from G4 official site.
you can get vgm source code from CERN site, clicking here type the following commands: export VGM_INSTALL=path to the VGM installation
you can get GEANT4 VMC source code from CERN site, clicking here you can follow the installation instruction from CERN official site.
you can get G4NDL source code from official site, clicking here you can follow the installation instruction from G4 official site.
you can get PhotonEvaporation source code from official site, clicking here you can follow the installation instruction from G4 official site.
Geometry files IlcRoot's geometry is defined via root file extension. Each geometry file contain information about shape parameters, material parameter and medium parameters. The correct geometry file must be selected according with subdetectors selection in configuration step (see configuration chapther for more details).Geometry files are available at FNAL's CVS. (see download section)
Preparation First of all, I recommend you the following steps: export environment variables, in same way for installation: source env.sh
Configuration You can set among several options, by changing the configuration file (Config.C). The main options to set are for: Events generator you can set option number 2) in the Config.C to select the MC. //2) Select your MC NOTE. kGEANT3 is obsolete. kGEANT4 is under development
and still has some flow. FLUKA is preferred for calorimetry. you can set option number 1) in the Config.C to select events generator. // 1) Select your generator NOTE.to use kExtFileTxt, you need to have a well-formatted
txt file. Of course, to use kExtFileStdhep you need to have a stdhep
file. You can set option number 4) in Config.C to select magnetic field. //4) Select the magnetic field NOTE. select just kMagFILC or kMagFC, the other
magnetic fields are obsoletes. Very soon you will be able to select the format of geometry file for Vertex Detector (gdml,root), but, at present, it's possible only to import the geometry from a root file (based on gdml file generated by SiD concept). You can select it via option number 7) in Config.C //7) Select detector geometry Number of events per file and compression level You can set the number of events per file and compression level of files at option number 8) and option number 9) in Config.C //8) Select the number of events per a root file //9) Select the the compression level you set the debug level for printouts via option number 10) in Config.C //10) Select the debug level You need to select one geometry root file according to the detectors you want to simulate //******Please, select the geometry root file
according to the detectors you want to simulate****** //DREAM-MUD-TPC-VXD //gIlc->SetGeometryFileName("$ILC_ROOT/GeometryFiles/DREAM_MUD_TPC_VXD.root"); //DREAM-TPC-VXD //TPC-VXD //VXD You can select the following detector flags according to detectors you want simulate and according to geometry files you have selected in previous step. Int_t iVXD = 1; NOTE. Don't switch on others detectors flags for the moment. Those are not necessary.
General use To run the IlcRoot program type IlcRoot in shell prompt to run a simulation you can execute ILC-VXD_TPC_MUD_DREAM.C macro. root [0] .x ILC-VXD_TPC_DREAM.C If you have changed the Config.C file from the standard one, you need to modify some options in the macro accordingly.You will have as output a list of root files. You can manage them by using the root framework. Enjoy!!!
|