Skip to content
Snippets Groups Projects
Commit 2845b0ff authored by Atlas-Software Librarian's avatar Atlas-Software Librarian Committed by Graeme Stewart
Browse files

'CMakeLists.txt' (TileSimEventAthenaPool-00-00-03)

	* Tagging TileSimEventAthenaPool-00-00-03.
	* test/TileSimEventAthenaPool.xml: Add test xml file.

	* Tagging TileSimEventAthenaPool-00-00-02.
	* Add regression test for reading old data files.
parent e2061ce2
No related branches found
No related tags found
No related merge requests found
################################################################################
# Package: TileSimEventAthenaPool
################################################################################
# Declare the package name:
atlas_subdir( TileSimEventAthenaPool )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PRIVATE
AtlasTest/TestTools
Database/AthenaPOOL/AthenaPoolCnvSvc
Database/AthenaPOOL/AthenaPoolUtilities
GaudiKernel
TileCalorimeter/TileSimEvent
TileCalorimeter/TileSvc/TileSimEventTPCnv )
# Component(s) in the package:
atlas_add_poolcnv_library( TileSimEventAthenaPoolPoolCnv
src/*.cxx
FILES TileSimEvent/TileHitVector.h
LINK_LIBRARIES AthenaPoolCnvSvcLib AthenaPoolUtilities GaudiKernel TileSimEvent TileSimEventTPCnv )
# Install files from the package:
atlas_install_headers( TileSimEventAthenaPool )
atlas_install_joboptions( share/*.py )
......@@ -22,6 +22,15 @@ apply_pattern poolcnv files="-s=${TileSimEvent_root}/TileSimEvent TileHitVector.
macro_append TileSimEventAthenaPoolPoolCnv_shlibflags "$(TileSimEventAthenaPool_dict_linkopts)"
apply_pattern declare_joboptions files="*.py"
private
use TestTools TestTools-* AtlasTest -no_auto_imports
apply_pattern athenarun_test \
name="TileSimEventTPCnv_HITS" \
options="TileSimEventAthenaPool/TileSimEventTPCnv_HITS_test.py" \
pre_script="${ATHENAPOOLUTILITIESROOT}/share/pre_tpcnvtest.sh TileSimEventTPCnv_HITS" \
post_script="${ATHENAPOOLUTILITIESROOT}/share/post_tpcnvtest.sh TileSimEventTPCnv_HITS"
infile = 'rtt:valid1.110401.PowhegPythia_P2012_ttbar_nonallhad.simul.HITS.e3099_s2578_tid04919495_00/HITS.04919495._000416.pool.root.1'
keys = [
#TileHitVector_p1
'MBTSHits@100',
'TileHitVec@100',
]
#from AthenaCommon.JobProperties import jobproperties
#jobproperties.Global.DetDescrVersion = 'ATLAS-GEO-10-00-00'
theApp.EvtMax = 10
from AthenaCommon.DetFlags import DetFlags
DetFlags.detdescr.Calo_setOn()
noMuon = True
noID = True
include ('AthenaPoolUtilities/TPCnvTest.py')
<?xml version="1.0"?>
<atn>
<TEST name="TileSimEventAthenaPoolTests" type="makecheck">
<package>TileCalorimeter/TileSvc/TileSimEventAthenaPool</package>
<timelimit>20</timelimit>
<author> scott snyder </author>
<mailto> snyder@bnl.gov </mailto>
<expectations>
<errorMessage>Athena exited abnormally</errorMessage>
<errorMessage>differ</errorMessage>
<warningMessage> # WARNING_MESSAGE : post.sh> ERROR</warningMessage>
<successMessage>check ok</successMessage>
<returnValue>0</returnValue>
</expectations>
</TEST>
</atn>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment