User Tools

Site Tools


hpc:athenaevtdisplay

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
hpc:athenaevtdisplay [2014/07/28 15:52]
jchilders created
hpc:athenaevtdisplay [2014/07/28 16:08] (current)
jchilders old revision restored (2014/07/28 10:52)
Line 14: Line 14:
 </code> </code>
 I did this last in ~/athenaTestarea/17.2.11.12.2/ I did this last in ~/athenaTestarea/17.2.11.12.2/
 +
 +=== HepMC to POOL ===
 +Download this job options file.
 +<code bash>
 +get_files Example_McAsciiReader_jobOptions.py
 +</code>
 +Edit ''Example_McAsciiReader_jobOptions.py'' where it specifies an input filename so that it reads from your file (line 51) and change ''MCEVENTKEY='GEN_EVENT' '' (line 38).
 +
 +Run
 +<code bash>
 +athena Example_McAsciiReader_jobOptions.py
 +</code>
 +
 +=== AtlasG4_tf.py ===
 +Run
 +<code bash>
 +AtlasG4_tf.py' --autoConfiguration=everything --inputEvgenFile=myOutputEvgenFile.root --outputHITSFile=myOutputHITSFile.root --geometryVersion=ATLAS-GEO-20-00-01 --conditionsTag=OFLCOND-MC12-SIM-00 --maxEvents 5
 +</code>
 +
 +=== Digi_tf.py ===
 +Run
 +<code bash>
 +Digi_tf.py --autoConfiguration=everything --inputHitsFile=myOutputHITSFile.root --outputRDOFile=myOutputRDOFile.root --conditionsTag=OFLCOND-MC12-SIM-00
 +</code>
 +
 +I've received an error here complaining about a mismatch in the GEO tag. I edited the ''runargs.HISTtoRDO.py'' file to have the following
 +<code python>
 +from GeoModelSvc.GeoModelSvcConf import GeoModelSvc
 +GeoModelSvc.IgnoreTagDifference = True
 +</code>
 +
 +=== Reco_tf.py === 
 +Run
 +<code bash>
 +Reco_tf.py --inputRDOFile=myOutputRDOFile.root --outputAODFile=myOutputAODFile.root --autoConfiguration=everything --preExec='jp.Rec.doWriteAOD.set_Value_and_Lock(True)'
 +</code>
 +
 +=== vp1 ===
 +In a fresh shell run:
 +<code bash>
 +export AVERS=$1
 +export TEST_AREA=$HOME/athenaTestarea/$1
 +
 +export ATLAS_LOCAL_ROOT_BASE=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase
 +source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh
 +asetup 17.7.3.6,AtlasProduction,slc5
 +vp1 /path/to/myOutputAODFile.root
 +</code>
 +
 +I had to switch athena versions in order to get the object tracks to show up in ''vp1''.
 +
 +
  
  
hpc/athenaevtdisplay.1406562722.txt.gz ยท Last modified: 2014/07/28 15:52 by jchilders