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

'CMakeLists.txt' (InDetSimEventAthenaPool-00-00-05)

	* Tagging InDetSimEventAthenaPool-00-00-05.
	* Add a regression test for reading old data files.

	* Tagging InDetSimEventAthenaPool-00-00-04.
	* Revert to InDetSimEventAthenaPool-00-00-02 to allow further
	development in the trunk.  (ATLASSIM-2667)

2016-01-19 Olivier Arnaez <Olivier.Arnaez@cern.ch>
           * Merging with InDetSimEventAthenaPool-00-00-02-branch
	   * Tagged as InDetSimEventAthenaPool-00-00-03

2015-12-07 Olivier Arnaez <Olivier.Arnaez@cern.ch>
	   * Updates for dealing with HepMcParticleLink_p2
	   * Changed SiHitCollectionCnv.h,SiHitCollectionCnv.cxx,TRTUncompressedHitCollectionCnv.h,TRTUncompressedHitCollectionCnv.cxx
	   * Tagged as InDetSimEventAthenaPool-00-00-02-01
parent f7e82adc
No related branches found
No related tags found
No related merge requests found
################################################################################
# Package: InDetSimEventAthenaPool
################################################################################
# Declare the package name:
atlas_subdir( InDetSimEventAthenaPool )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PRIVATE
AtlasTest/TestTools
Database/AthenaPOOL/AthenaPoolCnvSvc
Database/AthenaPOOL/AthenaPoolUtilities
Database/AtlasSealCLHEP
GaudiKernel
InnerDetector/InDetEventCnv/InDetSimEventTPCnv
InnerDetector/InDetSimEvent )
# External dependencies:
find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread )
# Component(s) in the package:
atlas_add_poolcnv_library( InDetSimEventAthenaPoolPoolCnv
src/*.cxx
FILES InDetSimEvent/SiHitCollection.h InDetSimEvent/TRTUncompressedHitCollection.h
INCLUDE_DIRS ${ROOT_INCLUDE_DIRS}
LINK_LIBRARIES ${ROOT_LIBRARIES} AthenaPoolCnvSvcLib AthenaPoolUtilities AtlasSealCLHEP GaudiKernel InDetSimEventTPCnv InDetSimEvent )
atlas_add_dictionary( InDetSimEventAthenaPoolCnvDict
InDetSimEventAthenaPool/InDetSimEventAthenaPoolCnvDict.h
InDetSimEventAthenaPool/selection.xml
INCLUDE_DIRS ${ROOT_INCLUDE_DIRS}
LINK_LIBRARIES ${ROOT_LIBRARIES} AthenaPoolCnvSvcLib AthenaPoolUtilities AtlasSealCLHEP GaudiKernel InDetSimEventTPCnv InDetSimEvent )
# Install files from the package:
atlas_install_headers( InDetSimEventAthenaPool )
atlas_install_joboptions( share/*.py )
...@@ -22,8 +22,21 @@ apply_pattern lcgdict dict=InDetSimEventAthenaPoolCnv selectionfile=selection.x ...@@ -22,8 +22,21 @@ apply_pattern lcgdict dict=InDetSimEventAthenaPoolCnv selectionfile=selection.x
macro_append InDetSimEventAthenaPoolPoolCnv_shlibflags "$(InDetEventAthenaPool_linkopts)" macro_append InDetSimEventAthenaPoolPoolCnv_shlibflags "$(InDetEventAthenaPool_linkopts)"
apply_pattern declare_joboptions files="*.py"
private private
use AthenaPoolCnvSvc AthenaPoolCnvSvc-* Database/AthenaPOOL use AthenaPoolCnvSvc AthenaPoolCnvSvc-* Database/AthenaPOOL
use AtlasSealCLHEP AtlasSealCLHEP-* Database use AtlasSealCLHEP AtlasSealCLHEP-* Database
end_private end_private
private
use TestTools TestTools-* AtlasTest -no_auto_imports
apply_pattern athenarun_test \
name="InDetSimEventTPCnv_HITS" \
options="InDetSimEventAthenaPool/InDetSimEventTPCnv_HITS_test.py" \
pre_script="${ATHENAPOOLUTILITIESROOT}/share/pre_tpcnvtest.sh InDetSimEventTPCnv_HITS" \
post_script="${ATHENAPOOLUTILITIESROOT}/share/post_tpcnvtest.sh InDetSimEventTPCnv_HITS"
infile = 'rtt:valid1.110401.PowhegPythia_P2012_ttbar_nonallhad.simul.HITS.e3099_s2578_tid04919495_00/HITS.04919495._000416.pool.root.1'
keys = [
#SiHitCollection_p2
'BLMHits',
'BCMHits',
'PixelHits@100',
'SCT_Hits@100',
#TRT_HitCollection_p3
'TRTUncompressedHits@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="InDetSimEventAthenaPoolTests" type="makecheck">
<package>InnerDetector/InDetEventCnv/InDetSimEventAthenaPool</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