else: tmp_useBeamBackgroundRemoval = TRUE if not (rec.triggerStream() == 'CosmicCalo'): tmp_useBeamBackgroundRemoval = FALSE print "not CosmicCalo stream" print "tmp_useBeamBackgroundRemoval=", tmp_useBeamBackgroundRemoval CaloClustMonCosmicsNoTA = CaloClusterVecMon( name="CaloClustMonCosmicsNoTA", CaloClusterContainer="CaloCalTopoClusters", TimeGran=tmp_timeGran, useBadLBTool=tmp_useBadLBTool, BadLBTool=GetLArBadLBFilterTool(), useReadyFilterTool=tmp_useReadyFilterTool, ReadyFilterTool=monAtlasReadyFilterTool, useLArNoisyAlg=tmp_useLArNoisyAlg, useBeamBackgroundRemoval=tmp_useBeamBackgroundRemoval, # cluster energy threshold in GeV lowEthresh=0.0, lowmedEthresh=10.0, medEthresh=25, # medhiEthresh = 15.0, hiEthresh=50.0, ) ToolSvc += CaloClustMonCosmicsNoTA CaloMon.AthenaMonTools += [CaloClustMonCosmicsNoTA]
else: tmp_useBeamBackgroundRemoval = TRUE if not (rec.triggerStream() == 'CosmicCalo'): tmp_useBeamBackgroundRemoval = FALSE print "not CosmicCalo stream" print "tmp_useBeamBackgroundRemoval=", tmp_useBeamBackgroundRemoval LArCosmicsClusterMon = CaloClusterVecMon( name="LArCosmicsClusterMon", CaloClusterContainer="LArMuClusterCandidates", TimeGran="lowStat", useBadLBTool=tmp_useBadLBTool, BadLBTool=GetLArBadLBFilterTool(), useReadyFilterTool=tmp_useReadyFilterTool, ReadyFilterTool=monAtlasReadyFilterTool, useLArNoisyAlg=tmp_useLArNoisyAlg, useBeamBackgroundRemoval=tmp_useBeamBackgroundRemoval, # cluster energy threshold in GeV lowEthresh=0.0, lowmedEthresh=1.0, medEthresh=1.5, # medhiEthresh = 4.0, hiEthresh=5.0, ) ToolSvc += LArCosmicsClusterMon CaloMon.AthenaMonTools += [LArCosmicsClusterMon]
tmp_CaloClusterVecMonCollisions["useReadyFilterTool"] = TRUE tmp_CaloClusterVecMonCollisions["useLArNoisyAlg"] = TRUE if (rec.triggerStream() == 'CosmicCalo'): tmp_CaloClusterVecMonCollisions["useLArCollisionFilter"] = TRUE tmp_CaloClusterVecMonCollisions["useBeamBackgroundRemoval"] = TRUE CaloClusterMonNoTA = CaloClusterVecMon( name="CaloClusterMonNoTA", CaloClusterContainer="CaloCalTopoClusters", TimeGran=tmp_CaloClusterVecMonCollisions["timeGran"], useBadLBTool=tmp_CaloClusterVecMonCollisions["useBadLBTool"], BadLBTool=GetLArBadLBFilterTool(), useReadyFilterTool=tmp_CaloClusterVecMonCollisions["useReadyFilterTool"], ReadyFilterTool=monAtlasReadyFilterTool, useLArCollisionFilterTool=tmp_CaloClusterVecMonCollisions[ "useLArCollisionFilter"], useLArNoisyAlg=tmp_CaloClusterVecMonCollisions["useLArNoisyAlg"], useBeamBackgroundRemoval=tmp_CaloClusterVecMonCollisions[ "useBeamBackgroundRemoval"], # cluster energy threshold in GeV lowEthresh=0.0, lowmedEthresh=10.0, medEthresh=25.0, hiEthresh=50.0, ) ToolSvc += CaloClusterMonNoTA CaloMon.AthenaMonTools += [CaloClusterMonNoTA]
tmp_useLArCollisionFilter = FALSE printfunc("not CosmicCalo stream") else: tmp_useLArCollisionFilter = TRUE printfunc("tmp_useBeamBackgroundRemoval=", tmp_useBeamBackgroundRemoval) printfunc("tmp_useLArCollisionFilter=", tmp_useLArCollisionFilter) EMCaloClusterMonNoTA = CaloClusterVecMon( name="EMCaloClusterMonNoTA", CaloClusterContainer=tmp_CaloClusterContainer, TimeGran=tmp_timeGran, useBadLBTool=tmp_useBadLBTool, BadLBTool=GetLArBadLBFilterTool(), useReadyFilterTool=tmp_useReadyFilterTool, ReadyFilterTool=GetAtlasReadyFilterTool(), useLArCollisionFilterTool=tmp_useLArCollisionFilter, useLArNoisyAlg=tmp_useLArNoisyAlg, useBeamBackgroundRemoval=tmp_useBeamBackgroundRemoval, # cluster energy threshold in GeV lowEthresh=0.0, lowmedEthresh=4.0, medEthresh=10.0, medhiEthresh=15.0, hiEthresh=25.0, ) #ToolSvc += EMCaloClusterMonNoTA CaloMon.AthenaMonTools += [EMCaloClusterMonNoTA]