MC Production

Used software:
  • mokka v07-02
  • geant4-09-03

Settings:

physicsLists = ['QGSP_BERT', 'LHEP']
eventsPerRun = 5000
nrOfRuns = 10
particleID = pi+
detectorModel = TBCern0707_p0709

energy[331324] = 80

Mokka (undigitized) data

Steering files & logs

The logs and steering files are located on the grid:
  • /grid/calice/tb-MCProduction/calice_v02-00/ilcsoft_v01-07/geant4-09-03/mokka-07-02/data_cern/mokka/pi+/QGSP_BERT/marina_100210_pi+/logs.tar.gz
  • /grid/calice/tb-MCProduction/calice_v02-00/ilcsoft_v01-07/geant4-09-03/mokka-07-02/data_cern/mokka/pi+/QGSP_BERT/marina_100210_pi+/steer.tar.gz

Example Mokka steering file:

#################################################
# 
# template Mokka steering 
#  - adapted from example by Lars Weuste
#
#################################################

/Mokka/init/globalModelParameter g10MaterialName g10_2.64gccm
/Mokka/init/printLevel 0


# Enables Batch mode (no console, just execute and exit)
/Mokka/init/BatchMode true

# Name of LCIO output file - this implies LCIO output !!
# LW - this file should be set accordingly
/Mokka/init/lcioFilename out.slcio

#  Specify the name of the physics list to be used for simulation
#  Available are all default physics lists provided with geant4, e.g. LHEP,QGSP,...
#  [default is 'PhysicsList']
# LW - this should be set accordingly - QGSP_BERT
/Mokka/init/physicsListName QGSP_BERT

/Mokka/init/dataRunNumber 331324
/Mokka/init/randomSeed 372911

# According to shlu the ecal has to be translated. These values
# come frome some measurements
# this is for CERN 08/2006
#/Mokka/init/globalModelParameter EcalTranslateX  -27 mm
#/Mokka/init/globalModelParameter EcalTranslateY  -39.5 mm
#this is for CERN 10/2006
#/Mokka/init/globalModelParameter EcalTranslateX  -27.5 mm
#/Mokka/init/globalModelParameter EcalTranslateY  -41.1 mm

/Mokka/init/globalModelParameter EcalTranslateX  -3.050000 mm
/Mokka/init/globalModelParameter EcalTranslateY  0.720000 mm
/Mokka/init/globalModelParameter HcalTranslateX  -32.280000 mm
/Mokka/init/globalModelParameter HcalTranslateY  -6.060000 mm

# The detector model to be used as defined in the models  database
/Mokka/init/detectorModel TBCern0707_p0709


# The host machine where the MySQL server is running
#/Mokka/init/dbHost pollin1.in2p3.fr
#/Mokka/init/dbHost polui01.in2p3.fr
#/Mokka/init/dbHost flc23.desy.de
#/Mokka/init/dbHost h1x336-04.mpp.mpg.de
#/Mokka/init/dbHost localhost:__localDB__/mysql.sock

# The user name on the MySQL server
/Mokka/init/user consult
# The password for the MySQL user
/Mokka/init/dbPasswd consult

# Name of the initial macro file to be executed after startup
/Mokka/init/initialMacroFile mokka.macro

# Write mode of LCIO output file: WRITE_APPEND or WRITE_NEW
# if not specified the program will exit if the file already exists (safe mode)
/Mokka/init/lcioWriteMode WRITE_NEW

# If true, LCIO file will contain detailed MC contribution from secondaries 
# in calorimeter showers, i.e. energy, PDG and time of the secondary contributing
# to the hit
# LW - we don't need those, we want "real" data
/Mokka/init/lcioDetailedShowerMode false
#/Mokka/init/lcioDetailedShowerMode true

# specifies BRAHMS backward facility (generates Geant3 Fortran code). 
/Mokka/init/dumpG3 false

# specifies whether to save primary trajectories. [default is true]
# only if /Mokka/init/outDirName is set ( ASCII mode)
/Mokka/init/savingTrajectories false

# specifies whether to save primaries. [default is true]
# only if /Mokka/init/outDirName is set ( ASCII mode)
/Mokka/init/savingPrimaries false

# specifies whether to start in visualization mode.
# only if /Mokka/init/outDirName is set to an existing  output directory ( ASCII mode)
/Mokka/init/visumode false

# specifies a magnetic field factor (0 to 1).
/Mokka/init/BFactor 1.0

#  specifies the production Geant4 range cut
#  [default is 0.005 mm ]
/Mokka/init/rangeCut 0.05 mm

#  specifies the TPC primary energy cut
#  [default is 10 MeV ]
/Mokka/init/TPCCut 10 MeV


# If true, LCIO file will contain the coordinates of the calorimeter cell
# that was hitted.
/Mokka/init/lcioStoreCalHitPosition true

# If true, a tracker layer made of air will be added in front of the Ecal
# prototype that will allow us to save the momentum of the particle at
# the entrance of the Ecal.
/Mokka/init/globalModelParameter use_tracker true

# This will allow to effectively save the momentum in the tracker layer
# in front of the Ecal prototype.
#/Mokka/init/lcioStoreTRKHitMomentum proto

# added on a request from Philippe Doublet
#/Mokka/init/lcioWriteCompleteHepEvt true

Example of particleGun

/run/verbose 0
/event/verbose 0
/tracking/verbose 0
/control/verbose 0
/geometry/navigator/verbose 0

/generator/generator particleGun
/run/particle/setCut 0.050 mm

/gun/particle pi+
/gun/momentum 80.000000 GeV
/gun/momentumSmearing 0.066 GeV
/gun/direction 0 0 1
/gun/position  -6.080000 4.450000 -3000.000000 mm
/gun/positionSmearing 7.180000 4.470000 0. mm
/gun/info

/run/beamOn 5000
exit

File location:

/grid/calice/tb-MCProduction/calice_v02-00/ilcsoft_v01-07/geant4-09-03/mokka-07-02/data_cern/mokka/pi+/QGSP_BERT/marina_100210_pi+

-- LarsWeuste - 21-Apr-2010

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2010-04-21 - LarsWeuste
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CALICE All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback