LXPLUS, MC Generators and Reconstruction

Athena versions

After setting up Athena on lxplus you can change the versions with the "asetup" command. The versions I have used for various generators are:
  • asetup,32,slc5,gcc43 (the mc12grid one I believe, 64 bit for sherpa and HERWIG)
  • asetup,32,slc5,gcc43 seems to be least buggy
  • asetup 17.7.90,32,slc5,gcc43

MC Generators

The generators are located in /afs/cern.ch/sw/lcg/external/MCGenerators if a local installation is needed.

To run pythia, sherpa, herwig and starlight in /afs/cern.ch/user/j/jwsmith/Athena/testarea/

  • Generate_trf.py ecmEnergy=7000. runNumber=3 firstEvent=1 maxEvents=5000 randomSeed=343434 jobConfig=JobOptionsXXX.py outputEVNTFile=OutputFilename.pool.root

For reconstruction, when you have a pool.root file. Do this to get an ntuple, it preserves Hadrons (I think):

  • Reco_trf.py preExec="jp.Rec.doDumpProperties=True ; jp.Rec.doTrigger=False ; jp.Rec.doDPD.set_Value_and_Lock(True); from D3PDMakerFlags import D3PDMakerFlags;D3PDMakerFlags.TruthWriteHadrons.set_Value_and_Lock(True)" inputEVNTFile=OutputFilename.pool.root outputNTUP_TRUTHFile=Outputfile-truth.root

Pathena event generation of MC12:

  • pathena -c "EvtMax=1000" --trf "Generate_trf.py ecmEnergy=8000. runNumber=1 randomSeed=%RNDM:39724 firstEvent=1 maxEvents=1000 jobConfig='JobOptionsxxxx.py' outputEVNTFile='%OUT.EVNT.pool.root' " --athenaTag=17.7.90 --split=2 --extFile=auxFile1,auxFile2 --outDS=user.USERNAME.eventsDataset.evgen.EVNT.e1763/

where USERNAME is obviously your username at ATLAS.

Another way to use Pathena:

  • pathena --trf="Generate_trf.py ecmEnergy=7000 runNumber=126389 firstEvent=1 randomSeed=%RNDM:100 jobConfig=JobOptionsxxxx.py outputEVNTFile=%OUT.EVNT.pool.root"  --outDS USERNAME.test.Sherpa.2 --split=50


  • dq2-sources

To make sure that a dataset exists

  • dq2-ls DATASETNAME

To find datasets whose names start with DATASETNAME

  • dq2-ls "DATASETNAME*"
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2014-03-11 - JoshuaWyattSmith
    • 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-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback