diff --git a/Trigger/TrigAlgorithms/TrigEFMissingET/share/testMET.py b/Trigger/TrigAlgorithms/TrigEFMissingET/share/testMET.py deleted file mode 100644 index e6280100b1a4d9e7325d94fb5efa6da5508319ad..0000000000000000000000000000000000000000 --- a/Trigger/TrigAlgorithms/TrigEFMissingET/share/testMET.py +++ /dev/null @@ -1,74 +0,0 @@ -# -# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration -# - -include("TrigUpgradeTest/testHLT_MT.py") - -from AthenaCommon.AlgSequence import AlgSequence -topSequence = AlgSequence() - -import math -from TrigT2CaloCommon.TrigT2CaloCommonConf import TrigCaloDataAccessSvc#, TestCaloDataAccess -from AthenaMonitoring.GenericMonitoringTool import GenericMonitoringTool, defineHistogram - -mon = GenericMonitoringTool("CaloDataAccessSvcMon") -mon.Histograms += [defineHistogram( "TIME_locking_LAr_RoI", title="Time spent in unlocking the LAr collection", xbins=100, xmin=0, xmax=100 ), - defineHistogram( "roiROBs_LAr", title="Number of ROBs unpacked in RoI requests", xbins=20, xmin=0, xmax=20 ), - defineHistogram( "TIME_locking_LAr_FullDet", title="Time spent in unlocking the LAr collection", xbins=100, xmin=0, xmax=100 ), - defineHistogram( "roiEta_LAr,roiPhi_LAr", type="TH2F", title="Geometric usage", xbins=50, xmin=-5, xmax=5, ybins=64, ymin=-math.pi, ymax=math.pi )] - -svcMgr += TrigCaloDataAccessSvc() -svcMgr.TrigCaloDataAccessSvc.MonTool = mon -svcMgr.TrigCaloDataAccessSvc.OutputLevel=INFO - -from L1Decoder.L1DecoderConf import CreateFullScanRoI -topSequence += CreateFullScanRoI() - -from TrigCaloRec.TrigCaloRecConfig import HLTCaloCellMaker -cellMakerAlgo = HLTCaloCellMaker("CellMakerMT") -cellMakerAlgo.roiMode=True -cellMakerAlgo.RoIs="FullScanRoIs" - -cellMakerAlgo.OutputLevel=VERBOSE -cellMakerAlgo.CellsName="cells" -topSequence += cellMakerAlgo - -from TrigEFMissingET.TrigEFMissingETConf import EFMissingETAlgMT, EFMissingETFromCellsMT, EFMissingETFromHelper - -cellTool = EFMissingETFromCellsMT( name="METFromCellsTool" ) -cellTool.CellsCollection = "cells" - -helperTool = EFMissingETFromHelper("theHelperTool") - -metAlg = EFMissingETAlgMT( name="EFMET" ) - - -metAlg.METTools=[ cellTool ] -metAlg.HelperTool= helperTool - -#metAlg.OutputLevel=DEBUG - -metMon = GenericMonitoringTool("METMonTool") -metMon.Histograms = [ defineHistogram( "TIME_Total", title="Time spent Alg", xbins=100, xmin=0, xmax=100 ), - defineHistogram( "TIME_Loop", title="Time spent in Tools loop", xbins=100, xmin=0, xmax=100 )] -from TrigEFMissingET.TrigEFMissingETMonitoring import * -metMon.Histograms = [ hEx_log, hEy_log, hEz_log, hMET_log, hSumEt_log ] -metMon.Histograms += [ hMET_lin, hSumEt_lin ] -metMon.Histograms += [ hXS, hMETPhi, hMETStatus] -metMon.Histograms += [ hCompEx, hCompEy, hCompEz, hCompEt, hCompSumEt, hCompSumE ] -metMon.Histograms += [ hCompEt_lin, hCompSumEt_lin ] - -metAlg.MonTool = metMon -topSequence += metAlg - -# from TrigCaloRec.TrigCaloRecConfig import TrigCaloClusterMakerMT_topo - -# # clusterMakerAlgo = TrigCaloClusterMakerMT_topo(name="ClustermakerMT_topo",cells="cells",doMoments=True,doLC=True) -# # Get conditions error using TrigLocalCalib tool, so set doLC=False -# clusterMakerAlgo = TrigCaloClusterMakerMT_topo(name="ClustermakerMT_topo",cells="cells",doMoments=True,doLC=False) -# clusterMakerAlgo.OutputLevel=VERBOSE -# topSequence += clusterMakerAlgo - -# print ToolSvc - - diff --git a/Trigger/TrigAlgorithms/TrigEFMissingET/test/test_met_fexes.sh b/Trigger/TrigAlgorithms/TrigEFMissingET/test/test_met_fexes.sh index a580b72aaa560ac7a0053056375763aab5a65860..b9bee6fe83bc30adc821a5cace217595619fe407 100755 --- a/Trigger/TrigAlgorithms/TrigEFMissingET/test/test_met_fexes.sh +++ b/Trigger/TrigAlgorithms/TrigEFMissingET/test/test_met_fexes.sh @@ -4,6 +4,6 @@ STARDATE=`date +%g%m%d.%k%M` -athena --threads=1 --evtMax=10 --filesInput="/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/TrigP1Test/data17_13TeV.00327265.physics_EnhancedBias.merge.RAW._lb0100._SFO-1._0001.1" TrigEFMissingET/testMET.py &> run_${STARDATE}.log & +athena --threads=1 --evtMax=10 --filesInput="/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/TrigP1Test/data17_13TeV.00327265.physics_EnhancedBias.merge.RAW._lb0100._SFO-1._0001.1" TrigUpgradeTest/testMET.py &> run_${STARDATE}.log & -echo "Running in background. Log output to run_${STARDATE}.log. Execute 'tail -f' to follow. " \ No newline at end of file +echo "Running in background. Log output to run_${STARDATE}.log. Execute 'tail -f' to follow. "