User Tools

Site Tools


hpc:athenaevtdisplay

Athena Event Displays

VP1 (VirtualPoint1)

Setup

On atlas1.hep.anl.gov:

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.2.11.12,AtlasProduction,slc5

I did this last in ~/athenaTestarea/17.2.11.12.2/

HepMC to POOL

Download this job options file.

get_files Example_McAsciiReader_jobOptions.py

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

athena Example_McAsciiReader_jobOptions.py

AtlasG4_tf.py

Run

AtlasG4_tf.py' --autoConfiguration=everything --inputEvgenFile=myOutputEvgenFile.root --outputHITSFile=myOutputHITSFile.root --geometryVersion=ATLAS-GEO-20-00-01 --conditionsTag=OFLCOND-MC12-SIM-00 --maxEvents 5

Digi_tf.py

Run

Digi_tf.py --autoConfiguration=everything --inputHitsFile=myOutputHITSFile.root --outputRDOFile=myOutputRDOFile.root --conditionsTag=OFLCOND-MC12-SIM-00

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

from GeoModelSvc.GeoModelSvcConf import GeoModelSvc
GeoModelSvc.IgnoreTagDifference = True

Reco_tf.py

Run

Reco_tf.py --inputRDOFile=myOutputRDOFile.root --outputAODFile=myOutputAODFile.root --autoConfiguration=everything --preExec='jp.Rec.doWriteAOD.set_Value_and_Lock(True)'

vp1

In a fresh shell run:

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

I had to switch athena versions in order to get the object tracks to show up in vp1.

hpc/athenaevtdisplay.txt · Last modified: 2014/07/28 16:08 by jchilders