 |
ATLAS Offline Software
|
|
def | trigCaloClusterMonitoringTool (flags, doMonCells=False, isFullScan=None) |
|
def | hltCaloCellMakerCfg (flags, name=None, roisKey='UNSPECIFIED', CellsName=None, monitorCells=False, doTau=False, sequenceName=None) |
|
def | hltCaloCellCorrectorCfg (flags, name='HLTCaloCellCorrector', inputEDM='CellsClusters', outputEDM='CorrectedCellsClusters', eventShape='HIEventShape') |
|
def | hltCaloCellSeedlessMakerCfg (flags, roisKey='UNSPECIFIED', sequenceName=None) |
|
def | L0CaloGlobalRoIBuilderCfg (flags, DoNoiseThrRings=True) |
|
def | CaloL0RingerPreCfg (flags, DoNoiseThrRings=True) |
|
def | CaloL0RingerPrepareList (DoNoiseThrRings=True) |
|
def | CaloL0RingerCfg (flags, DoNoiseThrRings=True) |
|
def | hltCaloLocalCalib (flags, name="TrigLocalCalib") |
|
def | hltCaloOOCalib (flags, name="TrigOOCCalib") |
|
def | hltCaloOOCPi0Calib (flags, name="TrigOOCPi0Calib") |
|
def | hltCaloDMCalib (flags, name="TrigDMCalib") |
|
def | hltTopoClusterMakerCfg (flags, name, clustersKey="HLT_TopoCaloClustersFS", cellsKey=None, doLC=False, suffix='') |
|
def | hltCaloTopoClusterCalibratorCfg (flags, name, clustersin, clustersout, **kwargs) |
|
def | hltCaloTopoClusteringCfg (flags, namePrefix=None, nameSuffix=None, CellsName=None, monitorCells=False, roisKey="UNSPECIFIED", clustersKey=None, doLCFS=False, doTau=False) |
|
def | egammaTopoClusteringCfg (flags, RoIs) |
| EgammaSpecific TopoClustering####################################. More...
|
|
def | egammaTopoClusteringCfg_LRT (flags, RoIs) |
|
def | jetmetTopoClusteringCfg (flags, RoIs) |
| JetMetSpecific TopoClustering####################################. More...
|
|
def | jetmetTopoClusteringCfg_LC (flags, RoIs) |
|
def | tauTopoClusteringCfg (flags, RoIs) |
| TauSpecific TopoClustering####################################. More...
|
|
def | hltCaloTopoClusteringHICfg (flags, CellsName=None, roisKey="UNSPECIFIED", doLC=False, algSuffix='HIRoI', ion=True) |
|
def | hltHICaloTowerMakerCfg (flags, name, towersKey, cellsKey="CaloCellsFS", RoIs="") |
|
def | hltHICaloClusterMakerCfg (flags, name, towersKey, cellsKey, clustersKey) |
|
def | HICaloTowerCfg (flags) |
|
◆ CaloL0RingerCfg()
def TrigCaloRecConfig.CaloL0RingerCfg |
( |
|
flags, |
|
|
|
DoNoiseThrRings = True |
|
) |
| |
Definition at line 160 of file TrigCaloRecConfig.py.
161 from OutputStreamAthenaPool.OutputStreamConfig
import addToESD,addToAOD
164 from AthenaCommon.CFElements
import parOR
165 if (flags.Output.doWriteRDO):
171 if (flags.Output.doWriteESD
or flags.Output.doWriteAOD):
172 if ( flags.Output.doWriteESD ):
173 acc.merge(
addToESD(flags, extraContent))
174 if ( flags.Output.doWriteAOD ):
175 acc.merge(
addToAOD(flags, extraContent))
◆ CaloL0RingerPreCfg()
def TrigCaloRecConfig.CaloL0RingerPreCfg |
( |
|
flags, |
|
|
|
DoNoiseThrRings = True |
|
) |
| |
◆ CaloL0RingerPrepareList()
def TrigCaloRecConfig.CaloL0RingerPrepareList |
( |
|
DoNoiseThrRings = True | ) |
|
Definition at line 152 of file TrigCaloRecConfig.py.
155 extraEDMList+=[(
'xAOD::TrigRingerRingsContainer#Ringer2sigGlobal',
'BS ESD AODFULL',
'Calo'), (
'xAOD::TrigRingerRingsAuxContainer#Ringer2sigGlobalAux.',
'BS ESD AODFULL',
'Calo'), (
'xAOD::TrigEMClusterContainer#CaloClusters2sigGlobal',
'BS ESD AODFULL',
'Calo'), (
'xAOD::TrigEMClusterAuxContainer#CaloClusters2sigGlobalAux.',
'BS ESD AODFULL',
'Calo')]
157 extraEDMList+=[(
'xAOD::TrigRingerRingsContainer#RingerGlobal',
'BS ESD AODFULL',
'Calo'), (
'xAOD::TrigRingerRingsAuxContainer#RingerGlobalAux.',
'BS ESD AODFULL',
'Calo'), (
'xAOD::TrigEMClusterContainer#CaloClustersGlobal',
'BS ESD AODFULL',
'Calo'), (
'xAOD::TrigEMClusterAuxContainer#CaloClustersGlobalAux.',
'BS ESD AODFULL',
'Calo')]
◆ egammaTopoClusteringCfg()
def TrigCaloRecConfig.egammaTopoClusteringCfg |
( |
|
flags, |
|
|
|
RoIs |
|
) |
| |
EgammaSpecific TopoClustering####################################.
Definition at line 427 of file TrigCaloRecConfig.py.
428 cfg =
hltCaloTopoClusteringCfg(flags, namePrefix=
"", nameSuffix=
"RoI", CellsName=
"CaloCells", monitorCells=
True, roisKey=RoIs)
◆ egammaTopoClusteringCfg_LRT()
def TrigCaloRecConfig.egammaTopoClusteringCfg_LRT |
( |
|
flags, |
|
|
|
RoIs |
|
) |
| |
Definition at line 433 of file TrigCaloRecConfig.py.
435 cfg =
hltCaloTopoClusteringCfg(flags, namePrefix=
"", nameSuffix=
"RoI_LRT", CellsName=
"CaloCells", monitorCells=
True, roisKey=RoIs, clustersKey= TrigEgammaKeys_LRT.precisionTopoClusterContainer)
◆ HICaloTowerCfg()
def TrigCaloRecConfig.HICaloTowerCfg |
( |
|
flags | ) |
|
Create the towers for heavy ion
Definition at line 523 of file TrigCaloRecConfig.py.
524 """ Create the towers for heavy ion """
533 "HLTHICaloTowerMakerFS",
542 "HLTHICaloClusterMakerFS",
545 clustersKey =
"HLT_HICaloClustersFS"
◆ hltCaloCellCorrectorCfg()
def TrigCaloRecConfig.hltCaloCellCorrectorCfg |
( |
|
flags, |
|
|
|
name = 'HLTCaloCellCorrector' , |
|
|
|
inputEDM = 'CellsClusters' , |
|
|
|
outputEDM = 'CorrectedCellsClusters' , |
|
|
|
eventShape = 'HIEventShape' |
|
) |
| |
Definition at line 93 of file TrigCaloRecConfig.py.
93 def hltCaloCellCorrectorCfg(flags,name='HLTCaloCellCorrector', inputEDM='CellsClusters', outputEDM='CorrectedCellsClusters', eventShape='HIEventShape'):
95 cellCorrector = CompFactory.HLTCaloCellCorrector(name = name,
96 EventShapeCollection = eventShape,
97 InputCellKey = inputEDM,
98 OutputCellKey = outputEDM)
99 acc.addEventAlgo(cellCorrector)
◆ hltCaloCellMakerCfg()
def TrigCaloRecConfig.hltCaloCellMakerCfg |
( |
|
flags, |
|
|
|
name = None , |
|
|
|
roisKey = 'UNSPECIFIED' , |
|
|
|
CellsName = None , |
|
|
|
monitorCells = False , |
|
|
|
doTau = False , |
|
|
|
sequenceName = None |
|
) |
| |
Definition at line 52 of file TrigCaloRecConfig.py.
52 def hltCaloCellMakerCfg(flags, name=None, roisKey='UNSPECIFIED', CellsName=None, monitorCells=False, doTau=False,sequenceName=None):
54 from TrigT2CaloCommon.TrigCaloDataAccessConfig
import trigCaloDataAccessSvcCfg, CaloDataAccessSvcDependencies
57 if (roisKey ==
'UNSPECIFIED'):
58 from HLTSeeding.HLTSeedingConfig
import mapThresholdToL1RoICollection
61 cellsFromName =
'CaloCellsFS' if "FS" in name
else "CaloCells"
62 cells = cellsFromName
if CellsName
is None else CellsName
64 from AthenaMonitoringKernel.GenericMonitoringTool
import GenericMonitoringTool
66 monTool.defineHistogram(
'Cells_N', path=
'EXPERT', type=
'TH1F', title=
"Cells N; NCells; events",
67 xbins=40, xmin=0, xmax=1600
if monitorCells
else 240000)
68 monTool.defineHistogram(
'TIME_exec', path=
'EXPERT', type=
'TH1F', title=
"Cells time; time [ us ] ; Nruns",
69 xbins=80, xmin=0, xmax=800
if monitorCells
else 160000)
71 monTool.defineHistogram(
'Cells_eT', path=
'EXPERT', type=
'TH1F', title=
"Cells E_T; E_T [ GeV ] ; Nclusters",
72 xbins=100, xmin=0.0, xmax=100.0)
73 monTool.defineHistogram(
'Cells_eta', path=
'EXPERT', type=
'TH1F', title=
"Cells #eta; #eta ; Nclusters",
74 xbins=100, xmin=-2.5, xmax=2.5)
75 monTool.defineHistogram(
'Cells_phi', path=
'EXPERT', type=
'TH1F', title=
"Cells #phi; #phi ; Nclusters",
76 xbins=128, xmin=-3.2, xmax=3.2)
78 if sequenceName
is not None:
79 from AthenaCommon.CFElements
import parOR
81 cellMaker = CompFactory.HLTCaloCellMaker(name,
83 TrigDataAccessMT = acc.getService(
'TrigCaloDataAccessSvc'),
84 ExtraInputs = CaloDataAccessSvcDependencies,
86 monitorCells = monitorCells,
88 TileCellsInROI =
False if not doTau
else True)
89 acc.addEventAlgo(cellMaker, primary=
True,sequenceName=sequenceName)
◆ hltCaloCellSeedlessMakerCfg()
def TrigCaloRecConfig.hltCaloCellSeedlessMakerCfg |
( |
|
flags, |
|
|
|
roisKey = 'UNSPECIFIED' , |
|
|
|
sequenceName = None |
|
) |
| |
Definition at line 104 of file TrigCaloRecConfig.py.
108 CellsName =
"SeedLessFS",
111 acc.merge(hltCaloCellMakerAcc,sequenceName=sequenceName)
113 from CaloTools.CaloNoiseCondAlgConfig
import CaloNoiseCondAlgCfg
115 acc.addCondAlgo(CompFactory.CaloNoiseSigmaDiffCondAlg())
◆ hltCaloDMCalib()
def TrigCaloRecConfig.hltCaloDMCalib |
( |
|
flags, |
|
|
|
name = "TrigDMCalib" |
|
) |
| |
Definition at line 214 of file TrigCaloRecConfig.py.
215 localCalibTool = CompFactory.CaloLCDeadMaterialTool(
"TrigLCDeadMaterial",
216 HadDMCoeffKey=
"HadDMCoeff2", ClusterRecoStatus=0,
217 WeightModeDM=2,UseHadProbability=
True)
218 tool = CompFactory.CaloClusterLocalCalib( name,
219 ClusterRecoStatus=[1, 2],
220 LocalCalibTools=[ localCalibTool ] )
◆ hltCaloLocalCalib()
def TrigCaloRecConfig.hltCaloLocalCalib |
( |
|
flags, |
|
|
|
name = "TrigLocalCalib" |
|
) |
| |
Definition at line 180 of file TrigCaloRecConfig.py.
181 det_version_is_rome = flags.GeoModel.AtlasVersion.startswith(
"Rome")
182 localCalibTool = CompFactory.CaloLCWeightTool(
"TrigLCWeight",
183 CorrectionKey=
"H1ClusterCellWeights",
184 SignalOverNoiseCut=2.0, UseHadProbability=
True)
185 trigLCClassify = CompFactory.CaloLCClassificationTool(
"TrigLCClassify",
186 ClassificationKey=
"EMFracClassify",
187 UseSpread=
False, MaxProbability=0.85
if det_version_is_rome
else 0.5,
188 UseNormalizedEnergyDensity=
not det_version_is_rome,
189 StoreClassificationProbabilityInAOD=
True)
190 tool = CompFactory.CaloClusterLocalCalib( name,
191 ClusterRecoStatus=[1, 2], ClusterClassificationTool=[ trigLCClassify ],
192 LocalCalibTools=[ localCalibTool ])
◆ hltCaloOOCalib()
def TrigCaloRecConfig.hltCaloOOCalib |
( |
|
flags, |
|
|
|
name = "TrigOOCCalib" |
|
) |
| |
Definition at line 196 of file TrigCaloRecConfig.py.
197 localCalibTool = CompFactory.CaloLCOutOfClusterTool(
"TrigLCOut",
198 CorrectionKey=
"OOCCorrection",UseEmProbability=
False,
199 UseHadProbability=
True)
200 tool = CompFactory.CaloClusterLocalCalib( name,
201 ClusterRecoStatus=[1, 2],
202 LocalCalibTools=[ localCalibTool ] )
◆ hltCaloOOCPi0Calib()
def TrigCaloRecConfig.hltCaloOOCPi0Calib |
( |
|
flags, |
|
|
|
name = "TrigOOCPi0Calib" |
|
) |
| |
Definition at line 205 of file TrigCaloRecConfig.py.
206 localCalibTool = CompFactory.CaloLCOutOfClusterTool(
"TrigLCOutPi0",
207 CorrectionKey=
"OOCPi0Correction", UseEmProbability=
True,
208 UseHadProbability=
False)
209 tool = CompFactory.CaloClusterLocalCalib( name,
210 ClusterRecoStatus=[1, 2],
211 LocalCalibTools=[ localCalibTool ] )
◆ hltCaloTopoClusterCalibratorCfg()
def TrigCaloRecConfig.hltCaloTopoClusterCalibratorCfg |
( |
|
flags, |
|
|
|
name, |
|
|
|
clustersin, |
|
|
|
clustersout, |
|
|
** |
kwargs |
|
) |
| |
Create the LC calibrator
Definition at line 319 of file TrigCaloRecConfig.py.
320 """ Create the LC calibrator """
321 from CaloTools.CaloNoiseCondAlgConfig
import CaloNoiseCondAlgCfg
327 from CaloRec.CaloTopoClusterConfig
import caloTopoCoolFolderCfg
330 calibrator = CompFactory.TrigCaloClusterCalibrator(
331 name, InputClusters=clustersin, OutputClusters=clustersout,
342 monTool.defineHistogram(
'Et', path=
'EXPERT', type=
'TH1F',
343 title=
"Cluster E_T; E_T [ MeV ] ; Number of Clusters",
344 xbins=135, xmin=-200.0, xmax=2500.0)
345 monTool.defineHistogram(
'Eta', path=
'EXPERT', type=
'TH1F',
346 title=
"Cluster #eta; #eta ; Number of Clusters",
347 xbins=100, xmin=-2.5, xmax=2.5)
348 monTool.defineHistogram(
'Phi', path=
'EXPERT', type=
'TH1F',
349 title=
"Cluster #phi; #phi ; Number of Clusters",
350 xbins=64, xmin=-3.2, xmax=3.2)
351 monTool.defineHistogram(
'Eta,Phi', path=
'EXPERT', type=
'TH2F',
352 title=
"Number of Clusters; #eta ; #phi ; Number of Clusters",
353 xbins=100, xmin=-2.5, xmax=2.5, ybins=128, ymin=-3.2, ymax=3.2)
354 calibrator.MonTool = monTool
356 acc.addEventAlgo(calibrator, primary=
True)
◆ hltCaloTopoClusteringCfg()
def TrigCaloRecConfig.hltCaloTopoClusteringCfg |
( |
|
flags, |
|
|
|
namePrefix = None , |
|
|
|
nameSuffix = None , |
|
|
|
CellsName = None , |
|
|
|
monitorCells = False , |
|
|
|
roisKey = "UNSPECIFIED" , |
|
|
|
clustersKey = None , |
|
|
|
doLCFS = False , |
|
|
|
doTau = False |
|
) |
| |
Definition at line 363 of file TrigCaloRecConfig.py.
364 flags, namePrefix=None,nameSuffix=None, CellsName=None, monitorCells=False, roisKey="UNSPECIFIED",clustersKey=None, doLCFS=False, doTau = False):
366 CellsName =
"CaloCellsLC"
367 clustersKeyFromName =
"HLT_TopoCaloClustersLC"
368 elif nameSuffix ==
"FS":
369 clustersKeyFromName = em_clusters
372 clustersKeyFromName = TrigEgammaKeys.precisionTopoClusterContainer
374 clusters = clustersKeyFromName
if clustersKey
is None else clustersKey
377 hltCaloCellMakerCfg(flags, namePrefix +
"HLTCaloCellMaker"+nameSuffix, roisKey=roisKey, CellsName=CellsName, monitorCells=monitorCells, doTau = doTau)
380 clustermakername_nosuffix = namePrefix +
"HLTCaloClusterMaker"
382 clustermakername = clustermakername_nosuffix + nameSuffix
385 if flags.hasFlag(
"CaloRecGPU.GlobalFlags.UseCaloRecGPU")
and flags.CaloRecGPU.GlobalFlags.UseCaloRecGPU
and "FS" in clustermakername:
386 flags = flags.cloneAndReplace(
"CaloRecGPU.ActiveConfig",
"Trigger.CaloRecGPU.Default",
True)
387 from CaloRecGPU.CaloRecGPUConfig
import GPUCaloTopoClusterCfg
390 GPUKernelSvc = CompFactory.GPUKernelSizeOptimizerSvc()
391 acc.addService(GPUKernelSvc)
396 clustersname = clusters
if "CaloMon" in clustermakername
else recordable(clusters),
397 name = clustermakername,
398 ReallyUseGPUTools =
not flags.CaloRecGPU.GlobalFlags.UseCPUToolsInstead)
402 monitorCells =
"FS" in clustermakername
404 monitor = CompFactory.TrigCaloClusterMonitor(clustermakername_nosuffix +
'Monitoring' + nameSuffix,
405 CellsName = CellsName,
406 ClustersName = clusters,
407 MonitorCells = monitorCells,
409 acc.addEventAlgo(monitor, primary=
False)
412 calt=
hltTopoClusterMakerCfg(flags, clustermakername_nosuffix, cellsKey=CellsName, clustersKey=clusters, doLC=doTau, suffix = nameSuffix)
417 "HLTCaloClusterCalibratorLCFS",
418 clustersin=em_clusters,
419 clustersout=lc_clusters,
420 OutputCellLinks=lc_clusters +
"_cellLinks",
◆ hltCaloTopoClusteringHICfg()
def TrigCaloRecConfig.hltCaloTopoClusteringHICfg |
( |
|
flags, |
|
|
|
CellsName = None , |
|
|
|
roisKey = "UNSPECIFIED" , |
|
|
|
doLC = False , |
|
|
|
algSuffix = 'HIRoI' , |
|
|
|
ion = True |
|
) |
| |
Definition at line 457 of file TrigCaloRecConfig.py.
458 flags, CellsName=None, roisKey="UNSPECIFIED", doLC=False,algSuffix='HIRoI', ion=True):
460 eventShape = TrigEgammaKeys.egEventShape
461 clustersKey = TrigEgammaKeys.precisionTopoClusterContainer
463 acc.merge(
hltCaloCellMakerCfg(flags,
"HLTCaloCellMaker"+algSuffix, roisKey=roisKey, CellsName=CellsName, monitorCells=
True))
464 acc.merge(
hltCaloCellCorrectorCfg(flags,name=
'HLTRoICaloCellCorrector', inputEDM=
'CaloCells', outputEDM=
'CorrectedRoICaloCells', eventShape=eventShape))
465 acc.merge(
hltTopoClusterMakerCfg(flags,
"TrigCaloClusterMaker_topo"+algSuffix, clustersKey=clustersKey,cellsKey=
"CorrectedRoICaloCells"))
◆ hltHICaloClusterMakerCfg()
def TrigCaloRecConfig.hltHICaloClusterMakerCfg |
( |
|
flags, |
|
|
|
name, |
|
|
|
towersKey, |
|
|
|
cellsKey, |
|
|
|
clustersKey |
|
) |
| |
Function to equip HLT HI cluster builder from towers and cells, adds to output AOD stream
Definition at line 509 of file TrigCaloRecConfig.py.
510 """Function to equip HLT HI cluster builder from towers and cells, adds to output AOD stream"""
514 alg=CompFactory.HIClusterMaker(name,
515 InputTowerKey=towersKey,
516 CaloCellContainerKey=cellsKey,
517 OutputContainerKey=clustersKey
519 acc.addEventAlgo(alg, primary=
True)
◆ hltHICaloTowerMakerCfg()
def TrigCaloRecConfig.hltHICaloTowerMakerCfg |
( |
|
flags, |
|
|
|
name, |
|
|
|
towersKey, |
|
|
|
cellsKey = "CaloCellsFS" , |
|
|
|
RoIs = "" |
|
) |
| |
Definition at line 469 of file TrigCaloRecConfig.py.
471 larcmbtwrbldr = CompFactory.LArTowerBuilderTool(
"LArCmbTwrBldr",
472 CellContainerName = cellsKey,
473 IncludedCalos = [
"LAREM",
"LARHEC" ]
476 fcalcmbtwrbldr = CompFactory.LArFCalTowerBuilderTool(
"FCalCmbTwrBldr",
477 CellContainerName = cellsKey,
482 tilecmbtwrbldr = CompFactory.TileTowerBuilderTool(
"TileCmbTwrBldr",
483 CellContainerName = cellsKey,
491 alg = CompFactory.TrigCaloTowerMaker(name,
493 CaloTowers=towersKey,
494 NumberOfPhiTowers=64,
495 NumberOfEtaTowers=100,
501 TowerMakerTools = [ tilecmbtwrbldr, larcmbtwrbldr, fcalcmbtwrbldr ]
503 from CaloTools.CaloNoiseCondAlgConfig
import CaloNoiseCondAlgCfg
505 acc.addEventAlgo(alg, primary=
True)
◆ hltTopoClusterMakerCfg()
def TrigCaloRecConfig.hltTopoClusterMakerCfg |
( |
|
flags, |
|
|
|
name, |
|
|
|
clustersKey = "HLT_TopoCaloClustersFS" , |
|
|
|
cellsKey = None , |
|
|
|
doLC = False , |
|
|
|
suffix = '' |
|
) |
| |
Definition at line 226 of file TrigCaloRecConfig.py.
226 def hltTopoClusterMakerCfg(flags, name, clustersKey="HLT_TopoCaloClustersFS", cellsKey=None, doLC=False, suffix=''):
228 cellsFromName =
'CaloCellsFS' if "FS" in clustersKey
else "CaloCells"
229 cells = cellsFromName
if cellsKey
is None else cellsKey
231 from CaloRec.CaloTopoClusterConfig
import (
232 CaloTopoClusterToolCfg,
233 CaloTopoClusterSplitterToolCfg,
237 topoMaker.RestrictPSNeighbors =
False
238 listClusterCorrectionTools = []
240 from CaloTools.CaloNoiseCondAlgConfig
import CaloNoiseCondAlgCfg
243 from CaloRec.CaloTopoClusterConfig
import caloTopoCoolFolderCfg
249 topoMaker.SeedCutsInT = flags.Trigger.Calo.TopoCluster.doTimeCut
250 topoMaker.CutOOTseed = flags.Trigger.Calo.TopoCluster.extendTimeCut
and flags.Trigger.Calo.TopoCluster.doTimeCut
251 topoMaker.UseTimeCutUpperLimit = flags.Trigger.Calo.TopoCluster.useUpperLimitForTimeCut
252 topoMaker.TimeCutUpperLimit = flags.Trigger.Calo.TopoCluster.timeCutUpperLimit
256 topoMoments = CompFactory.CaloClusterMomentsMaker (
'TrigTopoMoments')
257 topoMoments.MaxAxisAngle = 20*deg
258 topoMoments.TwoGaussianNoise = flags.Calo.TopoCluster.doTwoGaussianNoise
259 topoMoments.MinBadLArQuality = 4000
260 topoMoments.MomentsNames = [
'FIRST_PHI',
294 clustermakername = name + suffix
295 doMonCells =
"FS" in clustermakername
297 alg = CompFactory.CaloClusterMaker(
299 ClustersOutputName=clustersKey
if "CaloMon" in clustermakername
else recordable(clustersKey),
300 ClusterCellLinkOutputName = clustersKey+
"_links",
301 ClusterMakerTools = [ topoMaker, topoSplitter, topoMoments],
302 ClusterCorrectionTools = listClusterCorrectionTools,
303 SaveUncalibratedSignalState =
True,
304 WriteTriggerSpecificInfo =
True)
306 from CaloTools.CaloNoiseCondAlgConfig
import CaloNoiseCondAlgCfg
308 acc.addEventAlgo(alg, primary=
True)
309 monitor = CompFactory.TrigCaloClusterMonitor(name +
'Monitoring' + suffix,
311 ClustersName = clustersKey,
312 MonitorCells = doMonCells,
314 acc.addEventAlgo(monitor, primary=
False)
◆ jetmetTopoClusteringCfg()
def TrigCaloRecConfig.jetmetTopoClusteringCfg |
( |
|
flags, |
|
|
|
RoIs |
|
) |
| |
JetMetSpecific TopoClustering####################################.
Definition at line 441 of file TrigCaloRecConfig.py.
442 cfg =
hltCaloTopoClusteringCfg(flags, namePrefix=
"", nameSuffix=
"FS", CellsName=
"CaloCellsFS", monitorCells=
False, roisKey=RoIs)
◆ jetmetTopoClusteringCfg_LC()
def TrigCaloRecConfig.jetmetTopoClusteringCfg_LC |
( |
|
flags, |
|
|
|
RoIs |
|
) |
| |
◆ L0CaloGlobalRoIBuilderCfg()
def TrigCaloRecConfig.L0CaloGlobalRoIBuilderCfg |
( |
|
flags, |
|
|
|
DoNoiseThrRings = True |
|
) |
| |
Definition at line 121 of file TrigCaloRecConfig.py.
123 from TrigT2CaloEgamma.TrigT2CaloEgammaConfig
import RingerReFexConfig
124 nameTool=
'RingerGlobalFex'
125 nameAlgo=
'L0CaloGlobalRoIBuilder'
126 nameContCalo=
'CaloClustersGlobal'
127 nameContRinger=
'RingerGlobal'
128 if ( DoNoiseThrRings ):
129 nameTool=
'RingerGlobal2sigFex'
130 nameAlgo=
'L0CaloGlobalRoI2sigBuilder'
131 nameContCalo=
'CaloClusters2sigGlobal'
132 nameContRinger=
'Ringer2sigGlobal'
134 ClustersName=nameContCalo,DoNoiseThrRings=DoNoiseThrRings)
135 from AthenaCommon.CFElements
import parOR
137 L0CaloGlobalRoIBuilderAlg = CompFactory.CaloGlobalRoIBuilder(name=nameAlgo,
138 Cells =
"SeedLessFS", ClustersName=nameContCalo,
139 RingerKey=nameContRinger,
141 accSeq.addEventAlgo(L0CaloGlobalRoIBuilderAlg, sequenceName=
"HLTBeginSeq")
143 from CaloTools.CaloNoiseCondAlgConfig
import CaloNoiseCondAlgCfg
◆ tauTopoClusteringCfg()
def TrigCaloRecConfig.tauTopoClusteringCfg |
( |
|
flags, |
|
|
|
RoIs |
|
) |
| |
TauSpecific TopoClustering####################################.
Definition at line 452 of file TrigCaloRecConfig.py.
453 cfg =
hltCaloTopoClusteringCfg(flags, namePrefix=
"Tau", nameSuffix=
"", CellsName=
"CaloCellsLC", monitorCells=
False, roisKey=RoIs, clustersKey=
"HLT_TopoCaloClustersLC", doTau=
True)
◆ trigCaloClusterMonitoringTool()
def TrigCaloRecConfig.trigCaloClusterMonitoringTool |
( |
|
flags, |
|
|
|
doMonCells = False , |
|
|
|
isFullScan = None |
|
) |
| |
Monitoring tool for TrigCaloClusterMaker
Definition at line 16 of file TrigCaloRecConfig.py.
17 """Monitoring tool for TrigCaloClusterMaker"""
21 if isFullScan
is None:
22 isFullScan = doMonCells
24 maxNumberOfClusters = 1200
if isFullScan
else 50
26 monTool.defineHistogram(
'container_size', path=
'EXPERT', type=
'TH1F', title=
"Container Size; Number of Clusters; Number of Events", xbins=50, xmin=0.0, xmax=maxNumberOfClusters)
27 monTool.defineHistogram(
'container_size_by_mu', path=
'EXPERT', type=
'TH1F', title=
"Container Size; Number of Clusters; Number of Events", xbins=50, xmin=0.0, xmax=maxNumberOfClusters/60)
28 monTool.defineHistogram(
'Et', path=
'EXPERT', type=
'TH1F', title=
"Cluster E_T; E_T [ MeV ] ; Number of Clusters", xbins=135, xmin=-200.0, xmax=2500.0)
29 monTool.defineHistogram(
'Eta', path=
'EXPERT', type=
'TH1F', title=
"Cluster #eta; #eta ; Number of Clusters", xbins=100, xmin=-2.5, xmax=2.5)
30 monTool.defineHistogram(
'Phi', path=
'EXPERT', type=
'TH1F', title=
"Cluster #phi; #phi ; Number of Clusters", xbins=64, xmin=-3.2, xmax=3.2)
31 monTool.defineHistogram(
'Eta,Phi', path=
'EXPERT', type=
'TH2F', title=
"Number of Clusters; #eta ; #phi ; Number of Clusters", xbins=100, xmin=-2.5, xmax=2.5, ybins=128, ymin=-3.2, ymax=3.2)
32 monTool.defineHistogram(
'clusterSize', path=
'EXPERT', type=
'TH1F', title=
"Cluster Type; Type ; Number of Clusters", xbins=13, xmin=0.5, xmax=13.5)
33 monTool.defineHistogram(
'signalState', path=
'EXPERT', type=
'TH1F', title=
"Signal State; Signal State ; Number of Clusters", xbins=4, xmin=-1.5, xmax=2.5)
34 monTool.defineHistogram(
'size', path=
'EXPERT', type=
'TH1F', title=
"Cluster Size; Size [Cells] ; Number of Clusters", xbins=125, xmin=0.0, xmax=250.0)
35 monTool.defineHistogram(
'N_BAD_CELLS', path=
'EXPERT', type=
'TH1F', title=
"N_BAD_CELLS; N_BAD_CELLS ; Number of Clusters", xbins=250, xmin=0.5, xmax=250.5)
36 monTool.defineHistogram(
'ENG_FRAC_MAX', path=
'EXPERT', type=
'TH1F', title=
"ENG_FRAC_MAX; ENG_FRAC_MAX ; Number of Clusters", xbins=50, xmin=0.0, xmax=1.1)
37 monTool.defineHistogram(
'mu', path=
'EXPERT', type=
'TH1F', title=
"mu; mu; Number of Events", xbins=50, xmin=0.0, xmax=100)
38 monTool.defineHistogram(
'mu,container_size', path=
'EXPERT', type=
'TH2F', title=
"Container Size versus #mu; #mu; cluster container size", xbins=50, xmin=20.0, xmax=70, ybins=50, ymin=0.0, ymax=maxNumberOfClusters)
41 monTool.defineHistogram(
'count_1thrsigma', path=
'EXPERT', type=
'TH1F', title=
"count_1thrsigma; count_1thresigma; Number of Events", xbins=60, xmin=0.0, xmax=12e3)
42 monTool.defineHistogram(
'count_2thrsigma', path=
'EXPERT', type=
'TH1F', title=
"count_2thrsigma; count_2thresigma; Number of Events", xbins=60, xmin=0.0, xmax=6e3)
43 monTool.defineHistogram(
'count_1thrsigma_by_mu2', path=
'EXPERT', type=
'TH1F', title=
"count_1thrsigma_by_mu2; count_1thresigma_by_mu2; Number of Events", xbins=50, xmin=0.0, xmax=10)
44 monTool.defineHistogram(
'count_2thrsigma_by_mu2', path=
'EXPERT', type=
'TH1F', title=
"count_2thrsigma_by_mu2; count_2thresigma_by_mu2; Number of Events", xbins=50, xmin=0.0, xmax=5)
45 monTool.defineHistogram(
'mu,count_1thrsigma', path=
'EXPERT', type=
'TH2F', title=
"nCells above 1st thr versus #mu; #mu; nCells", xbins=50, xmin=20.0, xmax=70, ybins=60, ymin=0.0, ymax=12e3)
46 monTool.defineHistogram(
'mu,count_2thrsigma', path=
'EXPERT', type=
'TH2F', title=
"nCells above 2nd thr versus #mu; #mu; nCells", xbins=50, xmin=20.0, xmax=70, ybins=60, ymin=0.0, ymax=6e3)
◆ AtlasVersion
TrigCaloRecConfig.AtlasVersion |
◆ CAs
◆ cfg
◆ Dump
◆ ESDFileName
TrigCaloRecConfig.ESDFileName |
◆ Files
◆ flags
◆ GlobalTag
TrigCaloRecConfig.GlobalTag |
◆ isOnline
TrigCaloRecConfig.isOnline |
◆ ItemList
TrigCaloRecConfig.ItemList |
◆ mlog
◆ outputContainers
TrigCaloRecConfig.outputContainers |
◆ parentName
TrigCaloRecConfig.parentName |
◆ ROD2ROBmap
TrigCaloRecConfig.ROD2ROBmap |
◆ roisKey
TrigCaloRecConfig.roisKey |
◆ storeGateSvc
TrigCaloRecConfig.storeGateSvc |
◆ summariseProps
TrigCaloRecConfig.summariseProps |
◆ theL0CaloGlobalRoIBuilderCfg
TrigCaloRecConfig.theL0CaloGlobalRoIBuilderCfg |
◆ True
◆ withDetails
TrigCaloRecConfig.withDetails |
def jetmetTopoClusteringCfg(flags, RoIs)
JetMetSpecific TopoClustering####################################.
def hltCaloTopoClusterCalibratorCfg(flags, name, clustersin, clustersout, **kwargs)
def caloTopoCoolFolderCfg(flags)
def CaloTopoClusterToolCfg(flags, cellsname)
def CaloL0RingerPreCfg(flags, DoNoiseThrRings=True)
def hltCaloTopoClusteringCfg(flags, namePrefix=None, nameSuffix=None, CellsName=None, monitorCells=False, roisKey="UNSPECIFIED", clustersKey=None, doLCFS=False, doTau=False)
def hltCaloLocalCalib(flags, name="TrigLocalCalib")
def hltCaloCellCorrectorCfg(flags, name='HLTCaloCellCorrector', inputEDM='CellsClusters', outputEDM='CorrectedCellsClusters', eventShape='HIEventShape')
def hltCaloDMCalib(flags, name="TrigDMCalib")
def CaloL0RingerPrepareList(DoNoiseThrRings=True)
def L0CaloGlobalRoIBuilderCfg(flags, DoNoiseThrRings=True)
def GPUCaloTopoClusterCfg(flags, instantiateForTrigger, cellsname, clustersname=None, clustersnapname="CaloTopoClusters", name="HybridClusterProcessor", PlotterTool=None, addAsPrimary=True, ReallyUseGPUTools=True)
def CaloNoiseCondAlgCfg(flags, noisetype="totalNoise")
def hltCaloOOCPi0Calib(flags, name="TrigOOCPi0Calib")
def hltCaloCellSeedlessMakerCfg(flags, roisKey='UNSPECIFIED', sequenceName=None)
def egammaTopoClusteringCfg(flags, RoIs)
EgammaSpecific TopoClustering####################################.
def trigCaloDataAccessSvcCfg(flags)
def HICaloTowerCfg(flags)
def CaloTopoClusterSplitterToolCfg(flags)
def hltHICaloTowerMakerCfg(flags, name, towersKey, cellsKey="CaloCellsFS", RoIs="")
def hltCaloOOCalib(flags, name="TrigOOCCalib")
def addToESD(flags, itemOrList, **kwargs)
def hltCaloCellMakerCfg(flags, name=None, roisKey='UNSPECIFIED', CellsName=None, monitorCells=False, doTau=False, sequenceName=None)
def jetmetTopoClusteringCfg_LC(flags, RoIs)
def trigCaloClusterMonitoringTool(flags, doMonCells=False, isFullScan=None)
def egammaTopoClusteringCfg_LRT(flags, RoIs)
def hltCaloTopoClusteringHICfg(flags, CellsName=None, roisKey="UNSPECIFIED", doLC=False, algSuffix='HIRoI', ion=True)
def CaloL0RingerCfg(flags, DoNoiseThrRings=True)
def addToAOD(flags, itemOrList, **kwargs)
def RingerReFexConfig(flags, name="RingerReMaker", RingerKey="FastCaloRings", ClustersName="HLT_FastCaloEMClusters", **kwargs)
def mapThresholdToL1RoICollection(threshold)
def recordable(arg, runVersion=3)
def tauTopoClusteringCfg(flags, RoIs)
TauSpecific TopoClustering####################################.
def hltHICaloClusterMakerCfg(flags, name, towersKey, cellsKey, clustersKey)
def getTrigEgammaKeys(AthConfigFlags flags, name='', ion=False)
def hltTopoClusterMakerCfg(flags, name, clustersKey="HLT_TopoCaloClustersFS", cellsKey=None, doLC=False, suffix='')