![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
|
def | trigCaloClusterMakerMonTool (flags, doMonCells=False) |
|
def | hltCaloCellMakerCfg (flags, name=None, roisKey='UNSPECIFIED', CellsName=None, monitorCells=False, doTau=False) |
|
def | hltCaloCellCorrectorCfg (flags, name='HLTCaloCellCorrector', inputEDM='CellsClusters', outputEDM='CorrectedCellsClusters', eventShape='HIEventShape') |
|
def | hltCaloCellSeedlessMakerCfg (flags, roisKey='UNSPECIFIED') |
|
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) |
|
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 155 of file TrigCaloRecConfig.py.
156 from OutputStreamAthenaPool.OutputStreamConfig
import addToESD,addToAOD
159 if (flags.Output.doWriteRDO):
163 if (flags.Output.doWriteESD
or flags.Output.doWriteAOD):
164 if ( flags.Output.doWriteESD ):
165 acc.merge(
addToESD(flags, extraContent))
166 if ( flags.Output.doWriteAOD ):
167 acc.merge(
addToAOD(flags, extraContent))
◆ CaloL0RingerPreCfg()
def TrigCaloRecConfig.CaloL0RingerPreCfg |
( |
|
flags, |
|
|
|
DoNoiseThrRings = True |
|
) |
| |
◆ CaloL0RingerPrepareList()
def TrigCaloRecConfig.CaloL0RingerPrepareList |
( |
|
DoNoiseThrRings = True | ) |
|
Definition at line 147 of file TrigCaloRecConfig.py.
150 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')]
152 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 404 of file TrigCaloRecConfig.py.
405 cfg =
hltCaloTopoClusteringCfg(flags, namePrefix=
"", nameSuffix=
"RoI", CellsName=
"CaloCells", monitorCells=
True, roisKey=RoIs)
◆ egammaTopoClusteringCfg_LRT()
def TrigCaloRecConfig.egammaTopoClusteringCfg_LRT |
( |
|
flags, |
|
|
|
RoIs |
|
) |
| |
Definition at line 410 of file TrigCaloRecConfig.py.
412 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 500 of file TrigCaloRecConfig.py.
501 """ Create the towers for heavy ion """
510 "HLTHICaloTowerMakerFS",
519 "HLTHICaloClusterMakerFS",
522 clustersKey =
"HLT_HICaloClustersFS"
◆ hltCaloCellCorrectorCfg()
def TrigCaloRecConfig.hltCaloCellCorrectorCfg |
( |
|
flags, |
|
|
|
name = 'HLTCaloCellCorrector' , |
|
|
|
inputEDM = 'CellsClusters' , |
|
|
|
outputEDM = 'CorrectedCellsClusters' , |
|
|
|
eventShape = 'HIEventShape' |
|
) |
| |
Definition at line 91 of file TrigCaloRecConfig.py.
91 def hltCaloCellCorrectorCfg(flags,name='HLTCaloCellCorrector', inputEDM='CellsClusters', outputEDM='CorrectedCellsClusters', eventShape='HIEventShape'):
93 cellCorrector = CompFactory.HLTCaloCellCorrector(name = name,
94 EventShapeCollection = eventShape,
95 InputCellKey = inputEDM,
96 OutputCellKey = outputEDM)
97 acc.addEventAlgo(cellCorrector)
◆ hltCaloCellMakerCfg()
def TrigCaloRecConfig.hltCaloCellMakerCfg |
( |
|
flags, |
|
|
|
name = None , |
|
|
|
roisKey = 'UNSPECIFIED' , |
|
|
|
CellsName = None , |
|
|
|
monitorCells = False , |
|
|
|
doTau = False |
|
) |
| |
Definition at line 53 of file TrigCaloRecConfig.py.
53 def hltCaloCellMakerCfg(flags, name=None, roisKey='UNSPECIFIED', CellsName=None, monitorCells=False, doTau=False):
55 from TrigT2CaloCommon.TrigCaloDataAccessConfig
import trigCaloDataAccessSvcCfg, CaloDataAccessSvcDependencies
58 if (roisKey ==
'UNSPECIFIED'):
59 from HLTSeeding.HLTSeedingConfig
import mapThresholdToL1RoICollection
62 cellsFromName =
'CaloCellsFS' if "FS" in name
else "CaloCells"
63 cells = cellsFromName
if CellsName
is None else CellsName
65 from AthenaMonitoringKernel.GenericMonitoringTool
import GenericMonitoringTool
67 monTool.defineHistogram(
'Cells_N', path=
'EXPERT', type=
'TH1F', title=
"Cells N; NCells; events",
68 xbins=40, xmin=0, xmax=1600
if monitorCells
else 240000)
69 monTool.defineHistogram(
'TIME_exec', path=
'EXPERT', type=
'TH1F', title=
"Cells time; time [ us ] ; Nruns",
70 xbins=80, xmin=0, xmax=800
if monitorCells
else 160000)
72 monTool.defineHistogram(
'Cells_eT', path=
'EXPERT', type=
'TH1F', title=
"Cells E_T; E_T [ GeV ] ; Nclusters",
73 xbins=100, xmin=0.0, xmax=100.0)
74 monTool.defineHistogram(
'Cells_eta', path=
'EXPERT', type=
'TH1F', title=
"Cells #eta; #eta ; Nclusters",
75 xbins=100, xmin=-2.5, xmax=2.5)
76 monTool.defineHistogram(
'Cells_phi', path=
'EXPERT', type=
'TH1F', title=
"Cells #phi; #phi ; Nclusters",
77 xbins=128, xmin=-3.2, xmax=3.2)
79 cellMaker = CompFactory.HLTCaloCellMaker(name,
81 TrigDataAccessMT = acc.getService(
'TrigCaloDataAccessSvc'),
82 ExtraInputs = CaloDataAccessSvcDependencies,
84 monitorCells = monitorCells,
86 TileCellsInROI =
False if not doTau
else True)
87 acc.addEventAlgo(cellMaker, primary=
True)
◆ hltCaloCellSeedlessMakerCfg()
def TrigCaloRecConfig.hltCaloCellSeedlessMakerCfg |
( |
|
flags, |
|
|
|
roisKey = 'UNSPECIFIED' |
|
) |
| |
Definition at line 102 of file TrigCaloRecConfig.py.
106 CellsName =
"SeedLessFS",
109 acc.merge(hltCaloCellMakerAcc)
111 from CaloTools.CaloNoiseCondAlgConfig
import CaloNoiseCondAlgCfg
113 acc.addCondAlgo(CompFactory.CaloNoiseSigmaDiffCondAlg())
◆ hltCaloDMCalib()
def TrigCaloRecConfig.hltCaloDMCalib |
( |
|
flags, |
|
|
|
name = "TrigDMCalib" |
|
) |
| |
Definition at line 206 of file TrigCaloRecConfig.py.
207 localCalibTool = CompFactory.CaloLCDeadMaterialTool(
"TrigLCDeadMaterial",
208 HadDMCoeffKey=
"HadDMCoeff2", ClusterRecoStatus=0,
209 WeightModeDM=2,UseHadProbability=
True)
210 tool = CompFactory.CaloClusterLocalCalib( name,
211 ClusterRecoStatus=[1, 2],
212 LocalCalibTools=[ localCalibTool ] )
◆ hltCaloLocalCalib()
def TrigCaloRecConfig.hltCaloLocalCalib |
( |
|
flags, |
|
|
|
name = "TrigLocalCalib" |
|
) |
| |
Definition at line 172 of file TrigCaloRecConfig.py.
173 det_version_is_rome = flags.GeoModel.AtlasVersion.startswith(
"Rome")
174 localCalibTool = CompFactory.CaloLCWeightTool(
"TrigLCWeight",
175 CorrectionKey=
"H1ClusterCellWeights",
176 SignalOverNoiseCut=2.0, UseHadProbability=
True)
177 trigLCClassify = CompFactory.CaloLCClassificationTool(
"TrigLCClassify",
178 ClassificationKey=
"EMFracClassify",
179 UseSpread=
False, MaxProbability=0.85
if det_version_is_rome
else 0.5,
180 UseNormalizedEnergyDensity=
not det_version_is_rome,
181 StoreClassificationProbabilityInAOD=
True)
182 tool = CompFactory.CaloClusterLocalCalib( name,
183 ClusterRecoStatus=[1, 2], ClusterClassificationTool=[ trigLCClassify ],
184 LocalCalibTools=[ localCalibTool ])
◆ hltCaloOOCalib()
def TrigCaloRecConfig.hltCaloOOCalib |
( |
|
flags, |
|
|
|
name = "TrigOOCCalib" |
|
) |
| |
Definition at line 188 of file TrigCaloRecConfig.py.
189 localCalibTool = CompFactory.CaloLCOutOfClusterTool(
"TrigLCOut",
190 CorrectionKey=
"OOCCorrection",UseEmProbability=
False,
191 UseHadProbability=
True)
192 tool = CompFactory.CaloClusterLocalCalib( name,
193 ClusterRecoStatus=[1, 2],
194 LocalCalibTools=[ localCalibTool ] )
◆ hltCaloOOCPi0Calib()
def TrigCaloRecConfig.hltCaloOOCPi0Calib |
( |
|
flags, |
|
|
|
name = "TrigOOCPi0Calib" |
|
) |
| |
Definition at line 197 of file TrigCaloRecConfig.py.
198 localCalibTool = CompFactory.CaloLCOutOfClusterTool(
"TrigLCOutPi0",
199 CorrectionKey=
"OOCPi0Correction", UseEmProbability=
True,
200 UseHadProbability=
False)
201 tool = CompFactory.CaloClusterLocalCalib( name,
202 ClusterRecoStatus=[1, 2],
203 LocalCalibTools=[ localCalibTool ] )
◆ hltCaloTopoClusterCalibratorCfg()
def TrigCaloRecConfig.hltCaloTopoClusterCalibratorCfg |
( |
|
flags, |
|
|
|
name, |
|
|
|
clustersin, |
|
|
|
clustersout, |
|
|
** |
kwargs |
|
) |
| |
Create the LC calibrator
Definition at line 304 of file TrigCaloRecConfig.py.
305 """ Create the LC calibrator """
306 from CaloTools.CaloNoiseCondAlgConfig
import CaloNoiseCondAlgCfg
312 from CaloRec.CaloTopoClusterConfig
import caloTopoCoolFolderCfg
315 calibrator = CompFactory.TrigCaloClusterCalibrator(
316 name, InputClusters=clustersin, OutputClusters=clustersout,
327 monTool.defineHistogram(
'Et', path=
'EXPERT', type=
'TH1F',
328 title=
"Cluster E_T; E_T [ MeV ] ; Number of Clusters",
329 xbins=135, xmin=-200.0, xmax=2500.0)
330 monTool.defineHistogram(
'Eta', path=
'EXPERT', type=
'TH1F',
331 title=
"Cluster #eta; #eta ; Number of Clusters",
332 xbins=100, xmin=-2.5, xmax=2.5)
333 monTool.defineHistogram(
'Phi', path=
'EXPERT', type=
'TH1F',
334 title=
"Cluster #phi; #phi ; Number of Clusters",
335 xbins=64, xmin=-3.2, xmax=3.2)
336 monTool.defineHistogram(
'Eta,Phi', path=
'EXPERT', type=
'TH2F',
337 title=
"Number of Clusters; #eta ; #phi ; Number of Clusters",
338 xbins=100, xmin=-2.5, xmax=2.5, ybins=128, ymin=-3.2, ymax=3.2)
339 calibrator.MonTool = monTool
341 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 348 of file TrigCaloRecConfig.py.
349 flags, namePrefix=None,nameSuffix=None, CellsName=None, monitorCells=False, roisKey="UNSPECIFIED",clustersKey=None, doLCFS=False, doTau = False):
351 CellsName =
"CaloCellsLC"
352 clustersKeyFromName =
"HLT_TopoCaloClustersLC"
353 elif nameSuffix ==
"FS":
354 clustersKeyFromName = em_clusters
357 clustersKeyFromName = TrigEgammaKeys.precisionTopoClusterContainer
359 clusters = clustersKeyFromName
if clustersKey
is None else clustersKey
362 hltCaloCellMakerCfg(flags, namePrefix +
"HLTCaloCellMaker"+nameSuffix, roisKey=roisKey, CellsName=CellsName, monitorCells=monitorCells, doTau = doTau)
365 clustermakername = namePrefix +
"HLTCaloClusterMaker"+nameSuffix
368 if flags.hasFlag(
"CaloRecGPU.GlobalFlags.UseCaloRecGPU")
and flags.CaloRecGPU.GlobalFlags.UseCaloRecGPU
and not doTau
and "FS" in clustermakername:
369 flags = flags.cloneAndReplace(
"CaloRecGPU.ActiveConfig",
"Trigger.CaloRecGPU.Default",
True)
370 from CaloRecGPU.CaloRecGPUConfig
import GPUCaloTopoClusterCfg
373 GPUKernelSvc = CompFactory.GPUKernelSizeOptimizerSvc()
374 acc.addService(GPUKernelSvc)
376 monitorCells =
"FS" in clustermakername
382 name = clustermakername,
384 MonitorCells = monitorCells,
385 ReallyUseGPUTools =
not flags.CaloRecGPU.GlobalFlags.UseCPUToolsInstead)
389 calt=
hltTopoClusterMakerCfg(flags, clustermakername, cellsKey=CellsName, clustersKey=clusters, doLC=doTau)
394 "HLTCaloClusterCalibratorLCFS",
395 clustersin=em_clusters,
396 clustersout=lc_clusters,
397 OutputCellLinks=lc_clusters +
"_cellLinks",
◆ hltCaloTopoClusteringHICfg()
def TrigCaloRecConfig.hltCaloTopoClusteringHICfg |
( |
|
flags, |
|
|
|
CellsName = None , |
|
|
|
roisKey = "UNSPECIFIED" , |
|
|
|
doLC = False , |
|
|
|
algSuffix = 'HIRoI' , |
|
|
|
ion = True |
|
) |
| |
Definition at line 434 of file TrigCaloRecConfig.py.
435 flags, CellsName=None, roisKey="UNSPECIFIED", doLC=False,algSuffix='HIRoI', ion=True):
437 eventShape = TrigEgammaKeys.egEventShape
438 clustersKey = TrigEgammaKeys.precisionTopoClusterContainer
440 acc.merge(
hltCaloCellMakerCfg(flags,
"HLTCaloCellMaker"+algSuffix, roisKey=roisKey, CellsName=CellsName, monitorCells=
True))
441 acc.merge(
hltCaloCellCorrectorCfg(flags,name=
'HLTRoICaloCellCorrector', inputEDM=
'CaloCells', outputEDM=
'CorrectedRoICaloCells', eventShape=eventShape))
442 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 486 of file TrigCaloRecConfig.py.
487 """Function to equip HLT HI cluster builder from towers and cells, adds to output AOD stream"""
491 alg=CompFactory.HIClusterMaker(name,
492 InputTowerKey=towersKey,
493 CaloCellContainerKey=cellsKey,
494 OutputContainerKey=clustersKey
496 acc.addEventAlgo(alg, primary=
True)
◆ hltHICaloTowerMakerCfg()
def TrigCaloRecConfig.hltHICaloTowerMakerCfg |
( |
|
flags, |
|
|
|
name, |
|
|
|
towersKey, |
|
|
|
cellsKey = "CaloCellsFS" , |
|
|
|
RoIs = "" |
|
) |
| |
Definition at line 446 of file TrigCaloRecConfig.py.
448 larcmbtwrbldr = CompFactory.LArTowerBuilderTool(
"LArCmbTwrBldr",
449 CellContainerName = cellsKey,
450 IncludedCalos = [
"LAREM",
"LARHEC" ]
453 fcalcmbtwrbldr = CompFactory.LArFCalTowerBuilderTool(
"FCalCmbTwrBldr",
454 CellContainerName = cellsKey,
459 tilecmbtwrbldr = CompFactory.TileTowerBuilderTool(
"TileCmbTwrBldr",
460 CellContainerName = cellsKey,
468 alg = CompFactory.TrigCaloTowerMaker(name,
470 CaloTowers=towersKey,
471 NumberOfPhiTowers=64,
472 NumberOfEtaTowers=100,
478 TowerMakerTools = [ tilecmbtwrbldr, larcmbtwrbldr, fcalcmbtwrbldr ]
480 from CaloTools.CaloNoiseCondAlgConfig
import CaloNoiseCondAlgCfg
482 acc.addEventAlgo(alg, primary=
True)
◆ hltTopoClusterMakerCfg()
def TrigCaloRecConfig.hltTopoClusterMakerCfg |
( |
|
flags, |
|
|
|
name, |
|
|
|
clustersKey = "HLT_TopoCaloClustersFS" , |
|
|
|
cellsKey = None , |
|
|
|
doLC = False |
|
) |
| |
Definition at line 218 of file TrigCaloRecConfig.py.
219 cellsKey=None, doLC=False):
221 cellsFromName =
'CaloCellsFS' if "FS" in clustersKey
else "CaloCells"
222 cells = cellsFromName
if cellsKey
is None else cellsKey
224 from CaloRec.CaloTopoClusterConfig
import (
225 CaloTopoClusterToolCfg,
226 CaloTopoClusterSplitterToolCfg,
230 topoMaker.RestrictPSNeighbors =
False
231 listClusterCorrectionTools = []
233 from CaloTools.CaloNoiseCondAlgConfig
import CaloNoiseCondAlgCfg
236 from CaloRec.CaloTopoClusterConfig
import caloTopoCoolFolderCfg
242 topoMaker.SeedCutsInT = flags.Trigger.Calo.TopoCluster.doTimeCut
243 topoMaker.CutOOTseed = flags.Trigger.Calo.TopoCluster.extendTimeCut
and flags.Trigger.Calo.TopoCluster.doTimeCut
244 topoMaker.UseTimeCutUpperLimit = flags.Trigger.Calo.TopoCluster.useUpperLimitForTimeCut
245 topoMaker.TimeCutUpperLimit = flags.Trigger.Calo.TopoCluster.timeCutUpperLimit
249 topoMoments = CompFactory.CaloClusterMomentsMaker (
'TrigTopoMoments')
250 topoMoments.MaxAxisAngle = 20*deg
251 topoMoments.TwoGaussianNoise = flags.Calo.TopoCluster.doTwoGaussianNoise
252 topoMoments.MinBadLArQuality = 4000
253 topoMoments.MomentsNames = [
'FIRST_PHI',
287 doMonCells =
"FS" in name
288 alg = CompFactory.TrigCaloClusterMaker(
292 CellLinks = clustersKey+
"_links",
293 ClusterMakerTools = [ topoMaker, topoSplitter, topoMoments],
294 ClusterCorrectionTools = listClusterCorrectionTools,
295 MonCells = doMonCells,
298 from CaloTools.CaloNoiseCondAlgConfig
import CaloNoiseCondAlgCfg
300 acc.addEventAlgo(alg, primary=
True)
◆ jetmetTopoClusteringCfg()
def TrigCaloRecConfig.jetmetTopoClusteringCfg |
( |
|
flags, |
|
|
|
RoIs |
|
) |
| |
JetMetSpecific TopoClustering####################################.
Definition at line 418 of file TrigCaloRecConfig.py.
419 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 119 of file TrigCaloRecConfig.py.
121 from TrigT2CaloEgamma.TrigT2CaloEgammaConfig
import RingerReFexConfig
122 nameTool=
'RingerGlobalFex'
123 nameAlgo=
'L0CaloGlobalRoIBuilder'
124 nameContCalo=
'CaloClustersGlobal'
125 nameContRinger=
'RingerGlobal'
126 if ( DoNoiseThrRings ):
127 nameTool=
'RingerGlobal2sigFex'
128 nameAlgo=
'L0CaloGlobalRoI2sigBuilder'
129 nameContCalo=
'CaloClusters2sigGlobal'
130 nameContRinger=
'Ringer2sigGlobal'
132 ClustersName=nameContCalo,DoNoiseThrRings=DoNoiseThrRings)
133 L0CaloGlobalRoIBuilderAlg = CompFactory.CaloGlobalRoIBuilder(name=nameAlgo,
134 Cells =
"SeedLessFS", ClustersName=nameContCalo,
135 RingerKey=nameContRinger,
137 acc.addEventAlgo(L0CaloGlobalRoIBuilderAlg)
139 from CaloTools.CaloNoiseCondAlgConfig
import CaloNoiseCondAlgCfg
◆ tauTopoClusteringCfg()
def TrigCaloRecConfig.tauTopoClusteringCfg |
( |
|
flags, |
|
|
|
RoIs |
|
) |
| |
TauSpecific TopoClustering####################################.
Definition at line 429 of file TrigCaloRecConfig.py.
430 cfg =
hltCaloTopoClusteringCfg(flags, namePrefix=
"Tau", nameSuffix=
"", CellsName=
"CaloCellsLC", monitorCells=
False, roisKey=RoIs, clustersKey=
"HLT_TopoCaloClustersLC", doTau=
True)
◆ trigCaloClusterMakerMonTool()
def TrigCaloRecConfig.trigCaloClusterMakerMonTool |
( |
|
flags, |
|
|
|
doMonCells = False |
|
) |
| |
Monitoring tool for TrigCaloClusterMaker
Definition at line 16 of file TrigCaloRecConfig.py.
17 """Monitoring tool for TrigCaloClusterMaker"""
21 maxNumberOfClusters = 1200
if doMonCells
else 50
22 maxProcTime = 150000
if doMonCells
else 4500
24 monTool.defineHistogram(
'container_size', path=
'EXPERT', type=
'TH1F', title=
"Container Size; Number of Clusters; Number of Events", xbins=50, xmin=0.0, xmax=maxNumberOfClusters)
25 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)
26 monTool.defineHistogram(
'TIME_execute', path=
'EXPERT', type=
'TH1F', title=
"Total Execution Time; Execution time [ us ] ; Number of runs", xbins=100, xmin=0.0, xmax=maxProcTime)
27 monTool.defineHistogram(
'TIME_ClustMaker', path=
'EXPERT', type=
'TH1F', title=
"Cluster Maker Time; Execution time [ us ] ; Number of runs", xbins=100, xmin=0.0, xmax=maxProcTime)
28 monTool.defineHistogram(
'TIME_ClustCorr', path=
'EXPERT', type=
'TH1F', title=
"Cluster Correction Time; Execution time [ us ] ; Number of runs", xbins=100, xmin=0.0, xmax=100)
29 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)
30 monTool.defineHistogram(
'Eta', path=
'EXPERT', type=
'TH1F', title=
"Cluster #eta; #eta ; Number of Clusters", xbins=100, xmin=-2.5, xmax=2.5)
31 monTool.defineHistogram(
'Phi', path=
'EXPERT', type=
'TH1F', title=
"Cluster #phi; #phi ; Number of Clusters", xbins=64, xmin=-3.2, xmax=3.2)
32 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)
33 monTool.defineHistogram(
'clusterSize', path=
'EXPERT', type=
'TH1F', title=
"Cluster Type; Type ; Number of Clusters", xbins=13, xmin=0.5, xmax=13.5)
34 monTool.defineHistogram(
'signalState', path=
'EXPERT', type=
'TH1F', title=
"Signal State; Signal State ; Number of Clusters", xbins=4, xmin=-1.5, xmax=2.5)
35 monTool.defineHistogram(
'size', path=
'EXPERT', type=
'TH1F', title=
"Cluster Size; Size [Cells] ; Number of Clusters", xbins=125, xmin=0.0, xmax=250.0)
36 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)
37 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)
38 monTool.defineHistogram(
'mu', path=
'EXPERT', type=
'TH1F', title=
"mu; mu; Number of Events", xbins=50, xmin=0.0, xmax=100)
39 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)
42 monTool.defineHistogram(
'count_1thrsigma', path=
'EXPERT', type=
'TH1F', title=
"count_1thrsigma; count_1thresigma; Number of Events", xbins=60, xmin=0.0, xmax=12e3)
43 monTool.defineHistogram(
'count_2thrsigma', path=
'EXPERT', type=
'TH1F', title=
"count_2thrsigma; count_2thresigma; Number of Events", xbins=60, xmin=0.0, xmax=6e3)
44 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)
45 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)
46 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)
47 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 |
◆ 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 trigCaloClusterMakerMonTool(flags, doMonCells=False)
def hltCaloCellMakerCfg(flags, name=None, roisKey='UNSPECIFIED', CellsName=None, monitorCells=False, doTau=False)
def hltTopoClusterMakerCfg(flags, name, clustersKey="HLT_TopoCaloClustersFS", cellsKey=None, doLC=False)
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 GPUCaloTopoClusterCfg(flags, instantiateForTrigger, cellsname, clustersname=None, clustersnapname="CaloTopoClusters", name="HybridClusterProcessor", MonitorTool=None, MonitorCells=False, PlotterTool=None, addAsPrimary=True, ReallyUseGPUTools=True)
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 hltCaloCellSeedlessMakerCfg(flags, roisKey='UNSPECIFIED')
def CaloNoiseCondAlgCfg(flags, noisetype="totalNoise")
def hltCaloOOCPi0Calib(flags, name="TrigOOCPi0Calib")
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 jetmetTopoClusteringCfg_LC(flags, RoIs)
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)