Useful instructions

Evgen production

Simple example using csc_evgen_trf:

csc_evgen_trf.py 5144 1 -1 5555 CSC.005144.PythiaZee.py test5144.evgen.pool.root NONE NONE NONE > test_evgen &

Help: csc_evgen_trf.py -h

usage: csc_evgen_trf.py [options] <runnumber> <firstevent> <maxevents> <randomseed> <jobconfig> <outputevgenfile> [histogramfile] [ntuplefile] [inputgeneratorfile]
       Arguments can be passed in order (positional) or as name=value (named). Arguments in [] are optional.
       Option -h,--help: get detailed help
Arguments:
    1 runNumber (int) # each run number corresponds to one physics process
    2 firstEvent (int) # number of the first event in the output data file
    3 maxEvents (int) # Maximum number of events to process
    4 randomSeed (int) # random seed for physics generators
    5 jobConfig (list) # jobOptions fragment containing the physics and the configuration settings
    6 outputEvgenFile (str) # Output file that contains generated events
  [ 7 histogramFile] (str) default='NONE' # Output file that contains histograms.
  [ 8 ntupleFile] (str) default='NONE' # Output file that contains ntuples.
  [ 9 inputGeneratorFile] (str) default='NONE' # Input file used by the particle generator to generate events

AtlfastII simulation

Gia's instructions:
I use 14.2.20.1 production release, which was suggested as a good release for atlfast2. 
You might want to make your production with trf script. 
You can run production of one single output atlfast2 AOD like this:

csc_simul_reco_trf.py mcatnlo331.005200.ttbar._00010.pool.root AOD.pool.root 100 0 12345 ATLAS-GEO-02-01-00
1 2 QGSP_BERT jobConfig.VertexPosFastIDKiller.py NoTrackSlimming.py,FastSimulationJobTransforms/FastCaloSimAddCellsRecConfig.py NONE NONE

What you can change is the name of the input and output files (1st and 2nd arguments); 
number of processed events, number of skipped events and a random seed (3rd, 4th and 5th arguments);
Also the random number shift arguments you can change if you like (7th and 8th arguments). 
The rest should not be changed.

If you want to submit it on Panda grid here is an example:

pathena --trf "csc_simul_reco_trf.py %IN %OUT.pool.root 250 %SKIPEVENTS 71278 ATLAS-GEO-02-01-00 1 2 QGSP_BERT jobConfig.VertexPosFastIDKiller.py NoTrackSlimming.py,FastSimulationJobTransforms/FastCaloSimAddCellsRecConfig.py NONE NONE" \
                                --inDS user08.GiaKhoriauli.acermc35.005502.tchan.EVNT.v14022001 \
                                --outDS user08.GiaKhoriauli.acermc35.005502.tchan.AOD.a68 \
                                --nFiles 1 \
                                --nEventsPerJob 250 \
                                --nEventsPerFile 5000 \
                                --inputType EVNT \
                                --site LONG_BNL_ATLAS


--site should point to the site where the input DS lives. 
You might want to run on 1 file first to create the library and then you can change "--nFiles 1"  to "--libDS LAST" 
and run on the whole input DS.

Note: this works well also for release 14.2.21 (at CERN).

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r3 - 2010-01-21 - LimingChen
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main 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