Commit 4085018c authored by Scott Raymond Mandry's avatar Scott Raymond Mandry Committed by Graeme Stewart
Browse files

fix bug #90931 (ValgrindRTTJobs-00-00-93)

parent 80c18371
package ValgrindRTTJobs
author Rolf Seuster <seuster AT cern.ch>
private
use AthenaBaseComps AthenaBaseComps-* Control
use GaudiInterface GaudiInterface-* External
use AtlasPolicy AtlasPolicy-*
# use AtlasPython AtlasPython-* External
use PyJobTransformsCore PyJobTransformsCore-* Tools
use AtlasValgrind AtlasValgrind-* External
use TestPolicy TestPolicy-*
apply_pattern validate_xml
public
apply_pattern declare_jobtransforms trfs='valgrind_trf.py' jo='*.py'
public
library ValgrindRTTJobs *.cxx components/*.cxx
apply_pattern component_library
macro ValgrindRTTJobs_TestConfiguration "../test/ValgrindRTTJobs_TestConfiguration.xml"
apply_pattern declare_runtime extras="../test/ValgrindRTTJobs_TestConfiguration.xml PostProcessValgrind.py memConsumption.C historyNightlies.C *.supp processValgrindOutput.sh dhat-postprocess.pl"
This diff is collapsed.
# This is the configuration file to run ATLAS Digitization
# Use the following switches for:
# jobproperties.AthenaCommonFlags.EvtMax = <NEvents> Number of events to digitize (set to -1 for all)
# jobproperties.AthenaCommonFlags.SkipEvents = <NSkip> Number of events from input file collection to skip
# jobproperties.AthenaCommonFlags.PoolHitsInput=<FileName> Input collections. The list of files with the hits to digitize
# jobproperties.AthenaCommonFlags.PoolRDOOutput=<FileName> Output file name
#--------------------------------------------------------------
# AthenaCommon configuration
#--------------------------------------------------------------
from AthenaCommon.AthenaCommonFlags import jobproperties
jobproperties.AthenaCommonFlags.AllowIgnoreConfigError=False #This job will stop if an include fails.
jobproperties.AthenaCommonFlags.EvtMax = 5
jobproperties.AthenaCommonFlags.PoolHitsInput = ["root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.105200.T1_McAtNlo_Jimmy.merge.HITS.e835_s1310_s1300/HITS.508808._000857.pool.root.1"]
jobproperties.AthenaCommonFlags.PoolRDOOutput = "DigitizationOutput.pool.root"
#--------------------------------------------------------------
# Digitiziation and Pileup configuration
#--------------------------------------------------------------
from Digitization.DigitizationFlags import digitizationFlags
digitizationFlags.IOVDbGlobalTag = 'OFLCOND-SDR-BS7T-05-14'
digitizationFlags.overrideMetadata = ['SimLayout', 'PhysicsList']
# digitizationFlags.doInDetNoise = True
# digitizationFlags.doCaloNoise = True
# digitizationFlags.doMuonNoise = True
# digitizationFlags.doLowPtMinBias = True
# digitizationFlags.numberOfLowPtMinBias = 2.3
# digitizationFlags.LowPtMinBiasInputCols = ["", "", "" ]
# digitizationFlags.doCavern = True
# digitizationFlags.numberOfCavern = 2
# digitizationFlags.cavernInputCols = ["", ""]
# digitizationFlags.doBeamGas = True
# digitizationFlags.numberOfBeamGas = 0.5
# digitizationFlags.beamGasInputCols = ["", ""]
#--------------------------------------------------------------
# Global flags. Like eg the DD version:
#--------------------------------------------------------------
from AthenaCommon.GlobalFlags import jobproperties
jobproperties.Global.DetDescrVersion = 'ATLAS-GEO-18-01-01'
#--------------------------------------------------------------------
# DetFlags. Use to turn on/off individual subdetector or LVL1 trigger
#--------------------------------------------------------------------
from AthenaCommon.DetFlags import DetFlags
DetFlags.ID_setOn()
DetFlags.Calo_setOn()
DetFlags.Muon_setOn()
DetFlags.Truth_setOn()
DetFlags.LVL1_setOn()
include("Digitization/Digitization.py")
# This is the configuration file to run ATLAS Digitization
# Use the following switches for:
# jobproperties.AthenaCommonFlags.EvtMax = <NEvents> Number of events to digitize (set to -1 for all)
# jobproperties.AthenaCommonFlags.SkipEvents = <NSkip> Number of events from input file collection to skip
# jobproperties.AthenaCommonFlags.PoolHitsInput=<FileName> Input collections. The list of files with the hits to digitize
# jobproperties.AthenaCommonFlags.PoolRDOOutput=<FileName> Output file name
#--------------------------------------------------------------
# AthenaCommon configuration
#--------------------------------------------------------------
from AthenaCommon.AthenaCommonFlags import jobproperties
jobproperties.AthenaCommonFlags.EvtMax=5
jobproperties.AthenaCommonFlags.PoolHitsInput = ["root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.105200.T1_McAtNlo_Jimmy.merge.HITS.e835_s1310_s1300/HITS.508808._000857.pool.root.1"]
jobproperties.AthenaCommonFlags.PoolRDOOutput="DigitizationOutput.pool.root"
#--------------------------------------------------------------
# Digitiziation and Pileup configuration
#--------------------------------------------------------------
from Digitization.DigitizationFlags import digitizationFlags
digitizationFlags.doLowPtMinBias = True
digitizationFlags.doHighPtMinBias = True
digitizationFlags.doCavern = True
digitizationFlags.doBeamGas = False
digitizationFlags.doBeamHalo = False
digitizationFlags.bunchSpacing = 25
digitizationFlags.numberOfCavern = 2
digitizationFlags.numberOfLowPtMinBias = 2.3
digitizationFlags.numberOfHighPtMinBias = 0.0002
digitizationFlags.initialBunchCrossing = -32 #default
digitizationFlags.finalBunchCrossing = 32 #default
digitizationFlags.IOVDbGlobalTag = 'OFLCOND-SDR-BS7T-05-14'
digitizationFlags.overrideMetadata = ['SimLayout', 'PhysicsList']
digitizationFlags.LowPtMinBiasInputCols = ["root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108118.Pythia8_minbias_Inelastic_low.merge.HITS.e816_s1299_s1303/HITS.500617._000382.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108118.Pythia8_minbias_Inelastic_low.merge.HITS.e816_s1299_s1303/HITS.500617._001308.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108118.Pythia8_minbias_Inelastic_low.merge.HITS.e816_s1299_s1303/HITS.500617._001883.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108118.Pythia8_minbias_Inelastic_low.merge.HITS.e816_s1299_s1303/HITS.500617._001944.pool.root.1"]
digitizationFlags.HighPtMinBiasInputCols = ["root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108119.Pythia8_minbias_Inelastic_high.merge.HITS.e848_s1299_s1303/HITS.500616._001496.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108119.Pythia8_minbias_Inelastic_high.merge.HITS.e848_s1299_s1303/HITS.500616._002374.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108119.Pythia8_minbias_Inelastic_high.merge.HITS.e848_s1299_s1303/HITS.500616._007836.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108119.Pythia8_minbias_Inelastic_high.merge.HITS.e848_s1299_s1303/HITS.500616._009288.pool.root.1"]
digitizationFlags.cavernInputCols = ["root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108118.Pythia8_minbias_Inelastic_low.merge.HITS.e816_s1268_s1269_s1259/HITS.475989._001423.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108118.Pythia8_minbias_Inelastic_low.merge.HITS.e816_s1268_s1269_s1259/HITS.475989._001891.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108118.Pythia8_minbias_Inelastic_low.merge.HITS.e816_s1268_s1269_s1259/HITS.475989._002585.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108118.Pythia8_minbias_Inelastic_low.merge.HITS.e816_s1268_s1269_s1259/HITS.475989._003578.pool.root.1"]
#--------------------------------------------------------------
# Global flags. Like eg the DD version:
#--------------------------------------------------------------
from AthenaCommon.GlobalFlags import jobproperties
jobproperties.Global.DetDescrVersion = 'ATLAS-GEO-18-01-01'
#--------------------------------------------------------------------
# DetFlags. Use to turn on/off individual subdetector or LVL1 trigger
#--------------------------------------------------------------------
from AthenaCommon.DetFlags import DetFlags
DetFlags.ID_setOff()
DetFlags.Calo_setOn()
DetFlags.Muon_setOff()
DetFlags.Truth_setOn()
DetFlags.LVL1_setOff()
include( "Digitization/Digitization.py" )
# This is the configuration file to run ATLAS Digitization
# Use the following switches for:
# jobproperties.AthenaCommonFlags.EvtMax = <NEvents> Number of events to digitize (set to -1 for all)
# jobproperties.AthenaCommonFlags.SkipEvents = <NSkip> Number of events from input file collection to skip
# jobproperties.AthenaCommonFlags.PoolHitsInput=<FileName> Input collections. The list of files with the hits to digitize
# jobproperties.AthenaCommonFlags.PoolRDOOutput=<FileName> Output file name
#--------------------------------------------------------------
# AthenaCommon configuration
#--------------------------------------------------------------
from AthenaCommon.AthenaCommonFlags import jobproperties
jobproperties.AthenaCommonFlags.EvtMax=5
jobproperties.AthenaCommonFlags.PoolHitsInput = ["root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.105200.T1_McAtNlo_Jimmy.merge.HITS.e835_s1310_s1300/HITS.508808._000857.pool.root.1"]
jobproperties.AthenaCommonFlags.PoolRDOOutput="DigitizationOutput.pool.root"
#--------------------------------------------------------------
# Digitiziation and Pileup configuration
#--------------------------------------------------------------
from Digitization.DigitizationFlags import digitizationFlags
digitizationFlags.doLowPtMinBias = True
digitizationFlags.doHighPtMinBias = True
digitizationFlags.doCavern = True
digitizationFlags.doBeamGas = False
digitizationFlags.doBeamHalo = False
digitizationFlags.bunchSpacing = 25
digitizationFlags.numberOfCavern = 2
digitizationFlags.numberOfLowPtMinBias = 2.3
digitizationFlags.numberOfHighPtMinBias = 0.0002
digitizationFlags.initialBunchCrossing = -32 #default
digitizationFlags.finalBunchCrossing = 32 #default
digitizationFlags.IOVDbGlobalTag = 'OFLCOND-SDR-BS7T-05-14'
digitizationFlags.overrideMetadata = ['SimLayout', 'PhysicsList']
digitizationFlags.LowPtMinBiasInputCols = ["root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108118.Pythia8_minbias_Inelastic_low.merge.HITS.e816_s1299_s1303/HITS.500617._000382.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108118.Pythia8_minbias_Inelastic_low.merge.HITS.e816_s1299_s1303/HITS.500617._001308.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108118.Pythia8_minbias_Inelastic_low.merge.HITS.e816_s1299_s1303/HITS.500617._001883.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108118.Pythia8_minbias_Inelastic_low.merge.HITS.e816_s1299_s1303/HITS.500617._001944.pool.root.1"]
digitizationFlags.HighPtMinBiasInputCols = ["root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108119.Pythia8_minbias_Inelastic_high.merge.HITS.e848_s1299_s1303/HITS.500616._001496.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108119.Pythia8_minbias_Inelastic_high.merge.HITS.e848_s1299_s1303/HITS.500616._002374.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108119.Pythia8_minbias_Inelastic_high.merge.HITS.e848_s1299_s1303/HITS.500616._007836.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108119.Pythia8_minbias_Inelastic_high.merge.HITS.e848_s1299_s1303/HITS.500616._009288.pool.root.1"]
digitizationFlags.cavernInputCols = ["root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108118.Pythia8_minbias_Inelastic_low.merge.HITS.e816_s1268_s1269_s1259/HITS.475989._001423.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108118.Pythia8_minbias_Inelastic_low.merge.HITS.e816_s1268_s1269_s1259/HITS.475989._001891.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108118.Pythia8_minbias_Inelastic_low.merge.HITS.e816_s1268_s1269_s1259/HITS.475989._002585.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108118.Pythia8_minbias_Inelastic_low.merge.HITS.e816_s1268_s1269_s1259/HITS.475989._003578.pool.root.1"]
#--------------------------------------------------------------
# Global flags. Like eg the DD version:
#--------------------------------------------------------------
from AthenaCommon.GlobalFlags import jobproperties
jobproperties.Global.DetDescrVersion = 'ATLAS-GEO-18-01-01'
#--------------------------------------------------------------------
# DetFlags. Use to turn on/off individual subdetector or LVL1 trigger
#--------------------------------------------------------------------
from AthenaCommon.DetFlags import DetFlags
DetFlags.ID_setOn()
DetFlags.Calo_setOff()
DetFlags.Muon_setOff()
DetFlags.Truth_setOn()
DetFlags.LVL1_setOff()
include( "Digitization/Digitization.py" )
# This is the configuration file to run ATLAS Digitization
# Use the following switches for:
# jobproperties.AthenaCommonFlags.EvtMax = <NEvents> Number of events to digitize (set to -1 for all)
# jobproperties.AthenaCommonFlags.SkipEvents = <NSkip> Number of events from input file collection to skip
# jobproperties.AthenaCommonFlags.PoolHitsInput=<FileName> Input collections. The list of files with the hits to digitize
# jobproperties.AthenaCommonFlags.PoolRDOOutput=<FileName> Output file name
#--------------------------------------------------------------
# AthenaCommon configuration
#--------------------------------------------------------------
from AthenaCommon.AthenaCommonFlags import jobproperties
jobproperties.AthenaCommonFlags.EvtMax=5
jobproperties.AthenaCommonFlags.PoolHitsInput = ["root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.105200.T1_McAtNlo_Jimmy.merge.HITS.e835_s1310_s1300/HITS.508808._000857.pool.root.1"]
jobproperties.AthenaCommonFlags.PoolRDOOutput="DigitizationOutput.pool.root"
#--------------------------------------------------------------
# Digitiziation and Pileup configuration
#--------------------------------------------------------------
from Digitization.DigitizationFlags import digitizationFlags
digitizationFlags.doLowPtMinBias = True
digitizationFlags.doHighPtMinBias = True
digitizationFlags.doCavern = True
digitizationFlags.doBeamGas = False
digitizationFlags.doBeamHalo = False
digitizationFlags.bunchSpacing = 25
digitizationFlags.numberOfCavern = 2
digitizationFlags.numberOfLowPtMinBias = 2.3
digitizationFlags.numberOfHighPtMinBias = 0.0002
digitizationFlags.initialBunchCrossing = -32 #default
digitizationFlags.finalBunchCrossing = 32 #default
digitizationFlags.IOVDbGlobalTag = 'OFLCOND-SDR-BS7T-05-14'
digitizationFlags.overrideMetadata = ['SimLayout', 'PhysicsList']
digitizationFlags.LowPtMinBiasInputCols = ["root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108118.Pythia8_minbias_Inelastic_low.merge.HITS.e816_s1299_s1303/HITS.500617._000382.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108118.Pythia8_minbias_Inelastic_low.merge.HITS.e816_s1299_s1303/HITS.500617._001308.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108118.Pythia8_minbias_Inelastic_low.merge.HITS.e816_s1299_s1303/HITS.500617._001883.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108118.Pythia8_minbias_Inelastic_low.merge.HITS.e816_s1299_s1303/HITS.500617._001944.pool.root.1"]
digitizationFlags.HighPtMinBiasInputCols = ["root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108119.Pythia8_minbias_Inelastic_high.merge.HITS.e848_s1299_s1303/HITS.500616._001496.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108119.Pythia8_minbias_Inelastic_high.merge.HITS.e848_s1299_s1303/HITS.500616._002374.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108119.Pythia8_minbias_Inelastic_high.merge.HITS.e848_s1299_s1303/HITS.500616._007836.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108119.Pythia8_minbias_Inelastic_high.merge.HITS.e848_s1299_s1303/HITS.500616._009288.pool.root.1"]
digitizationFlags.cavernInputCols = ["root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108118.Pythia8_minbias_Inelastic_low.merge.HITS.e816_s1268_s1269_s1259/HITS.475989._001423.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108118.Pythia8_minbias_Inelastic_low.merge.HITS.e816_s1268_s1269_s1259/HITS.475989._001891.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108118.Pythia8_minbias_Inelastic_low.merge.HITS.e816_s1268_s1269_s1259/HITS.475989._002585.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108118.Pythia8_minbias_Inelastic_low.merge.HITS.e816_s1268_s1269_s1259/HITS.475989._003578.pool.root.1"]
#--------------------------------------------------------------
# Global flags. Like eg the DD version:
#--------------------------------------------------------------
from AthenaCommon.GlobalFlags import jobproperties
jobproperties.Global.DetDescrVersion = 'ATLAS-GEO-18-01-01'
#--------------------------------------------------------------------
# DetFlags. Use to turn on/off individual subdetector or LVL1 trigger
#--------------------------------------------------------------------
from AthenaCommon.DetFlags import DetFlags
DetFlags.ID_setOff()
DetFlags.Calo_setOff()
DetFlags.Muon_setOn()
DetFlags.Truth_setOn()
DetFlags.LVL1_setOff()
include( "Digitization/Digitization.py" )
# This is the configuration file to run ATLAS Digitization
# Use the following switches for:
# jobproperties.AthenaCommonFlags.EvtMax = <NEvents> Number of events to digitize (set to -1 for all)
# jobproperties.AthenaCommonFlags.SkipEvents = <NSkip> Number of events from input file collection to skip
# jobproperties.AthenaCommonFlags.PoolHitsInput=<FileName> Input collections. The list of files with the hits to digitize
# jobproperties.AthenaCommonFlags.PoolRDOOutput=<FileName> Output file name
#--------------------------------------------------------------
# AthenaCommon configuration
#--------------------------------------------------------------
from AthenaCommon.AthenaCommonFlags import jobproperties
jobproperties.AthenaCommonFlags.EvtMax = 5
jobproperties.AthenaCommonFlags.PoolHitsInput = ["root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.105200.T1_McAtNlo_Jimmy.merge.HITS.e835_s1310_s1300/HITS.508808._000857.pool.root.1"]
jobproperties.AthenaCommonFlags.PoolRDOOutput = "DigitizationOutput.pool.root"
#--------------------------------------------------------------
# Digitiziation and Pileup configuration
#--------------------------------------------------------------
from Digitization.DigitizationFlags import digitizationFlags
digitizationFlags.doLowPtMinBias = True
digitizationFlags.doHighPtMinBias = True
digitizationFlags.doCavern = True
digitizationFlags.doBeamGas = False
digitizationFlags.doBeamHalo = False
digitizationFlags.bunchSpacing = 25
digitizationFlags.numberOfCavern = 2
digitizationFlags.numberOfLowPtMinBias = 2.3
digitizationFlags.numberOfHighPtMinBias = 0.0002
digitizationFlags.initialBunchCrossing = -32 #default
digitizationFlags.finalBunchCrossing = 32 #default
digitizationFlags.IOVDbGlobalTag = 'OFLCOND-SDR-BS7T-05-14'
digitizationFlags.overrideMetadata = ['SimLayout', 'PhysicsList']
digitizationFlags.LowPtMinBiasInputCols = ["root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108118.Pythia8_minbias_Inelastic_low.merge.HITS.e816_s1299_s1303/HITS.500617._000382.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108118.Pythia8_minbias_Inelastic_low.merge.HITS.e816_s1299_s1303/HITS.500617._001308.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108118.Pythia8_minbias_Inelastic_low.merge.HITS.e816_s1299_s1303/HITS.500617._001883.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108118.Pythia8_minbias_Inelastic_low.merge.HITS.e816_s1299_s1303/HITS.500617._001944.pool.root.1"]
digitizationFlags.HighPtMinBiasInputCols = ["root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108119.Pythia8_minbias_Inelastic_high.merge.HITS.e848_s1299_s1303/HITS.500616._001496.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108119.Pythia8_minbias_Inelastic_high.merge.HITS.e848_s1299_s1303/HITS.500616._002374.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108119.Pythia8_minbias_Inelastic_high.merge.HITS.e848_s1299_s1303/HITS.500616._007836.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108119.Pythia8_minbias_Inelastic_high.merge.HITS.e848_s1299_s1303/HITS.500616._009288.pool.root.1"]
digitizationFlags.cavernInputCols = ["root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108118.Pythia8_minbias_Inelastic_low.merge.HITS.e816_s1268_s1269_s1259/HITS.475989._001423.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108118.Pythia8_minbias_Inelastic_low.merge.HITS.e816_s1268_s1269_s1259/HITS.475989._001891.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108118.Pythia8_minbias_Inelastic_low.merge.HITS.e816_s1268_s1269_s1259/HITS.475989._002585.pool.root.1",
"root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc11a/mc11_7TeV.108118.Pythia8_minbias_Inelastic_low.merge.HITS.e816_s1268_s1269_s1259/HITS.475989._003578.pool.root.1"]
#--------------------------------------------------------------
# Global flags. Like eg the DD version:
#--------------------------------------------------------------
from AthenaCommon.GlobalFlags import jobproperties
jobproperties.Global.DetDescrVersion = 'ATLAS-GEO-18-01-01'
#--------------------------------------------------------------------
# DetFlags. Use to turn on/off individual subdetector or LVL1 trigger
#--------------------------------------------------------------------
from AthenaCommon.DetFlags import DetFlags
DetFlags.ID_setOn()
DetFlags.Calo_setOn()
DetFlags.Muon_setOn()
DetFlags.Truth_setOn()
DetFlags.LVL1_setOn()
include( "Digitization/Digitization.py" )
# dijet production with pythia
from AthenaCommon.AlgSequence import AlgSequence
topAlg = AlgSequence("TopAlg")
from Pythia_i.Pythia_iConf import Pythia
topAlg += Pythia()
Pythia = topAlg.Pythia
theApp.EvtMax = 50
Pythia.PythiaCommand = [ "pysubs msel 0",
"pysubs ckin 3 560.",
"pysubs ckin 4 1120.",
"pysubs msub 11 1",
"pysubs msub 12 1",
"pysubs msub 13 1",
"pysubs msub 68 1",
"pysubs msub 28 1",
"pysubs msub 53 1",
"pypars mstp 82 4",
"pyinit pylisti 12",
"pyinit pylistf 1",
"pystat 1 3 4 5",
"pyinit dumpr 1 5" ]
# Set output level threshold (2=DEBUG, 3=INFO, 4=WARNING, 5=ERROR, 6=FATAL )
MessageSvc = Service( "MessageSvc" )
MessageSvc.OutputLevel = 3
from TruthExamples.TruthExamplesConf import PrintMC
topAlg += PrintMC()
topAlg.PrintMC.McEventKey = "GEN_EVENT"
topAlg.PrintMC.VerboseOutput = TRUE
topAlg.PrintMC.PrintStyle = "Barcode"
topAlg.PrintMC.FirstEvent = 1
topAlg.PrintMC.LastEvent = 5
# reconstruct some jets
from RecExConfig.RecFlags import rec
rec.doTruth = True
from JetRec.JetRecFlags import jetFlags
jetFlags.inputFileType = "GEN"
from JetRec.JetGetters import *
make_StandardJetGetter('Cone',0.7,'Truth')
make_StandardJetGetter('Cone',0.4,'Truth')
make_StandardJetGetter('Kt',0.6,'Truth')
make_StandardJetGetter('Kt',0.4,'Truth')
make_StandardJetGetter('SISCone',0.7,'Truth')
make_StandardJetGetter('SISCone',0.4,'Truth')
make_StandardJetGetter('AntiKt',0.6,'Truth')
make_StandardJetGetter('AntiKt',0.4,'Truth')
# helper alg to print PID
from ValgrindRTTJobs.ValgrindRTTJobsConf import ValgrindHelperAlg
topAlg+=ValgrindHelperAlg()
#---------------------------------------------------------------
# Pool Persistency
#---------------------------------------------------------------
from AthenaPoolCnvSvc.WriteAthenaPool import AthenaPoolOutputStream
## tweak the default commit interval for montecarlo needs
from AthenaCommon.AppMgr import ServiceMgr as svcMgr
svcMgr.AthenaPoolCnvSvc.CommitInterval = 10
from PoolSvc.PoolSvcConf import PoolSvc
from AthenaPoolCnvSvc.AthenaPoolCnvSvcConf import AthenaPoolCnvSvc
Stream1 = AthenaPoolOutputStream("Stream1")
Stream1.ItemList += ["EventInfo#*", "McEventCollection#*" ]
# Stream1.ForceRead=True
Stream1.OutputFile = "McEvent.root"
#! /usr/bin/env python
# module: PostProcessValgrind.py
from Logger import Logger
import os
import subprocess
import glob
class PostProcessValgrind:
def __init__(self,argDict={}):
self.logger = Logger()
descriptor = argDict.get('JobDescriptor', None)
self.RttName = descriptor.name
self.DisName = descriptor.jobDisplayName
self.NightlyType = descriptor.paths.branch # ==> e.g. dev, devval, 15.4.X.Y, etc.
self.ProjectName = descriptor.paths.topProject # ==> AtlasProduction, AtlasTier0, etc.
# self.cmtConfigStr = descriptor.paths.cmtConfig # ==> e.g. i686-slc4-gcc34-opt
self.PackageTag = descriptor.paths.packageTag # ==> e.g. PackageTag-00-01-20
self.resPath = descriptor.resPath
def run(self):
releaseName = os.environ['AtlasVersion']
atlasArea = os.environ['AtlasArea']
cmtConfig = os.environ['CMTCONFIG']
fStr = [ '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\n',
'<html> <head>\n',
'<title>Valgrind Report for ' + self.RttName + ' release ' + releaseName + ' of project ' + self.ProjectName + '</title>\n',
'</head> <body>\n',
'<h1>Valgrind Report for: ' + self.RttName + '</h1>\n',
'<table border="0">\n',
'<tr> <td>release</td> <td>' + releaseName + '</td> </tr> \n',
'<tr> <td>project</td> <td>' + self.ProjectName + '</td> </tr> \n',
'<tr> <td>AtlasArea points to </td> <td>' + atlasArea + '</td> </tr> \n',
'<tr> <td>CMTCONFIG </td> <td>' + cmtConfig + '</td> </tr> \n' ]
fStrVetoed = [ '</table>\n', '<h3>JOB WAS VETOED ! </h3>\n', '</body>\n', '</html>\n' ]
f = open("Report.html", "w")
f.writelines(fStr)
if os.path.isfile('veto.log'):
f.writelines(fStrVetoed)
f.close()
return -1
f.close()
# post processing the valgrind output
self.logger.info("PostProcessValgrind run()")
runNoTool=True
# did we run memcheck ?
if len(glob.glob("valgrind.out.process.*"))>0:
runNoTool=False
self.logger.info( os.system( 'ls -l processValgrindOutput.sh') )
#try:
# r, w = popen2.popen4( 'processValgrindOutput.sh' )
#except IOError:
# self.logger.info( 'not good. something is wrong' )
# exit(-1)
try:
os.environ['VG_RDIR'] = self.resPath
p = subprocess.Popen(["./processValgrindOutput.sh"], shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, close_fds=True)
(child_stdout, child_stdin) = (p.stdout, p.stdin)
# subprocess.STDOUT
out = child_stdout.readlines()
for i in out:
self.logger.info( i )
child_stdout.close()
except IOError:
self.logger.info( 'not good. something is wrong' )
return -1
if len(glob.glob("callgrind.out.process.*"))>0:
runNoTool=False
# grep -l 'bin/athena.py' valgrind.out.process.*
try:
# r, w = popen2.popen4( 'callgrind_annotate `grep -l "bin/athena.py" callgrind.out.process.*` > callgraph.log' )
# p = subprocess.Popen(["callgrind_annotate `grep -c -e 'bin/athena.py' -e 'summary: [1-9]' callgrind.out.process.* | grep ':2$' | sed 's/:2$//g'`"], shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, close_fds=True)
p = subprocess.Popen(["callgrind_annotate --threshold=90 --inclusive=yes --tree=calling t/callgrind.out.process.*"], shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, close_fds=True)
(child_stdout, child_stdin) = (p.stdout, p.stdin)
# subprocess.STDOUT
out = child_stdout.readlines()
f = open("Report.html", "a")
f.writelines("Top consumers:</br><pre>\n")
for i in out:
self.logger.info(i)
f.writelines(i)
child_stdout.close()
f.writelines("</pre>\n")
f.close()
except IOError:
self.logger.info( 'not good. something is wrong' )
return -1
self.logger.info( os.system( 'gzip callgrind.out.process.*') )
if len(glob.glob("massif.out.process.*"))>0:
runNoTool=False
# grep -l 'bin/athena.py' valgrind.out.process.*
try:
r, w = popen2.popen4( 'ms_print `grep -l "bin/athena.py" massif.out.process.*` > massif.log' )
except IOError:
self.logger.info( 'not good. something is wrong' )
return -1
self.logger.info( os.system( 'gzip massif.out.process.*') )
if runNoTool:
try:
os.environ['VG_RDIR'] = self.resPath
p = subprocess.Popen(["./dhat-postprocess.pl"], shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, close_fds=True)
(child_stdout, child_stdin) = (p.stdout, p.stdin)
# subprocess.STDOUT
out = child_stdout.readlines()
for i in out:
self.logger.info( i )
child_stdout.close()
except IOError:
self.logger.info( 'not good. something is wrong' )
return -1
# out = r.readlines()
# for i in out:
# self.logger.info( i )
# r.close()
return 0
###############################################################
#
# Job options file
#
#==============================================================
#--------------------------------------------------------------
# ATLAS default Application Configuration options
#--------------------------------------------------------------
# Use McEventSelector so we can run with AthenaMP
import AthenaCommon.AtlasUnixGeneratorJob
#--------------------------------------------------------------
# Private Application Configuration options
#--------------------------------------------------------------