Skip to content
Snippets Groups Projects
Commit 0b56fe7a authored by Walter Lampl's avatar Walter Lampl Committed by Melissa Yexley
Browse files

Drop obsolete LArNoiseBurst code, superseeded by LArNoiseConfig.py and LArNoiseSkeleton.py

Drop obsolete LArNoiseBurst code, superseeded by LArNoiseConfig.py and LArNoiseSkeleton.py
parent 986c924f
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env python
# Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
__doc__ = """JobTransform to run LAr Noise Burst jobs"""
import sys
from PyJobTransforms.transform import transform
from PyJobTransforms.trfExe import athenaExecutor
from PyJobTransforms.trfArgs import addAthenaArguments, addDetectorArguments
import PyJobTransforms.trfArgClasses as trfArgClasses
if __name__ == '__main__':
executorSet = set()
executorSet.add(athenaExecutor(name = 'LArNoiseBursts_from_raw', skeletonFile = None,
skeletonCA='LArCafJobs.LArNoiseFromRawSkeleton',
substep = 'r2e', inData = ['BS',], outData = ['NTUP_LARNOISE','NTUP_HECNOISE','HIST_LARNOISE']))
trf = transform(executor = executorSet)
addAthenaArguments(trf.parser)
addDetectorArguments(trf.parser)
trf.parser.add_argument('--inputBSFile', nargs='+',
type=trfArgClasses.argFactory(trfArgClasses.argPOOLFile, io='input'),
help='Input BS file', group='Reco Files')
trf.parser.add_argument('--outputNTUP_LARNOISEFile', nargs='+',
type=trfArgClasses.argFactory(trfArgClasses.argNTUPFile, io='output'),
help='Output LAr Noise Burst file', group='Ntuple Files')
trf.parser.add_argument('--outputNTUP_HECNOISEFile', nargs='+',
type=trfArgClasses.argFactory(trfArgClasses.argNTUPFile, io='output'),
help='Output HECNoise file', group='Ntuple Files')
trf.parser.add_argument('--outputHIST_LARNOISEFile', nargs='+',
type=trfArgClasses.argFactory(trfArgClasses.argHISTFile, io='output',countable=False),
help='Output Noise hist file', group='Hist Files')
trf.parseCmdLineArgs(sys.argv[1:])
trf.execute()
trf.generateReport()
# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
from AthenaCommon.AthenaCommonFlags import athenaCommonFlags
from AthenaCommon.AppMgr import (theApp, ServiceMgr as svcMgr,ToolSvc)
# Event selector
import AthenaPoolCnvSvc.ReadAthenaPool
from AthenaServices.AthenaServicesConf import AthenaEventLoopMgr
AthenaEventLoopMgr.OutputLevel = WARNING
from RecExConfig.RecFlags import rec
rec.readRDO.set_Value_and_Lock(False)
rec.readTAG.set_Value_and_Lock(False)
rec.readESD.set_Value_and_Lock(True)
rec.readAOD.set_Value_and_Lock(False)
rec.doWriteESD.set_Value_and_Lock(False)
rec.doWriteAOD.set_Value_and_Lock(False)
rec.doWriteTAG.set_Value_and_Lock(False)
rec.doHist.set_Value_and_Lock(False)
rec.doCBNT.set_Value_and_Lock(False)
rec.doAOD.set_Value_and_Lock(False)
rec.doTrigger.set_Value_and_Lock(False)
rec.doPerfMon.set_Value_and_Lock(False)
rec.doDPD.set_Value_and_Lock(False)
include ("RecExCommon/RecExCommon_topOptions.py")
from LArCellRec.LArNoisyROSummaryGetter import LArNoisyROSummaryGetter
LArNoisyROSummaryGetter.ignoreExistingDataObject = lambda x: True
LArNoisyROSummaryGetter()
#topSequence.LArNoisyROAlg.BadFEBCut = 2000
#topSequence.LArNoisyROAlg.SaturatedCellQualityCut = 111165535
#Necessary DLL's
theApp.Dlls += [ "LArRawUtils","LArROD", "LArTools"]
theApp.Dlls += [ "LArByteStream"]
# set up trigger configuration service
from TriggerJobOpts.TriggerConfigGetter import TriggerConfigGetter
cfg = TriggerConfigGetter()
## set up trigger decision tool
from TrigDecisionTool.TrigDecisionToolConf import Trig__TrigDecisionTool
ToolSvc += Trig__TrigDecisionTool( "TrigDecisionTool" )
# --- CaloNoise configuration ---
from CaloTools.CaloNoiseCondAlg import CaloNoiseCondAlg
CaloNoiseCondAlg ('totalNoise')
# BunchCrossing info
from LumiBlockComps.BunchCrossingCondAlgDefault import BunchCrossingCondAlgDefault
BunchCrossingCondAlgDefault()
# --- SCTClusteringTool configuration ---
from SiClusterizationTool.SiClusterizationToolConf import InDet__SCT_ClusteringTool
InDetSCT_ClusteringTool = InDet__SCT_ClusteringTool()
include ( "ParticleBuilderOptions/ESD_PoolCnv_jobOptions.py" )
include ( "ParticleBuilderOptions/AOD_PoolCnv_jobOptions.py" )
include ( "ParticleBuilderOptions/McAOD_PoolCnv_jobOptions.py" )
include ( "EventAthenaPool/EventAthenaPool_joboptions.py" )
# Athena-Aware NTuple making Tools
CBNTAthenaAware = False
################################ LArTimeAlg###########################################
#David Cote: added include block to avoid duplication ERROR when TAG_COMM and DESDs are executed in the same job (both including this fragment).
include.block("LArCellRec/LArCollisionTime_jobOptions.py")
from LArCellRec.LArCellRecConf import LArCollisionTimeAlg
topSequence += LArCollisionTimeAlg("LArCollisionTimeAlg")
from AthenaCommon.GlobalFlags import globalflags
if globalflags.DataSource()=='data' :
topSequence.LArCollisionTimeAlg.isMC = False
else :
topSequence.LArCollisionTimeAlg.isMC = True
# dont require anymore explicitely that the time iteration converges
topSequence.LArCollisionTimeAlg.cutIteration = False
topSequence.LArCollisionTimeAlg.OutputLevel = INFO
###################################################################
from PyUtils.MetaReaderPeeker import metadata
if 'IS_SIMULATION' not in metadata['eventTypes']:
from IOVDbSvc.CondDB import conddb
if not conddb.folderRequested('/TDAQ/RunCtrl/DataTakingMode'):
conddb.addFolder('TDAQ', '/TDAQ/RunCtrl/DataTakingMode')
if not conddb.folderRequested('/TDAQ/OLC/LHC/FILLPARAMS'):
conddb.addFolder('TDAQ', '/TDAQ/OLC/LHC/FILLPARAMS')
if not conddb.folderRequested('/LHC/DCS/FILLSTATE'):
conddb.addFolder('DCS_OFL', '/LHC/DCS/FILLSTATE')
from SiSpacePointTool.SiSpacePointToolConf import InDet__SiSpacePointMakerTool
InDetSiSpacePointMakerTool = InDet__SiSpacePointMakerTool(name = "InDetSiSpacePointMakerTool")
ToolSvc+=InDetSiSpacePointMakerTool
from SiSpacePointFormation.SiSpacePointFormationConf import InDet__SiTrackerSpacePointFinder
InDetSiTrackerSpacePointFinder = InDet__SiTrackerSpacePointFinder(name = "InDetSiTrackerSpacePointFinder")
topSequence += InDetSiTrackerSpacePointFinder
# Condition algorithm for SiTrackerSpacePointFinder
from AthenaCommon.AlgSequence import AthSequencer
condSeq = AthSequencer("AthCondSeq")
if not hasattr(condSeq, "InDetSiElementPropertiesTableCondAlg"):
from SiSpacePointFormation.SiSpacePointFormationConf import InDet__SiElementPropertiesTableCondAlg
condSeq += InDet__SiElementPropertiesTableCondAlg(name = "InDetSiElementPropertiesTableCondAlg")
from LArCafJobs.LArCafJobsConf import LArNoiseBursts
topSequence += LArNoiseBursts( "LArNoiseBursts" )
topSequence.LArNoiseBursts.BCTool = theBCTool
topSequence.LArNoiseBursts.SCTClusteringTool = InDetSCT_ClusteringTool
topSequence.LArNoiseBursts.SigmaCut = 3.0
topSequence.LArNoiseBursts.MBTSCellChargeThreshold = 44./222.
topSequence.LArNoiseBursts.NumberOfBunchesInFront = 30
topSequence.LArNoiseBursts.OutputLevel = DEBUG
prodFlags = jobproperties.LArNoiseBurstFlags
from GaudiSvc.GaudiSvcConf import THistSvc
svcMgr += THistSvc()
svcMgr.THistSvc.Output = ["TTREE DATAFILE='"+prodFlags.outputFile()+"' OPT='RECREATE'"]
#!/usr/bin/env python
# Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
__doc__ = """JobTransform to run LAr Noise Burst jobs"""
import sys
from PyJobTransforms.transform import transform
from PyJobTransforms.trfExe import athenaExecutor
from PyJobTransforms.trfArgs import addAthenaArguments, addDetectorArguments
import PyJobTransforms.trfArgClasses as trfArgClasses
if __name__ == '__main__':
executorSet = set()
executorSet.add(athenaExecutor(name = 'LArNoiseBursts', skeletonFile = None,
skeletonCA='LArCafJobs.LArNoiseSkeleton',
substep = 'e2a', inData = ['ESD',], outData = ['NTUP_LARNOISE','NTUP_HECNOISE']))
trf = transform(executor = executorSet)
addAthenaArguments(trf.parser)
addDetectorArguments(trf.parser)
trf.parser.add_argument('--inputESDFile', nargs='+',
type=trfArgClasses.argFactory(trfArgClasses.argPOOLFile, io='input'),
help='Input pool file', group='Reco Files')
trf.parser.add_argument('--outputNTUP_LARNOISEFile', nargs='+',
type=trfArgClasses.argFactory(trfArgClasses.argNTUPFile, io='output'),
help='Output LAr Noise Burst file', group='Ntuple Files')
trf.parser.add_argument('--outputNTUP_HECNOISEFile', nargs='+',
type=trfArgClasses.argFactory(trfArgClasses.argNTUPFile, io='output'),
help='Output HECNoise file', group='Ntuple Files')
trf.parseCmdLineArgs(sys.argv[1:])
trf.execute()
trf.generateReport()
# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
from AthenaCommon.AthenaCommonFlags import athenaCommonFlags
from AthenaCommon.AppMgr import (theApp, ServiceMgr as svcMgr,ToolSvc)
# Event selector
import AthenaPoolCnvSvc.ReadAthenaPool
from AthenaServices.AthenaServicesConf import AthenaEventLoopMgr
AthenaEventLoopMgr.OutputLevel = WARNING
from PyJobTransformsCore.runargs import RunArguments
runArgs = RunArguments()
runArgs.inputESDFile = [
"rfio:/castor/cern.ch/grid/atlas/tzero/prod1/perm/data14_cos/physics_CosmicCalo/00247390/data14_cos.00247390.physics_CosmicCalo.recon.ESD.x289/data14_cos.00247390.physics_CosmicCalo.recon.ESD.x289._lb0084._SFO-ALL._0001.1"
]
athenaCommonFlags.FilesInput.set_Value_and_Lock( runArgs.inputESDFile )
athenaCommonFlags.EvtMax.set_Value_and_Lock(-1)
from RecExConfig.RecFlags import rec
rec.readRDO.set_Value_and_Lock(False)
rec.readTAG.set_Value_and_Lock(False)
rec.readESD.set_Value_and_Lock(True)
rec.readAOD.set_Value_and_Lock(False)
rec.doWriteESD.set_Value_and_Lock(False)
rec.doWriteAOD.set_Value_and_Lock(False)
rec.doWriteTAG.set_Value_and_Lock(False)
rec.doHist.set_Value_and_Lock(False)
rec.doCBNT.set_Value_and_Lock(False)
rec.doAOD.set_Value_and_Lock(False)
rec.doTrigger.set_Value_and_Lock(False)
rec.doPerfMon.set_Value_and_Lock(False)
rec.doDPD.set_Value_and_Lock(False)
include ("RecExCommon/RecExCommon_topOptions.py")
# 11/2014 : 3 lines below commented by B.Trocme to avoid crash with 19.1.3.7
# ("duplicated object"). Not sure if LArNoisyRO_Std/SatTight are properly
# computed in a different place.
#from LArCellRec.LArNoisyROSummaryGetter import LArNoisyROSummaryGetter
#LArNoisyROSummaryGetter.ignoreExistingDataObject = lambda x: True
#LArNoisyROSummaryGetter()
# End of B.Trocme 11/2014 modification
#topSequence.LArNoisyROAlg.BadFEBCut = 2000
#topSequence.LArNoisyROAlg.SaturatedCellQualityCut = 111165535
#Necessary DLL's
theApp.Dlls += [ "LArRawUtils","LArROD", "LArTools"]
theApp.Dlls += [ "LArByteStream"]
# set up trigger configuration service
from TriggerJobOpts.TriggerConfigGetter import TriggerConfigGetter
cfg = TriggerConfigGetter()
## set up trigger decision tool
from TrigDecisionTool.TrigDecisionToolConf import Trig__TrigDecisionTool
ToolSvc += Trig__TrigDecisionTool( "TrigDecisionTool" )
# --- CaloNoise configuration ---
from CaloTools.CaloNoiseCondAlg import CaloNoiseCondAlg
CaloNoiseCondAlg ('totalNoise')
# BunchCrossing info
from LumiBlockComps.BunchCrossingCondAlgDefault import BunchCrossingCondAlgDefault
BunchCrossingCondAlgDefault()
include ( "ParticleBuilderOptions/ESD_PoolCnv_jobOptions.py" )
include ( "ParticleBuilderOptions/AOD_PoolCnv_jobOptions.py" )
include ( "ParticleBuilderOptions/McAOD_PoolCnv_jobOptions.py" )
include ( "EventAthenaPool/EventAthenaPool_joboptions.py" )
# Athena-Aware NTuple making Tools
CBNTAthenaAware = False
################################ LArTimeAlg###########################################
#David Cote: added include block to avoid duplication ERROR when TAG_COMM and DESDs are executed in the same job (both including this fragment).
include.block("LArCellRec/LArCollisionTime_jobOptions.py")
from LArCellRec.LArCellRecConf import LArCollisionTimeAlg
topSequence += LArCollisionTimeAlg("LArCollisionTimeAlg")
from AthenaCommon.GlobalFlags import globalflags
if globalflags.DataSource()=='data' :
topSequence.LArCollisionTimeAlg.isMC = False
else :
topSequence.LArCollisionTimeAlg.isMC = True
# dont require anymore explicitely that the time iteration converges
topSequence.LArCollisionTimeAlg.cutIteration = False
topSequence.LArCollisionTimeAlg.OutputLevel = INFO
###################################################################
from LArCafJobs.LArCafJobsConf import LArNoiseBursts
topSequence += LArNoiseBursts( "LArNoiseBursts" )
topSequence.LArNoiseBursts.BCTool = theBCTool
topSequence.LArNoiseBursts.SigmaCut = 3.0
topSequence.LArNoiseBursts.NumberOfBunchesInFront = 30
topSequence.LArNoiseBursts.OutputLevel = INFO
from GaudiSvc.GaudiSvcConf import THistSvc
svcMgr += THistSvc()
svcMgr.THistSvc.Output = ["TTREE DATAFILE='LArNoiseBursts_TTree.root' OPT='RECREATE'"]
# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
import sys
from AthenaCommon.Logging import logging
recoLog = logging.getLogger('LArNoise')
from AthenaCommon.AppMgr import (theApp, ServiceMgr as svcMgr,ToolSvc)
from AthenaCommon.AlgSequence import AlgSequence
topSequence = AlgSequence()
#############################################################33
#include("LArConditionsCommon/LArMinimalSetup.py")
from AthenaCommon.AthenaCommonFlags import athenaCommonFlags
from AthenaCommon.GlobalFlags import globalflags
globalflags.DetGeo.set_Value_and_Lock('atlas')
#globalflags.Luminosity.set_Value_and_Lock('zero')
globalflags.InputFormat.set_Value_and_Lock('pool')
globalflags.DataSource.set_Value_and_Lock('data')
#globalflags.DatabaseInstance.set_Value_and_Lock('CONDBR2')
# Not sure that this is correct
# In LArCAF, BSRDOInput was used but here; ESDInput does not work...
athenaCommonFlags.FilesInput.set_Value_and_Lock(runArgs.inputESDFile)
from RecExConfig.RecFlags import rec
from RecExConfig.RecAlgsFlags import recAlgs
from RecExConfig.AutoConfiguration import GetProjectName,ConfigureGeo
rec.projectName=GetProjectName()
## Pre-exec
if hasattr(runArgs,"preExec"):
recoLog.info("transform pre-exec")
for cmd in runArgs.preExec:
recoLog.info(cmd)
exec(cmd)
## Pre-include
if hasattr(runArgs,"preInclude"):
for fragment in runArgs.preInclude:
include(fragment)
ConfigureGeo()
rec.readRDO.set_Value_and_Lock(False)
rec.readTAG.set_Value_and_Lock(False)
rec.readESD.set_Value_and_Lock(True)
rec.readAOD.set_Value_and_Lock(False)
rec.doWriteESD.set_Value_and_Lock(False)
rec.doWriteAOD.set_Value_and_Lock(False)
rec.doWriteTAG.set_Value_and_Lock(False)
rec.doHist.set_Value_and_Lock(False)
rec.doCBNT.set_Value_and_Lock(False)
rec.doAOD.set_Value_and_Lock(False)
rec.doTrigger.set_Value_and_Lock(True)
rec.doPerfMon.set_Value_and_Lock(False)
rec.doDPD.set_Value_and_Lock(False)
rec.doWriteAOD=False
from AthenaCommon.JobProperties import jobproperties
#if hasattr(runArgs,'geometryVersion'):
# jobproperties.Global.DetDescrVersion = runArgs.geometryVersion
# printfunc ("I found the geometryVersion of",defaultGeoVersion)
#else:
# defaultGeoVersion="ATLAS-GEO-18-00-01"
# printfunc ("No geometryVersion given, use default value of",defaultGeoVersion)
# jobproperties.Global.DetDescrVersion = defaultGeoVersion
from AthenaCommon.DetFlags import DetFlags
DetFlags.Calo_setOn()
DetFlags.ID_setOff()
DetFlags.Muon_setOff()
DetFlags.Truth_setOff()
DetFlags.LVL1_setOff()
DetFlags.digitize.all_setOff()
DetFlags.Print()
#from AtlasGeoModel import SetGeometryVersion
from AtlasGeoModel import GeoModelInit
from AtlasGeoModel import SetupRecoGeometry
svcMgr.GeoModelSvc.AtlasVersion=globalflags.DetDescrVersion()
if hasattr(runArgs,"outputNTUP_HECNOISEFile"):
from LArConditionsCommon.LArCondFlags import larCondFlags
larCondFlags.LoadElecCalib.set_Value_and_Lock(True)
#Get identifier mapping
include( "LArConditionsCommon/LArIdMap_comm_jobOptions.py" )
include( "LArIdCnv/LArIdCnv_joboptions.py" )
# Event selector
import AthenaPoolCnvSvc.ReadAthenaPool
###############################################################
from LArConditionsCommon.LArCondFlags import larCondFlags
include("LArConditionsCommon/LArConditionsCommon_comm_jobOptions.py")
if not hasattr(runArgs,"conditionsTag") or runArgs.conditionsTag=="CURRENT":
printfunc ("Resolving 'CURRENT' express conditions tag ...")
sys.path.append('/afs/cern.ch/user/a/atlcond/utils/python/')
from AtlCoolBKLib import resolveAlias
resolver=resolveAlias()
currentGlobalES=resolver.getCurrentES().replace("*","ST")
printfunc ("Found ",currentGlobalES)
svcMgr.IOVDbSvc.GlobalTag=currentGlobalES
else:
svcMgr.IOVDbSvc.GlobalTag=runArgs.conditionsTag
#"COMCOND-BLKP-005-05"
if hasattr(runArgs,"skipEvents"):
svcMgr.EventSelector.SkipEvents=runArgs.skipEvents
if hasattr(runArgs,"maxEvents"):
theApp.EvtMax=runArgs.maxEvents
#
#####################
from RecExConfig.ObjKeyStore import objKeyStore
from PyUtils.MetaReaderPeeker import convert_itemList
objKeyStore.addManyTypesInputFile(convert_itemList(layout = '#join'))
# trigger configuration
from AthenaConfiguration.OldFlags2NewFlags import getNewConfigFlags
ConfigFlags = getNewConfigFlags()
ConfigFlags.Trigger.readBS = False
ConfigFlags.Trigger.doID = False
# FIXME: obsolete/broken trigger configuration has been removed
# need to switch to CA config
from CaloTools.CaloNoiseCondAlg import CaloNoiseCondAlg
CaloNoiseCondAlg ('totalNoise')
# BunchCrossing info
from LumiBlockComps.BunchCrossingCondAlgDefault import BunchCrossingCondAlgDefault
BunchCrossingCondAlgDefault()
svcMgr.EventSelector.InputCollections = athenaCommonFlags.FilesInput()
include("LArCellRec//LArCollisionTime_jobOptions.py")
from LArCafJobs.LArCafJobsConf import LArNoiseBursts
topSequence += LArNoiseBursts( "LArNoiseBursts" )
topSequence.LArNoiseBursts.BCTool = theBCTool
topSequence.LArNoiseBursts.SigmaCut = 3.0
topSequence.LArNoiseBursts.NumberOfBunchesInFront = 30
conddb.addFolder("TDAQ","/TDAQ/RunCtrl/DataTakingMode")
theApp.HistogramPersistency = "ROOT"
from GaudiSvc.GaudiSvcConf import THistSvc
svcMgr += THistSvc()
if hasattr(runArgs,"outputNTUP_LARNOISEFile"):
svcMgr.THistSvc.Output += ["TTREE DATAFILE='"+runArgs.outputNTUP_LARNOISEFile+"' OPT='RECREATE'"]
if hasattr(runArgs,"outputNTUP_HECNOISEFile"):
from LArCafJobs.LArCafJobsConf import LArHECNoise
topSequence += LArHECNoise('LArHECNoise')
svcMgr.THistSvc.Output += ["HEC DATAFILE='"+runArgs.outputNTUP_HECNOISEFile+"' OPT='RECREATE'"]
#little hack while autoConfiguration=everything is still not the default...
if hasattr(runArgs,"inputESDFile") and not hasattr(runArgs,"inputFile"):
athenaCommonFlags.FilesInput.set_Value_and_Lock( runArgs.inputESDFile )
from AthenaServices.AthenaServicesConf import AthenaEventLoopMgr
svcMgr += AthenaEventLoopMgr()
svcMgr.AthenaEventLoopMgr.EventPrintoutInterval = 100
theAuditorSvc = svcMgr.AuditorSvc
theAuditorSvc.Auditors += [ "ChronoAuditor"]
#svcMgr.ChronoStatSvc.ChronoDestinationCout = True
svcMgr.ChronoStatSvc.PrintUserTime = True
svcMgr.ChronoStatSvc.PrintSystemTime = True
svcMgr.ChronoStatSvc.PrintEllapsedTime = True
#svcMgr.ChronoStatSvc.NumberOfSkippedEventsForMemStat = 1
#svcMgr.ChronoStatSvc.AsciiStatsOutputFile = "chronoStats.ascii"
#svcMgr.AthenaPoolCnvSvc.UseDetailChronoStat = True
theApp.AuditAlgorithms = True
#Hack to load the right dict to write vector< vector < X > > to TTRee
#import AthenaPython.PyAthena as PyAthena
#PyAthena.load_library('AtlasSTLAddReflexDict')
#svcMgr.ToolSvc.OutputLevel=DEBUG
svcMgr.MessageSvc.Format = "% F%50W%S%7W%R%T %0W%M"
svcMgr.MessageSvc.defaultLimit = 9999999 # all messages
svcMgr.MessageSvc.useColors = False
svcMgr.MessageSvc.defaultLimit=1000000
#svcMgr.MessageSvc.OutputLevel=DEBUG
#svcMgr.StoreGateSvc.Dump=True
## Post-include
if hasattr(runArgs,"postInclude"):
for fragment in runArgs.postInclude:
include(fragment)
## Post-exec
if hasattr(runArgs,"postExec"):
recoLog.info("transform post-exec")
for cmd in runArgs.postExec:
recoLog.info(cmd)
exec(cmd)
......@@ -125,15 +125,6 @@ if hasattr(runArgs,"outputNTUP_ENHBIASFile"):
include("TrigCostAthena/ESDtoNTUP_ENHBIAS.py")
if hasattr(runArgs,"outputNTUP_LARNOISEFile"):
from LArMonitoring.LArMonitoringFlags import larNoiseBurstFlags
larNoiseBurstFlags.outputFile = runArgs.outputNTUP_LARNOISEFile
#little hack while autoConfiguration=everything is still not the default...
if hasattr(runArgs,"inputESDFile") and not hasattr(runArgs,"inputFile"):
athenaCommonFlags.FilesInput.set_Value_and_Lock( runArgs.inputESDFile )
include("LArMonitoring/LArNoiseBursts_prodJO.py")
if hasattr(runArgs,"outputNTUP_FastCaloSimFile"):
from ISF_FastCaloSimParametrization.ISF_NativeFastCaloSimJobProperties import ISF_NativeFastCaloSimFlags
ISF_NativeFastCaloSimFlags.outputFile = runArgs.outputNTUP_FastCaloSimFile
......
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