You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Introduction

The current sim/reco consists of five steps

  1. SLIC for running events through GEANT4
  2. lcsim to run the digitzation and the tracking
  3. SlicPandora to do the ParticleFlowAnalysis
  4. LCFIPlus to do the Vertexing
  5. lcsim to make DST's

For various reasons, reco is split in three steps. We'd love to have it in one, so if you're keen mitigating this situation, please let us know

Step 1 Getting Events

there are two ways of getting events into SLIC, using the particle gun or by using a stdhep file as an input

Particle Gun

to be written

StDHEP

get an example stdhep file from the SLAC FTP server

Z-> mumu sample

and store it in a data folder /scratch/sid_complete/data

now get ready to run SLIC

Running SLIC

For all the following purposes, we're using the sidloi3 detector model, others can be used as well (or you can design your own)

cd data
$SLIC/build/bin/slic -g ../lcsim/LCDetectors/detectors/sidloi3/sidloi3.lcdd  -i pythiaZPolemumu.stdhep  -O -p . -r 100
  • -g denotes the location of the detector description
  •  -i the input file
  • -O autonaming of the output file
  • -p the path, here "."
  • -r run for 100 events

it should produce an outputfile called

pythiaZPolemumu_slic-3.1.0_geant4-v9r6p1_QGSP_BERT_sidloi3.slcio

Running the reco

use the following Command line (all in one line!)

 java -jar ../lcsim/lcsim/target/lcsim-2.11-SNAPSHOT-bin.jar   ../myscripts/sid_dbd_prePandora_noOverlay.xml
 -DinputFile=pythiaZPolemumu_slic-3.1.0_geant4-v9r6p1_QGSP_BERT_sidloi3.slcio
 -DtrackingStrategies=../myscripts/sidloi3_trackingStrategies_default.xml
 -DoutputFile=pythiaZPolemumu_slic-3.1.0_geant4-v9r6p1_QGSP_BERT_sidloi3_reco.slcio
  • -jar ../lcsim/lcsim/target/lcsim-2.11-SNAPSHOT-bin.jar  contains the reco code
  • ../myscripts/sid_dbd_prePandora_noOverlay.xml is the steeringfile
  • -DinputFile/-DoutputFile define the files to be used
  • -DtrackingStrategies is a file with tracking strategies to be used

Running the PFA

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:../slicPandora/lib/
../slicPandora/bin/PandoraFrontend -g ../myscripts/sidloi3_pandora.xml -c ../myscripts/sid_dbd_pandoraSettings.xml -i pythiaZPolemumu_slic-3.1.0_geant4-v9r6p1_QGSP_BERT_sidloi3_reco.slcio -o pythiaZPolemumu_slic-3.1.0_geant4-v9r6p1_QGSP_BERT_sidloi3_pandora.slcio

* -g Geometry file

  • -c settings
  • -i input -o outputfile

Running the Vertexing

cp ~/myscripts/sid_dbd_vertexing.xml .

modify the filenames accordingly in an editor

 $MARLIN/bin/Marlin sid_dbd_vertexing.xml

Making the DST

This final step creates two lcio files, one DST and with all the collections. It also performs the truth-matching

java -jar ../lcsim/lcsim/target/lcsim-2.11-SNAPSHOT-bin.jar ../myscripts/sid_dbd_postPandora.xml  -DinputFile=pythiaZPolemumu_slic-3.1.0_geant4-v9r6p1_QGSP_BERT_sidloi3_lcfi.slcio -DrecFile=pythiaZPolemumu_slic-3.1.0_geant4-v9r6p1_QGSP_BERT_sidloi3_full.slcio -DdstFile=pythiaZPolemumu_slic-3.1.0_geant4-v9r6p1_QGSP_BERT_sidloi3_dst.slcio
  • No labels