Skip to content
Snippets Groups Projects
Commit 697ea8e7 authored by Scott Snyder's avatar Scott Snyder Committed by Graeme Stewart
Browse files

'Update reference files for PyDumper-00-01-92.' (MuonEventAthenaPool-00-32-10)

	* Tagging MuonEventAthenaPool-00-32-10.
2016-11-29  scott snyder  <snyder@bnl.gov>

	* Tagging MuonEventAthenaPool-00-32-09.
	* Revert -06: not needed with MuonRDO-01-06-08.

	* Tagging MuonEventAthenaPool-00-32-08.
	* Fix cmake build of unit tests.
	* Tagging MuonEventAthenaPool-00-32-07.
	* Add unit tests.
parent 34f9dd33
No related branches found
No related tags found
No related merge requests found
Showing
with 166 additions and 4 deletions
......@@ -21,6 +21,7 @@ atlas_depends_on_subdirs( PUBLIC
Control/StoreGate
Database/AthenaPOOL/AthenaPoolCnvSvc
DetectorDescription/Identifier
DetectorDescription/IdDictParser
GaudiKernel
MuonSpectrometer/MuonCablings/RPCcablingInterface
MuonSpectrometer/MuonCalib/CscCalib/CscCalibEvent
......@@ -45,6 +46,14 @@ atlas_add_poolcnv_library( MuonEventAthenaPoolPoolCnv
INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS}
LINK_LIBRARIES ${Boost_LIBRARIES} ${ROOT_LIBRARIES} AthenaPoolUtilities AtlasSealCLHEP MuonRDO MuonRIO_OnTrack MuonSegment DataModel SGTools StoreGateLib SGtests AthenaPoolCnvSvcLib Identifier GaudiKernel RPCcablingInterfaceLib CscCalibEvent MuonEventTPCnv MuonReadoutGeometry MuonDigitContainer MuonIdHelpersLib MuonChamberT0s MuonPrepRawData MuonTrigCoinData MuonSimData )
# We need to build a separate library for unit testing, since we can't link
# against the PoolCnv library.
atlas_add_library( MuonEventAthenaPoolTestLib
src/*Cnv_p*.cxx
NO_PUBLIC_HEADERS
INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS}
LINK_LIBRARIES ${Boost_LIBRARIES} ${ROOT_LIBRARIES} AthenaPoolUtilities AtlasSealCLHEP MuonRDO MuonRIO_OnTrack MuonSegment DataModel SGTools StoreGateLib SGtests AthenaPoolCnvSvcLib Identifier GaudiKernel RPCcablingInterfaceLib CscCalibEvent MuonEventTPCnv MuonReadoutGeometry MuonDigitContainer MuonIdHelpersLib MuonChamberT0s MuonPrepRawData MuonTrigCoinData MuonSimData )
atlas_add_dictionary( MuonRDOCnvDict
MuonEventAthenaPool/MuonRDOCnvDict.h
MuonEventAthenaPool/selection.xml
......@@ -68,3 +77,41 @@ if( ATHENAPOOLUTILITIESTEST_FOUND )
else()
message( WARNING "Couldn't find AthenaPoolUtilitiesTest. No test(s) set up." )
endif()
# Helper variable for running the tests:
set( _jobOPath "${CMAKE_CURRENT_SOURCE_DIR}/share" )
set( _jobOPath "${_jobOPath}:${CMAKE_JOBOPT_OUTPUT_DIRECTORY}" )
set( _jobOPath "${_jobOPath}:$ENV{JOBOPTSEARCHPATH}" )
# Set up the tests of the package:
foreach( name
CscRawDataCnv_p1_test
CscRawDataCnv_p2_test
CscRawDataCnv_p3_test
CscRawDataCollectionCnv_p1_test
CscRawDataCollectionCnv_p2_test
CscRawDataCollectionCnv_p3_test
MdtAmtHitCnv_p1_test
MdtCsmCnv_p1_test
RpcCoinMatrixCnv_p1_test
RpcFiredChannelCnv_p1_test
RpcPadCnv_p1_test
RpcPadContainerCnv_p1_test
RpcPadContainerCnv_p2_test
RpcSectorLogicContainerCnv_p1_test
TgcRawDataCnv_p1_test
TgcRawDataCnv_p2_test
TgcRawDataCnv_p3_test
TgcRdoCnv_p1_test
TgcRdoCnv_p2_test
TgcRdoCnv_p3_test )
atlas_add_test( ${name}
SOURCES test/${name}.cxx
LINK_LIBRARIES ${Boost_LIBRARIES} ${ROOT_LIBRARIES} AthenaPoolUtilities AtlasSealCLHEP MuonRDO MuonRIO_OnTrack MuonSegment DataModel SGTools StoreGateLib SGtests AthenaPoolCnvSvcLib Identifier GaudiKernel RPCcablingInterfaceLib CscCalibEvent MuonEventTPCnv MuonReadoutGeometry MuonDigitContainer MuonIdHelpersLib MuonChamberT0s MuonPrepRawData MuonTrigCoinData MuonSimData MuonEventAthenaPoolTestLib IdDictParser
PROPERTIES TIMEOUT 300
ENVIRONMENT "JOBOPTSEARCHPATH=${_jobOPath}" )
endforeach()
......@@ -60,7 +60,7 @@ public:
friend class CscRawDataCollectionCnv_p1;
private:
//private:
// Identifier of this collection
uint32_t m_id;
......
......@@ -26,7 +26,7 @@ public:
const std::vector<uint16_t> getSamples() const { return m_amps; }
friend class CscRawDataCnv_p1;
private:
//private:
/// persistent data members
std::vector<uint16_t> m_amps;
......
......@@ -30,7 +30,7 @@ public:
friend class TgcRawDataCnv_p1;
private:
//private:
/********** common attributes
*/
......
......@@ -40,7 +40,7 @@ public:
friend class TgcRdoCnv_p1;
private:
//private:
// ID of this instance
uint16_t m_id;
......
......@@ -89,6 +89,47 @@ private
use TestTools TestTools-* AtlasTest -no_auto_imports
apply_pattern UnitTest_run unit_test=RpcFiredChannelCnv_p1
macro_append RpcFiredChannelCnv_p1_test_dependencies " MuonEventAthenaPoolPoolCnv "
apply_pattern UnitTest_run unit_test=RpcCoinMatrixCnv_p1
macro_append RpcCoinMatrixCnv_p1_test_dependencies " MuonEventAthenaPoolPoolCnv "
apply_pattern UnitTest_run unit_test=RpcPadCnv_p1
macro_append RpcPadCnv_p1_test_dependencies " MuonEventAthenaPoolPoolCnv "
apply_pattern UnitTest_run unit_test=RpcPadContainerCnv_p1
macro_append RpcPadContainerCnv_p1_test_dependencies " MuonEventAthenaPoolPoolCnv "
apply_pattern UnitTest_run unit_test=RpcPadContainerCnv_p2
macro_append RpcPadContainerCnv_p2_test_dependencies " MuonEventAthenaPoolPoolCnv "
apply_pattern UnitTest_run unit_test=RpcSectorLogicContainerCnv_p1
macro_append RpcSectorLogicContainerCnv_p1_test_dependencies " MuonEventAthenaPoolPoolCnv "
apply_pattern UnitTest_run unit_test=CscRawDataCnv_p1
macro_append CscRawDataCnv_p1_test_dependencies " MuonEventAthenaPoolPoolCnv "
apply_pattern UnitTest_run unit_test=CscRawDataCnv_p2
macro_append CscRawDataCnv_p2_test_dependencies " MuonEventAthenaPoolPoolCnv "
apply_pattern UnitTest_run unit_test=CscRawDataCnv_p3
macro_append CscRawDataCnv_p3_test_dependencies " MuonEventAthenaPoolPoolCnv "
apply_pattern UnitTest_run unit_test=CscRawDataCollectionCnv_p1
macro_append CscRawDataCollectionCnv_p1_test_dependencies " MuonEventAthenaPoolPoolCnv "
apply_pattern UnitTest_run unit_test=CscRawDataCollectionCnv_p2
macro_append CscRawDataCollectionCnv_p2_test_dependencies " MuonEventAthenaPoolPoolCnv "
apply_pattern UnitTest_run unit_test=CscRawDataCollectionCnv_p3
macro_append CscRawDataCollectionCnv_p3_test_dependencies " MuonEventAthenaPoolPoolCnv "
apply_pattern UnitTest_run unit_test=TgcRawDataCnv_p1
macro_append TgcRawDataCnv_p1_test_dependencies " MuonEventAthenaPoolPoolCnv "
apply_pattern UnitTest_run unit_test=TgcRawDataCnv_p2
macro_append TgcRawDataCnv_p2_test_dependencies " MuonEventAthenaPoolPoolCnv "
apply_pattern UnitTest_run unit_test=TgcRawDataCnv_p3
macro_append TgcRawDataCnv_p3_test_dependencies " MuonEventAthenaPoolPoolCnv "
apply_pattern UnitTest_run unit_test=TgcRdoCnv_p1
macro_append TgcRdoCnv_p1_test_dependencies " MuonEventAthenaPoolPoolCnv "
apply_pattern UnitTest_run unit_test=TgcRdoCnv_p2
macro_append TgcRdoCnv_p2_test_dependencies " MuonEventAthenaPoolPoolCnv "
apply_pattern UnitTest_run unit_test=TgcRdoCnv_p3
macro_append TgcRdoCnv_p3_test_dependencies " MuonEventAthenaPoolPoolCnv "
apply_pattern UnitTest_run unit_test=MdtCsmCnv_p1
macro_append MdtCsmCnv_p1_test_dependencies " MuonEventAthenaPoolPoolCnv "
apply_pattern UnitTest_run unit_test=MdtAmtHitCnv_p1
macro_append MdtAmtHitCnv_p1_test_dependencies " MuonEventAthenaPoolPoolCnv "
apply_pattern athenarun_test \
name="MuonEventTPCnv_17.0.0" \
options="MuonEventAthenaPool/MuonEventTPCnv_17.0.0_test.py" \
......
test1
test1
test1
test1
test1
ApplicationMgr.DLLs += { "StoreGate", "CLIDComps" };
ApplicationMgr.ExtSvc += { "StoreGateSvc", "StoreGateSvc/DetectorStore" };
TGCcablingServerSvc.forcedUse = true;
#include "IOVSvc/IOVSvc.txt"
test1
test1
test1
Initializing Gaudi ApplicationMgr using job opts ../share/MuonEventAthenaPool_test.txt
JobOptionsSvc INFO # =======> /home/sss/nobackup/atlas/build/../tests/../share/MuonEventAthenaPool_test.txt
JobOptionsSvc INFO # (1,1): ApplicationMgr.DLLs += ["StoreGate", "CLIDComps"]
JobOptionsSvc INFO # (2,1): ApplicationMgr.ExtSvc += ["StoreGateSvc", "StoreGateSvc/DetectorStore"]
JobOptionsSvc INFO Job options successfully read in from ../share/MuonEventAthenaPool_test.txt
ApplicationMgr SUCCESS
====================================================================================================================================
Welcome to ApplicationMgr (GaudiCoreSvc v27r1p99)
running on karma on Sun Nov 27 21:30:09 2016
====================================================================================================================================
ApplicationMgr INFO Successfully loaded modules : StoreGate, CLIDComps
ApplicationMgr INFO Application Manager Configured successfully
ClassIDSvc INFO getRegistryEntries: read 4235 CLIDRegistry entries for module ALL
EventLoopMgr WARNING Unable to locate service "EventSelector"
EventLoopMgr WARNING No events will be processed from external input.
HistogramPersis...WARNING Histograms saving not required.
ApplicationMgr INFO Application Manager Initialized successfully
ApplicationMgr Ready
AtlasDetectorID::initialize_from_dictionary - OK
RpcIdHelper INFO MultiRange built successfully to doubletR: MultiRange size is 259
RpcIdHelper INFO MultiRange built successfully to detectorElement: DetectorElement MultiRange size is 259
RpcIdHelper INFO MultiRange built successfully to rpcStrip: MultiRange size is 259
RpcIdHelper INFO Initializing RPC hash indices ...
RpcIdHelper INFO The element hash max is 600
RpcIdHelper INFO The detector element hash max is 1122
RpcIdHelper INFO Initializing RPC hash indices for finding neighbors ...
test1
Initializing Gaudi ApplicationMgr using job opts ../share/MuonEventAthenaPool_test.txt
JobOptionsSvc INFO # =======> /home/sss/nobackup/atlas/build/../tests/../share/MuonEventAthenaPool_test.txt
JobOptionsSvc INFO # (1,1): ApplicationMgr.DLLs += ["StoreGate", "CLIDComps"]
JobOptionsSvc INFO # (2,1): ApplicationMgr.ExtSvc += ["StoreGateSvc", "StoreGateSvc/DetectorStore"]
JobOptionsSvc INFO Job options successfully read in from ../share/MuonEventAthenaPool_test.txt
ApplicationMgr SUCCESS
====================================================================================================================================
Welcome to ApplicationMgr (GaudiCoreSvc v27r1p99)
running on karma on Mon Nov 28 00:40:43 2016
====================================================================================================================================
ApplicationMgr INFO Successfully loaded modules : StoreGate, CLIDComps
ApplicationMgr INFO Application Manager Configured successfully
ClassIDSvc INFO getRegistryEntries: read 4235 CLIDRegistry entries for module ALL
EventLoopMgr WARNING Unable to locate service "EventSelector"
EventLoopMgr WARNING No events will be processed from external input.
HistogramPersis...WARNING Histograms saving not required.
ApplicationMgr INFO Application Manager Initialized successfully
ApplicationMgr Ready
AtlasDetectorID::initialize_from_dictionary - OK
RpcIdHelper INFO MultiRange built successfully to doubletR: MultiRange size is 259
RpcIdHelper INFO MultiRange built successfully to detectorElement: DetectorElement MultiRange size is 259
RpcIdHelper INFO MultiRange built successfully to rpcStrip: MultiRange size is 259
RpcIdHelper INFO Initializing RPC hash indices ...
RpcIdHelper INFO The element hash max is 600
RpcIdHelper INFO The detector element hash max is 1122
RpcIdHelper INFO Initializing RPC hash indices for finding neighbors ...
test1
test INFO RPCcablingSvc obtained - hashmax = 3
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