|
ATLAS Offline Software
|
◆ CellVariablesCfg()
def TauToolHolder.CellVariablesCfg |
( |
|
flags | ) |
|
Tau cell variables calculation.
Definition at line 197 of file TauToolHolder.py.
199 _name = flags.Tau.ActiveConfig.prefix +
'CellVariables'
201 TauCellVariables = CompFactory.getComp(
"TauCellVariables")
203 VertexCorrection =
True)
205 result.setPrivateTools(TauCellVariables)
◆ CellWeightToolCfg()
def TauToolHolder.CellWeightToolCfg |
( |
|
flags | ) |
|
cell weight tool
Definition at line 227 of file TauToolHolder.py.
231 H1WeightToolCSC12Generic = CompFactory.H1WeightToolCSC12Generic
232 isMC = flags.Input.isMC
237 onlyCellWeight =
False
238 from CaloClusterCorrection.StandardCellWeightCalib
import H1Calibration, editParm
239 (key,folder,tag) = H1Calibration.getCalibDBParams(flags, finder, mainparam, inputn, onlyCellWeight, isMC)
241 from IOVDbSvc.IOVDbSvcConfig
import addFolders
246 if (folder,tag)
not in H1Calibration.loaded_folder:
247 if H1Calibration.overrideFolder():
248 result.merge(
addFolders(flags, folder+
'<tag>'+tag+
'</tag>', detDb=dbString, className=
'CaloRec::ToolConstants') )
250 result.merge(
addFolders(flags, folder, detDb=dbString, className=
'CaloRec::ToolConstants') )
252 H1Calibration.loaded_folder.append( (folder,tag) )
255 toolName = finder +
editParm(mainparam) + inputn
257 cellcalibtool.DBHandleKey = key
258 result.setPrivateTools(cellcalibtool)
◆ ElectronVetoVarsCfg()
def TauToolHolder.ElectronVetoVarsCfg |
( |
|
flags | ) |
|
ele veto variables
Definition at line 210 of file TauToolHolder.py.
212 _name = flags.Tau.ActiveConfig.prefix +
'TauElectronVetoVars'
214 from TrackToCalo.TrackToCaloConfig
import ParticleCaloExtensionToolCfg
216 TauElectronVetoVariables = CompFactory.getComp(
"TauElectronVetoVariables")
218 VertexCorrection =
True,
222 result.setPrivateTools(TauElectronVetoVariables)
◆ EnergyCalibrationLCCfg()
def TauToolHolder.EnergyCalibrationLCCfg |
( |
|
flags | ) |
|
Tau energy calibration.
Definition at line 183 of file TauToolHolder.py.
185 _name = flags.Tau.ActiveConfig.prefix +
'EnergyCalibrationLC'
187 TauCalibrateLC = CompFactory.getComp(
"TauCalibrateLC")
189 calibrationFile = flags.Tau.CalibrateLCConfig,
190 Key_vertexInputContainer = flags.Tau.ActiveConfig.VertexCollection)
192 result.setPrivateTools(TauCalibrateLC)
◆ getParticleCache()
def TauToolHolder.getParticleCache |
( |
|
flags | ) |
|
Definition at line 71 of file TauToolHolder.py.
73 if flags.Common.ProductionStep
is ProductionStep.Reconstruction:
74 ParticleCache =
"ParticleCaloExtension"
◆ JetSeedBuilderCfg()
def TauToolHolder.JetSeedBuilderCfg |
( |
|
flags | ) |
|
JetSeedBuilder.
Definition at line 21 of file TauToolHolder.py.
23 _name = flags.Tau.ActiveConfig.prefix +
'JetSeedBuilder'
25 JetSeedBuilder = CompFactory.getComp(
"JetSeedBuilder")
28 result.setPrivateTools(JetSeedBuilder)
◆ MvaTESEvaluatorCfg()
def TauToolHolder.MvaTESEvaluatorCfg |
( |
|
flags | ) |
|
MvaTESEvaluator.
Definition at line 703 of file TauToolHolder.py.
705 _name = flags.Tau.ActiveConfig.prefix +
'MvaTESEvaluator'
707 MvaTESEvaluator = CompFactory.getComp(
"MvaTESEvaluator")
709 WeightFileName = flags.Tau.MvaTESConfig,
710 WeightFileName0p = flags.Tau.MvaTESConfig0p )
712 result.setPrivateTools(MvaTESEvaluator)
◆ MvaTESVariableDecoratorCfg()
def TauToolHolder.MvaTESVariableDecoratorCfg |
( |
|
flags | ) |
|
MvaTESVariableDecorator.
Definition at line 689 of file TauToolHolder.py.
691 _name = flags.Tau.ActiveConfig.prefix +
'MvaTESVariableDecorator'
693 MvaTESVariableDecorator = CompFactory.getComp(
"MvaTESVariableDecorator")
695 Key_vertexInputContainer = flags.Tau.ActiveConfig.VertexCollection,
696 EventShapeKey = flags.Tau.ActiveConfig.EventShapeCollection,
697 VertexCorrection =
True)
698 result.setPrivateTools(MvaTESVariableDecorator)
◆ Pi0ClusterCreatorCfg()
def TauToolHolder.Pi0ClusterCreatorCfg |
( |
|
flags | ) |
|
create Pi0 clusters
Definition at line 595 of file TauToolHolder.py.
597 _name = flags.Tau.ActiveConfig.prefix +
'Pi0ClusterCreator'
599 TauPi0ClusterCreator = CompFactory.getComp(
"TauPi0ClusterCreator")
602 result.setPrivateTools(TauPi0ClusterCreator)
◆ Pi0ClusterFinderCfg()
def TauToolHolder.Pi0ClusterFinderCfg |
( |
|
flags | ) |
|
Pi0 algo Cluster finder for Pi0 algo.
Definition at line 294 of file TauToolHolder.py.
296 _name = flags.Tau.ActiveConfig.prefix +
'Pi0ClusterFinder'
298 TauPi0CreateROI = CompFactory.getComp(
"TauPi0CreateROI")
302 Key_caloCellInputContainer =
"AllCalo",
303 Key_RemovedClusterInputContainer = flags.Tau.ActiveConfig.RemovedElectronClusters,
304 inEleRM = flags.Tau.ActiveConfig.inTauEleRM,
305 RemoveElectronCells = flags.Tau.ActiveConfig.RemoveElectronCells,
308 result.setPrivateTools(myTauPi0CreateROI)
◆ Pi0ClusterScalerCfg()
def TauToolHolder.Pi0ClusterScalerCfg |
( |
|
flags | ) |
|
Set energy of cluster to take care of charged pion energy deposited in the ECAL.
Definition at line 607 of file TauToolHolder.py.
609 _name = flags.Tau.ActiveConfig.prefix +
'Pi0ClusterScaler'
611 TauPi0ClusterScaler = CompFactory.getComp(
"TauPi0ClusterScaler")
614 result.setPrivateTools(TauPi0ClusterScaler)
◆ Pi0ScoreCalculatorCfg()
def TauToolHolder.Pi0ScoreCalculatorCfg |
( |
|
flags | ) |
|
calculate MVA scores of pi0 clusters
Definition at line 619 of file TauToolHolder.py.
621 _name = flags.Tau.ActiveConfig.prefix +
'Pi0ScoreCalculator'
623 TauPi0ScoreCalculator = CompFactory.getComp(
"TauPi0ScoreCalculator")
625 BDTWeightFile = flags.Tau.Pi0ScoreConfig)
627 result.setPrivateTools(TauPi0ScoreCalculator)
◆ Pi0SelectorCfg()
def TauToolHolder.Pi0SelectorCfg |
( |
|
flags | ) |
|
select pi0 clusters
Definition at line 632 of file TauToolHolder.py.
634 _name = flags.Tau.ActiveConfig.prefix +
'Pi0Selector'
636 TauPi0Selector = CompFactory.getComp(
"TauPi0Selector")
638 ClusterEtCut = flags.Tau.pi0EtCuts,
639 ClusterBDTCut_1prong = flags.Tau.pi0MVACuts_1prong,
640 ClusterBDTCut_mprong = flags.Tau.pi0MVACuts_mprong)
642 result.setPrivateTools(TauPi0Selector)
◆ TauAODMuonRemovalCfg()
def TauToolHolder.TauAODMuonRemovalCfg |
( |
|
flags | ) |
|
muon removal tool
Definition at line 937 of file TauToolHolder.py.
939 _name = flags.Tau.ActiveConfig.prefix +
'MuonRemoval'
940 TauAODLeptonRemovalTool = CompFactory.getComp(
"TauAODLeptonRemovalTool")
942 Key_MuonInputContainer =
'Muons',
947 result.setPrivateTools(myMuonRemoval)
◆ TauAODSelectorCfg()
def TauToolHolder.TauAODSelectorCfg |
( |
|
flags | ) |
|
Definition at line 909 of file TauToolHolder.py.
911 _name = flags.Tau.ActiveConfig.prefix +
'TauAODSelector'
913 TauAODSelector = CompFactory.getComp(
"TauAODSelector")
915 Min0pTauPt = flags.Tau.MinPt0p,
916 MinTauPt = flags.Tau.MinPt,
917 doEarlyStopping = flags.Tau.doEarlyStopping
and not flags.Output.doWriteESD)
919 result.setPrivateTools(myTauAODSelector)
◆ TauAxisCfg()
def TauToolHolder.TauAxisCfg |
( |
|
flags | ) |
|
Tau energy calibration and tau axis direction.
Definition at line 57 of file TauToolHolder.py.
59 _name = flags.Tau.ActiveConfig.prefix +
'TauAxis'
61 TauAxisSetter = CompFactory.getComp(
"TauAxisSetter")
64 VertexCorrection =
True )
66 result.setPrivateTools(TauAxisSetter)
◆ TauCaloClusterBadChannelCfg()
def TauToolHolder.TauCaloClusterBadChannelCfg |
( |
|
flags | ) |
|
Definition at line 583 of file TauToolHolder.py.
585 _name = flags.Tau.ActiveConfig.prefix +
'CaloClusterBadChannelList'
587 CaloClusterBadChannelListCorr = CompFactory.getComp(
"CaloClusterBadChannelList")
590 result.setPrivateTools(BadChannelListCorrForTaus)
◆ TauCaloClusterCellWeightCalibCfg()
def TauToolHolder.TauCaloClusterCellWeightCalibCfg |
( |
|
flags | ) |
|
Definition at line 457 of file TauToolHolder.py.
459 _name = flags.Tau.ActiveConfig.prefix +
'CellWeights'
461 CaloClusterCellWeightCalib = CompFactory.getComp(
"CaloClusterCellWeightCalib")
463 CellWeights.CellSignalWeightTool = result.popToolsAndMerge(
CellWeightToolCfg(flags))
464 CellWeights.Direction =
"AbsSignal"
465 CellWeights.BelowThresholdLikeAll =
True
466 CellWeights.BelowThresholdDirection =
"AbsSignal"
467 CellWeights.EnergyThreshold = 0.0*MeV
468 CellWeights.IgnoreGeoWeights =
False
470 result.setPrivateTools(CellWeights)
◆ TauCaloClusterLocalCalibCfg()
def TauToolHolder.TauCaloClusterLocalCalibCfg |
( |
|
flags | ) |
|
Definition at line 404 of file TauToolHolder.py.
406 _name = flags.Tau.ActiveConfig.prefix +
'CaloLocalCalib'
408 CaloClusterLocalCalib = CompFactory.getComp(
"CaloClusterLocalCalib")
411 LocalCalib.ClusterRecoStatus = [1,2]
413 LocalCalib.WeightingOfNegClusters = flags.Calo.TopoCluster.doTreatEnergyCutAsAbsolute
415 result.setPrivateTools(LocalCalib)
◆ TauCaloClusterMomentsMakerCfg()
def TauToolHolder.TauCaloClusterMomentsMakerCfg |
( |
|
flags | ) |
|
Definition at line 543 of file TauToolHolder.py.
545 _name = flags.Tau.ActiveConfig.prefix +
'Pi0TopoMoments'
548 from CaloTools.CaloNoiseCondAlgConfig
import CaloNoiseCondAlgCfg
553 CaloClusterMomentsMaker = CompFactory.getComp(
"CaloClusterMomentsMaker")
555 TopoMomentsForTaus.WeightingOfNegClusters = flags.Calo.TopoCluster.doTreatEnergyCutAsAbsolute
556 TopoMomentsForTaus.MaxAxisAngle = 20*deg
557 TopoMomentsForTaus.TwoGaussianNoise = flags.Calo.TopoCluster.doTwoGaussianNoise
558 TopoMomentsForTaus.MinBadLArQuality = 4000
559 TopoMomentsForTaus.MomentsNames = [
"FIRST_PHI"
580 result.setPrivateTools(TopoMomentsForTaus)
◆ TauCaloDMCalibCfg()
def TauToolHolder.TauCaloDMCalibCfg |
( |
|
flags | ) |
|
Definition at line 431 of file TauToolHolder.py.
433 _name = flags.Tau.ActiveConfig.prefix +
'DMCalib'
435 CaloClusterLocalCalib = CompFactory.getComp(
"CaloClusterLocalCalib")
437 DMCalib.ClusterRecoStatus = [1,2]
439 DMCalib.WeightingOfNegClusters = flags.Calo.TopoCluster.doTreatEnergyCutAsAbsolute
441 result.setPrivateTools(DMCalib)
◆ TauCaloLCClassificationCfg()
def TauToolHolder.TauCaloLCClassificationCfg |
( |
|
flags | ) |
|
Calo Tools.
Definition at line 327 of file TauToolHolder.py.
329 _name = flags.Tau.ActiveConfig.prefix +
'LCClassify'
331 CaloLCClassificationTool = CompFactory.getComp(
"CaloLCClassificationTool")
333 LCClassify.ClassificationKey =
"EMFracClassify"
334 LCClassify.UseSpread =
False
335 LCClassify.MaxProbability = 0.5
337 LCClassify.StoreClassificationProbabilityInAOD =
True
338 LCClassify.WeightingOfNegClusters = flags.Calo.TopoCluster.doTreatEnergyCutAsAbsolute
339 LCClassify.UseNormalizedEnergyDensity =
True
341 result.setPrivateTools(LCClassify)
◆ TauCaloLCDeadMaterialCfg()
def TauToolHolder.TauCaloLCDeadMaterialCfg |
( |
|
flags | ) |
|
Definition at line 389 of file TauToolHolder.py.
391 _name = flags.Tau.ActiveConfig.prefix +
'CaloLCDeadMaterialTool'
393 CaloLCDeadMaterialTool = CompFactory.getComp(
"CaloLCDeadMaterialTool")
395 LCDeadMaterial.HadDMCoeffKey =
"HadDMCoeff2"
396 LCDeadMaterial.ClusterRecoStatus = 0
397 LCDeadMaterial.WeightModeDM = 2
398 LCDeadMaterial.UseHadProbability =
True
399 LCDeadMaterial.WeightingOfNegClusters = flags.Calo.TopoCluster.doTreatEnergyCutAsAbsolute
401 result.setPrivateTools(LCDeadMaterial)
◆ TauCaloLCOutOfClusterCfg()
def TauToolHolder.TauCaloLCOutOfClusterCfg |
( |
|
flags | ) |
|
Definition at line 363 of file TauToolHolder.py.
365 _name = flags.Tau.ActiveConfig.prefix +
'CaloLCOutOfClusterTool'
367 CaloLCOutOfClusterTool = CompFactory.getComp(
"CaloLCOutOfClusterTool")
369 LCOut.CorrectionKey =
"OOCCorrection"
370 LCOut.UseEmProbability =
False
371 LCOut.UseHadProbability =
True
373 result.setPrivateTools(LCOut)
◆ TauCaloLCOutPi0Cfg()
def TauToolHolder.TauCaloLCOutPi0Cfg |
( |
|
flags | ) |
|
Definition at line 376 of file TauToolHolder.py.
378 _name = flags.Tau.ActiveConfig.prefix +
'LCOutPi0'
380 CaloLCOutOfClusterTool = CompFactory.getComp(
"CaloLCOutOfClusterTool")
382 LCOutPi0.CorrectionKey =
"OOCPi0Correction"
383 LCOutPi0.UseEmProbability =
True
384 LCOutPi0.UseHadProbability =
False
386 result.setPrivateTools(LCOutPi0)
◆ TauCaloLCWeightCfg()
def TauToolHolder.TauCaloLCWeightCfg |
( |
|
flags | ) |
|
Definition at line 344 of file TauToolHolder.py.
346 _name = flags.Tau.ActiveConfig.prefix +
'CaloLCWeightTool'
349 from CaloTools.CaloNoiseCondAlgConfig
import CaloNoiseCondAlgCfg
354 CaloLCWeightTool = CompFactory.getComp(
"CaloLCWeightTool")
356 LCWeight.CorrectionKey =
"H1ClusterCellWeights"
357 LCWeight.SignalOverNoiseCut = 2.0
358 LCWeight.UseHadProbability =
True
360 result.setPrivateTools(LCWeight)
◆ TauCaloOOCCalibCfg()
def TauToolHolder.TauCaloOOCCalibCfg |
( |
|
flags | ) |
|
Definition at line 418 of file TauToolHolder.py.
420 _name = flags.Tau.ActiveConfig.prefix +
'OOCCalibTool'
422 CaloClusterLocalCalib = CompFactory.getComp(
"CaloClusterLocalCalib")
423 OOCCalib = CaloClusterLocalCalib (_name)
424 OOCCalib.ClusterRecoStatus = [1,2]
426 OOCCalib.WeightingOfNegClusters = flags.Calo.TopoCluster.doTreatEnergyCutAsAbsolute
428 result.setPrivateTools(OOCCalib)
◆ TauCaloOOCPi0CalibCfg()
def TauToolHolder.TauCaloOOCPi0CalibCfg |
( |
|
flags | ) |
|
Definition at line 444 of file TauToolHolder.py.
446 _name = flags.Tau.ActiveConfig.prefix +
'OOCPi0CalibTool'
448 CaloClusterLocalCalib = CompFactory.getComp(
"CaloClusterLocalCalib")
449 OOCPi0Calib = CaloClusterLocalCalib (_name)
450 OOCPi0Calib.ClusterRecoStatus = [1,2]
452 OOCPi0Calib.WeightingOfNegClusters = flags.Calo.TopoCluster.doTreatEnergyCutAsAbsolute
454 result.setPrivateTools(OOCPi0Calib)
◆ TauCaloTopoClusterMakerCfg()
def TauToolHolder.TauCaloTopoClusterMakerCfg |
( |
|
flags | ) |
|
Definition at line 473 of file TauToolHolder.py.
475 _name = flags.Tau.ActiveConfig.prefix +
'Pi0TopoClusterMaker'
478 from CaloTools.CaloNoiseCondAlgConfig
import CaloNoiseCondAlgCfg
483 CaloTopoClusterMaker = CompFactory.getComp(
"CaloTopoClusterMaker")
486 TopoClusterForTaus.CellsName = flags.Tau.ActiveConfig.TauCommonPi0Cells
487 TopoClusterForTaus.CalorimeterNames=[
"LAREM"]
488 TopoClusterForTaus.SeedSamplingNames = [
"PreSamplerB",
"EMB1",
"EMB2",
"PreSamplerE",
"EME1",
"EME2"]
489 TopoClusterForTaus.NeighborOption =
"super3D"
490 TopoClusterForTaus.RestrictHECIWandFCalNeighbors =
False
491 TopoClusterForTaus.RestrictPSNeighbors =
True
492 TopoClusterForTaus.CellThresholdOnEorAbsEinSigma = 0.0
493 TopoClusterForTaus.NeighborThresholdOnEorAbsEinSigma = 2.0
494 TopoClusterForTaus.SeedThresholdOnEorAbsEinSigma = 4.0
495 TopoClusterForTaus.SeedCutsInAbsE =
True
496 TopoClusterForTaus.ClusterCutsInAbsEt =
True
497 TopoClusterForTaus.ClusterEtorAbsEtCut = 0.5*GeV
498 TopoClusterForTaus.TwoGaussianNoise = flags.Calo.TopoCluster.doTwoGaussianNoise
500 TopoClusterForTaus.SeedCutsInT = flags.Calo.TopoCluster.doTimeCut
501 TopoClusterForTaus.CutOOTseed = flags.Calo.TopoCluster.extendTimeCut
and flags.Calo.TopoCluster.doTimeCut
502 TopoClusterForTaus.UseTimeCutUpperLimit = flags.Calo.TopoCluster.useUpperLimitForTimeCut
503 TopoClusterForTaus.TimeCutUpperLimit = flags.Calo.TopoCluster.timeCutUpperLimit
504 TopoClusterForTaus.XTalkEM2 = flags.Calo.TopoCluster.xtalkEM2
505 TopoClusterForTaus.XTalkEM2D = flags.Calo.TopoCluster.xtalkEM2D
506 TopoClusterForTaus.XTalkEM2n = flags.Calo.TopoCluster.xtalkEM2n
507 TopoClusterForTaus.XTalkEM3 = flags.Calo.TopoCluster.xtalkEM3
508 TopoClusterForTaus.XTalkEMEta = flags.Calo.TopoCluster.xtalkEMEta
509 TopoClusterForTaus.XTalkDeltaT = flags.Calo.TopoCluster.xtalkDeltaT
510 TopoClusterForTaus.XTalk2Eratio1 = flags.Calo.TopoCluster.xtalk2Eratio1
511 TopoClusterForTaus.XTalk2Eratio2 = flags.Calo.TopoCluster.xtalk2Eratio2
512 TopoClusterForTaus.XTalk3Eratio = flags.Calo.TopoCluster.xtalk3Eratio
513 TopoClusterForTaus.XTalkEtaEratio = flags.Calo.TopoCluster.xtalkEtaEratio
514 TopoClusterForTaus.XTalk2DEratio = flags.Calo.TopoCluster.xtalk2DEratio
516 result.setPrivateTools(TopoClusterForTaus)
◆ TauCaloTopoClusterSplitterCfg()
def TauToolHolder.TauCaloTopoClusterSplitterCfg |
( |
|
flags | ) |
|
Definition at line 519 of file TauToolHolder.py.
522 _name = flags.Tau.ActiveConfig.prefix +
'Pi0TopoClusterSplitter'
524 CaloTopoClusterSplitter = CompFactory.getComp(
"CaloTopoClusterSplitter")
531 TopoSplitterForTaus.SamplingNames = [
"EMB2",
"EME2"]
535 TopoSplitterForTaus.SecondarySamplingNames = [
"EMB1",
"EME1"]
536 TopoSplitterForTaus.ShareBorderCells =
True
537 TopoSplitterForTaus.RestrictHECIWandFCalNeighbors =
False
538 TopoSplitterForTaus.WeightingOfNegClusters = flags.Calo.TopoCluster.doTreatEnergyCutAsAbsolute
540 result.setPrivateTools(TopoSplitterForTaus)
◆ TauCellFinalizerCfg()
def TauToolHolder.TauCellFinalizerCfg |
( |
|
flags | ) |
|
Cell finalizer tool for BuildAlg.
Definition at line 313 of file TauToolHolder.py.
315 _name = flags.Tau.ActiveConfig.prefix +
'tauPi0CellContainerFinalizer'
317 CaloCellContainerFinalizerTool = CompFactory.getComp(
"CaloCellContainerFinalizerTool")
320 result.setPrivateTools(TauCellContainerFinalizer)
◆ TauClusterFinderCfg()
def TauToolHolder.TauClusterFinderCfg |
( |
|
flags | ) |
|
Associate the cluster in jet constituents to the tau candidate.
Definition at line 119 of file TauToolHolder.py.
121 _name = flags.Tau.ActiveConfig.prefix +
'TauClusterFinder'
124 TauClusterFinder = CompFactory.getComp(
"TauClusterFinder")
127 inEleRM = flags.Tau.ActiveConfig.inTauEleRM,
131 result.setPrivateTools(TauClusterFinder)
◆ TauCombinedTESCfg()
def TauToolHolder.TauCombinedTESCfg |
( |
|
flags | ) |
|
TauCombinedTES.
Definition at line 924 of file TauToolHolder.py.
926 _name = flags.Tau.ActiveConfig.prefix +
'TauCombinedTES'
928 TauCombinedTES = CompFactory.getComp(
"TauCombinedTES")
930 WeightFileName = flags.Tau.CombinedTESConfig)
932 result.setPrivateTools(myTauCombinedTES)
◆ TauCommonCalcVarsCfg()
def TauToolHolder.TauCommonCalcVarsCfg |
( |
|
flags | ) |
|
Tau Variables.
Definition at line 665 of file TauToolHolder.py.
667 _name = flags.Tau.ActiveConfig.prefix +
'TauCommonCalcVars'
669 TauCommonCalcVars = CompFactory.getComp(
"TauCommonCalcVars")
672 result.setPrivateTools(TauCommonCalcVars)
◆ TauDecayModeNNClassifierCfg()
def TauToolHolder.TauDecayModeNNClassifierCfg |
( |
|
flags | ) |
|
Definition at line 898 of file TauToolHolder.py.
900 _name = flags.Tau.ActiveConfig.prefix +
'TauDecayModeNNClassifier'
902 TauDecayModeNNClassifier = CompFactory.getComp(
"TauDecayModeNNClassifier")
904 WeightFile=flags.Tau.DecayModeNNClassifierConfig)
906 result.setPrivateTools(myTauDecayModeNNClassifier)
◆ TauEleOverlapChecker()
def TauToolHolder.TauEleOverlapChecker |
( |
|
flags | ) |
|
Definition at line 951 of file TauToolHolder.py.
953 _name = flags.Tau.ActiveConfig.prefix +
'TauEleOverlapChecker'
954 TauEleOverlapChecker = CompFactory.getComp(
"TauEleOverlapChecker")
957 Key_RemovedClustersContainer = flags.Tau.ActiveConfig.RemovedElectronClusters,
958 Key_RemovedTracksContainer = flags.Tau.ActiveConfig.RemovedElectronTracks,
959 CheckingCone = flags.Tau.ActiveConfig.EleRM_CheckingConeSize,
961 result.setPrivateTools(myTauEleOverlapChecker)
◆ TauEleRNNEvaluatorCfg()
def TauToolHolder.TauEleRNNEvaluatorCfg |
( |
|
flags | ) |
|
Definition at line 827 of file TauToolHolder.py.
829 _name = flags.Tau.ActiveConfig.prefix +
'TauEleRNN'
831 TauJetRNNEvaluator = CompFactory.getComp(
"TauJetRNNEvaluator")
832 RNNConf = flags.Tau.TauEleRNNConfig
834 NetworkFile1P = RNNConf[0],
835 NetworkFile3P = RNNConf[1],
836 OutputVarname =
"RNNEleScore",
840 VertexCorrection =
True,
841 InputLayerScalar =
"scalar",
842 InputLayerTracks =
"tracks",
843 InputLayerClusters =
"clusters",
844 OutputLayer =
"rnneveto_output",
845 OutputNode =
"sig_prob")
847 result.setPrivateTools(myTauEleRNNEvaluator)
◆ TauGNNEvaluatorCfg()
def TauToolHolder.TauGNNEvaluatorCfg |
( |
|
flags, |
|
|
|
version = 0 |
|
) |
| |
Definition at line 781 of file TauToolHolder.py.
783 _name = flags.Tau.ActiveConfig.prefix +
'TauGNN_v' +
str(version)
785 TauGNNEvaluator = CompFactory.getComp(
"TauGNNEvaluator")
786 GNNConf = flags.Tau.TauGNNConfig[version]
788 NetworkFile = GNNConf,
789 OutputVarname = flags.Tau.GNTauScoreName[version],
790 OutputPTau =
"GNTauProbTau",
791 OutputPJet =
"GNTauProbJet",
792 MaxTracks = flags.Tau.GNTauMaxTracks[version],
793 MaxClusters = flags.Tau.GNTauMaxClusters[version],
795 MinTauPt = flags.Tau.MinPtDAOD,
796 VertexCorrection =
True,
797 DecorateTracks =
False,
798 InputLayerScalar =
"tau_vars",
799 InputLayerTracks =
"track_vars",
800 InputLayerClusters =
"cluster_vars",
801 NodeNameTau=flags.Tau.GNTauNodeNameTau,
802 NodeNameJet=flags.Tau.GNTauNodeNameJet)
804 result.setPrivateTools(myTauGNNEvaluator)
◆ TauIDVarCalculatorCfg()
def TauToolHolder.TauIDVarCalculatorCfg |
( |
|
flags | ) |
|
Definition at line 715 of file TauToolHolder.py.
717 _name = flags.Tau.ActiveConfig.prefix +
'TauIDVarCalculator'
719 TauIDVarCalculator = CompFactory.getComp(
"TauIDVarCalculator")
721 VertexCorrection =
True)
723 result.setPrivateTools(myTauIDVarCalculator)
◆ TauJetRNNEvaluatorCfg()
def TauToolHolder.TauJetRNNEvaluatorCfg |
( |
|
flags | ) |
|
Definition at line 726 of file TauToolHolder.py.
728 _name = flags.Tau.ActiveConfig.prefix +
'TauJetRNN'
730 TauJetRNNEvaluator = CompFactory.getComp(
"TauJetRNNEvaluator")
731 RNNConf = flags.Tau.TauJetRNNConfig
734 NetworkFile1P = RNNConf[0],
735 NetworkFile2P = RNNConf[1],
736 NetworkFile3P = RNNConf[2],
737 OutputVarname =
"RNNJetScore",
741 VertexCorrection =
True,
742 InputLayerScalar =
"scalar",
743 InputLayerTracks =
"tracks",
744 InputLayerClusters =
"clusters",
745 OutputLayer =
"rnnid_output",
746 OutputNode =
"sig_prob")
748 result.setPrivateTools(myTauJetRNNEvaluator)
◆ TauShotFinderCfg()
def TauToolHolder.TauShotFinderCfg |
( |
|
flags | ) |
|
Photon Shot Finder.
Definition at line 264 of file TauToolHolder.py.
266 _name = flags.Tau.ActiveConfig.prefix +
'TauShotFinder'
268 shotPtCut_1Photon = flags.Tau.shotPtCut_1Photon
269 shotPtCut_2Photons = flags.Tau.shotPtCut_2Photons
272 from CaloClusterCorrection.StandardCellWeightCalib
import getCellWeightTool
276 TauShotFinder = CompFactory.getComp(
"TauShotFinder")
279 CaloWeightTool = result.popToolsAndMerge(CaloWeightTool),
281 MinPtCut = shotPtCut_1Photon,
282 AutoDoubleShotCut = shotPtCut_2Photons,
283 Key_RemovedClusterInputContainer = flags.Tau.ActiveConfig.RemovedElectronClusters,
284 RemoveElectronCells = flags.Tau.ActiveConfig.RemoveElectronCells,
285 inEleRM = flags.Tau.ActiveConfig.inTauEleRM,
288 result.setPrivateTools(TauShotFinder)
◆ TauSubstructureCfg()
def TauToolHolder.TauSubstructureCfg |
( |
|
flags | ) |
|
Tau Variables.
Definition at line 677 of file TauToolHolder.py.
679 _name = flags.Tau.ActiveConfig.prefix +
'TauSubstructure'
681 TauSubstructureVariables = CompFactory.getComp(
"TauSubstructureVariables")
684 result.setPrivateTools(TauSubstructureVariables)
◆ TauTrackFinderCfg()
def TauToolHolder.TauTrackFinderCfg |
( |
|
flags | ) |
|
Tau-Track Association.
Definition at line 82 of file TauToolHolder.py.
84 _name = flags.Tau.ActiveConfig.prefix +
'TauTrackFinder'
87 from BeamSpotConditions.BeamSpotConditionsConfig
import BeamSpotCondAlgCfg
90 from TrackToVertex.TrackToVertexConfig
import TrackToVertexCfg
91 from TrackToCalo.TrackToCaloConfig
import ParticleCaloExtensionToolCfg
92 from TrkConfig.TrkVertexFitterUtilsConfig
import AtlasTrackToVertexIPEstimatorCfg
93 from InDetConfig.InDetTrackSelectorToolConfig
import TauRecInDetTrackSelectorToolCfg
95 TauTrackFinder = CompFactory.getComp(
"TauTrackFinder")
103 removeDuplicateCoreTracks = flags.Tau.RemoveDupeCoreTracks,
104 useGhostTracks = flags.Tau.useGhostTracks,
105 ghostTrackDR = flags.Tau.ghostTrackDR,
106 Key_jetContainer = (flags.Tau.ActiveConfig.SeedJetCollection
if flags.Tau.useGhostTracks
else ""),
107 Key_trackPartInputContainer = flags.Tau.ActiveConfig.TrackCollection,
108 Key_LargeD0TrackInputContainer = (flags.Tau.ActiveConfig.LargeD0TrackCollection
if flags.Tau.associateLRT
else ""),
110 inEleRM = flags.Tau.ActiveConfig.inTauEleRM,
114 result.setPrivateTools(TauTrackFinder)
◆ TauTrackRNNCfg()
def TauToolHolder.TauTrackRNNCfg |
( |
|
flags | ) |
|
Definition at line 147 of file TauToolHolder.py.
149 _name = flags.Tau.ActiveConfig.prefix +
'TauTrackRNNClassifier'
151 TrackRNN = CompFactory.tauRecTools.TrackRNN
152 _RNN = TrackRNN(name = _name +
"_TrackRNN",
153 InputWeightsPath = flags.Tau.tauRNNTrackClassConfig,
154 calibFolder = flags.Tau.tauRecToolsCVMFSPath )
156 result.setPrivateTools(_RNN)
◆ TauTrackRNNClassifierCfg()
def TauToolHolder.TauTrackRNNClassifierCfg |
( |
|
flags | ) |
|
Definition at line 160 of file TauToolHolder.py.
162 _name = flags.Tau.ActiveConfig.prefix +
'TauTrackRNNClassifier'
165 TauTrackRNNClassifier = CompFactory.tauRecTools.TauTrackRNNClassifier
168 cppyy.load_library(
'libxAODTau_cDict')
171 if flags.Tau.associateLRT
and not flags.Tau.classifyLRT:
174 myTauTrackClassifier = TauTrackRNNClassifier( name = _name,
176 classifyLRT = _classifyLRT )
178 result.setPrivateTools(myTauTrackClassifier)
◆ TauVertexedClusterDecoratorCfg()
def TauToolHolder.TauVertexedClusterDecoratorCfg |
( |
|
flags | ) |
|
Definition at line 135 of file TauToolHolder.py.
137 _name = flags.Tau.ActiveConfig.prefix +
'TauVertexedClusterDecorator'
139 TauVertexedClusterDecorator = CompFactory.getComp(
"TauVertexedClusterDecorator")
141 SeedJet = flags.Tau.ActiveConfig.SeedJetCollection)
143 result.setPrivateTools(myTauVertexedClusterDecorator)
◆ TauVertexFinderCfg()
def TauToolHolder.TauVertexFinderCfg |
( |
|
flags | ) |
|
Definition at line 32 of file TauToolHolder.py.
34 _name = flags.Tau.ActiveConfig.prefix +
'TauVertexFinder'
36 from InDetConfig.InDetTrackSelectionToolConfig
import Tau_InDetTrackSelectionToolForTJVACfg
37 from TrackVertexAssociationTool.TrackVertexAssociationToolConfig
import TauTTVAToolCfg
41 TauVertexFinder = CompFactory.getComp(
"TauVertexFinder")
43 UseTJVA = flags.Tau.doTJVA,
44 AssociatedTracks=
"GhostTrack",
46 Key_trackPartInputContainer= flags.Tau.ActiveConfig.TrackCollection,
47 Key_vertexInputContainer = flags.Tau.ActiveConfig.VertexCollection,
49 inEleRM = flags.Tau.ActiveConfig.inTauEleRM,
52 result.setPrivateTools(TauVertexFinder)
◆ TauVertexVariablesCfg()
def TauToolHolder.TauVertexVariablesCfg |
( |
|
flags | ) |
|
Tau Vertex Variables.
Definition at line 647 of file TauToolHolder.py.
649 _name = flags.Tau.ActiveConfig.prefix +
'TauVertexVariables'
651 from TrkConfig.TrkVertexFittersConfig
import TauAdaptiveVertexFitterCfg
652 from TrkConfig.TrkVertexSeedFinderToolsConfig
import (
653 CrossDistancesSeedFinderCfg)
655 TauVertexVariables = CompFactory.getComp(
"TauVertexVariables")
660 result.setPrivateTools(TauVertexVariables)
◆ TauWPDecoratorEleRNNCfg()
def TauToolHolder.TauWPDecoratorEleRNNCfg |
( |
|
flags | ) |
|
Definition at line 850 of file TauToolHolder.py.
851 import PyUtils.RootUtils
as ru
852 ROOT = ru.import_root()
854 cppyy.load_library(
'libxAODTau_cDict')
857 _name = flags.Tau.ActiveConfig.prefix +
'TauWPDecoratorEleRNN'
859 TauWPDecorator = CompFactory.getComp(
"TauWPDecorator")
860 WPConf = flags.Tau.TauEleRNNWPConfig
862 flatteningFile1Prong = WPConf[0],
863 flatteningFile3Prong = WPConf[1],
865 [ ROOT.xAOD.TauJetParameters.IsTauFlag.EleRNNLoose,
866 ROOT.xAOD.TauJetParameters.IsTauFlag.EleRNNMedium,
867 ROOT.xAOD.TauJetParameters.IsTauFlag.EleRNNTight ],
868 SigEff1P = [0.95, 0.90, 0.85],
869 SigEff3P = [0.98, 0.95, 0.90],
871 ScoreName =
"RNNEleScore",
872 NewScoreName =
"RNNEleScoreSigTrans",
875 result.setPrivateTools(myTauEleWPDecorator)
◆ TauWPDecoratorEleRNNFixCfg()
def TauToolHolder.TauWPDecoratorEleRNNFixCfg |
( |
|
flags | ) |
|
Definition at line 878 of file TauToolHolder.py.
880 _name = flags.Tau.ActiveConfig.prefix +
'TauWPDecoratorEleRNNFix_v1'
882 TauWPDecorator = CompFactory.getComp(
"TauWPDecorator")
883 WPConf = flags.Tau.TauEleRNNWPfix
885 flatteningFile1Prong = WPConf[0],
886 flatteningFile3Prong = WPConf[1],
887 DecorWPNames = [
"EleRNNLoose_v1",
"EleRNNMedium_v1",
"EleRNNTight_v1" ],
888 DecorWPCutEffs1P = [0.95, 0.90, 0.85],
889 DecorWPCutEffs3P = [0.98, 0.95, 0.90],
891 ScoreName =
"RNNEleScore",
892 NewScoreName =
"RNNEleScoreSigTrans_v1",
895 result.setPrivateTools(myTauEleWPDecorator)
◆ TauWPDecoratorGNNCfg()
def TauToolHolder.TauWPDecoratorGNNCfg |
( |
|
flags, |
|
|
|
version |
|
) |
| |
Definition at line 807 of file TauToolHolder.py.
809 _name = flags.Tau.ActiveConfig.prefix +
'TauWPDecoratorGNN_v' +
str(version)
811 TauWPDecorator = CompFactory.getComp(
"TauWPDecorator")
812 WPConf = flags.Tau.TauGNNWP[version]
814 flatteningFile1Prong = WPConf[0],
815 flatteningFile2Prong = WPConf[1],
816 flatteningFile3Prong = WPConf[2],
817 DecorWPNames = flags.Tau.GNTauDecorWPNames[version],
818 DecorWPCutEffs1P = [0.95, 0.85, 0.75, 0.60],
819 DecorWPCutEffs2P = [0.95, 0.75, 0.60, 0.45],
820 DecorWPCutEffs3P = [0.95, 0.75, 0.60, 0.45],
821 ScoreName = flags.Tau.GNTauScoreName[version],
822 NewScoreName = flags.Tau.GNTauTransScoreName[version],
824 result.setPrivateTools(myTauWPDecorator)
◆ TauWPDecoratorJetRNNCfg()
def TauToolHolder.TauWPDecoratorJetRNNCfg |
( |
|
flags | ) |
|
Definition at line 751 of file TauToolHolder.py.
752 import PyUtils.RootUtils
as ru
753 ROOT = ru.import_root()
755 cppyy.load_library(
'libxAODTau_cDict')
758 _name = flags.Tau.ActiveConfig.prefix +
'TauWPDecoratorJetRNN'
760 TauWPDecorator = CompFactory.getComp(
"TauWPDecorator")
761 WPConf = flags.Tau.TauJetRNNWPConfig
763 flatteningFile1Prong = WPConf[0],
764 flatteningFile2Prong = WPConf[1],
765 flatteningFile3Prong = WPConf[2],
767 [ ROOT.xAOD.TauJetParameters.IsTauFlag.JetRNNSigVeryLoose,
768 ROOT.xAOD.TauJetParameters.IsTauFlag.JetRNNSigLoose,
769 ROOT.xAOD.TauJetParameters.IsTauFlag.JetRNNSigMedium,
770 ROOT.xAOD.TauJetParameters.IsTauFlag.JetRNNSigTight ],
771 SigEff1P = [0.95, 0.85, 0.75, 0.60],
772 SigEff2P = [0.95, 0.75, 0.60, 0.45],
773 SigEff3P = [0.95, 0.75, 0.60, 0.45],
774 ScoreName =
"RNNJetScore",
775 NewScoreName =
"RNNJetScoreSigTrans",
778 result.setPrivateTools(myTauWPDecorator)
Implementation of tool to decorate flattened BDT score and working points.
Calculate variables which rely on tracks and precalculated cell/cluster information.
Calculate variables from the tau substructure.
def TauAdaptiveVertexFitterCfg(flags, name="TauAdaptiveVertexFitter", **kwargs)
Find the cells used to create pi0 cluster.
Select only the tau within the removal direction.
Class for calculating vertex variables.
def AtlasTrackToVertexIPEstimatorCfg(flags, name='AtlasTrackToVertexIPEstimator', **kwargs)
def BeamSpotCondAlgCfg(flags, name="BeamSpotCondAlg", **kwargs)
Cluster correction tool which applies local hadronic calibration w eights to the cells....
topological cluster splitter.
Creates Pi0 clusters (Pi0 Finder).
Implementation of tau energy scale (TES) with eta and pile-up correction.
def getCellWeightTool(flags, finder="Cone", mainparam=0.4, input="Topo", onlyCellWeight=False)
Selectes pi0Candidates (Pi0 Finder).
Decorate CaloVertexedTopoCluster to the tau candidate.
Set Tau "Detector Axis" and "Intermediate Axis".
def CaloNoiseCondAlgCfg(flags, noisetype="totalNoise")
scale cluster energy to take care of charged pion energy
Tau decay mode classifier using a neural network.
def addFolders(flags, folderStrings, detDb=None, className=None, extensible=False, tag=None, db=None, modifiers='')
Apply Et and BDT score cut to pi0s.
This class implements a tool to calculate ID input variables and add them to the tau aux store.
Calculate variables sensitive on electrons.
Calculate tau calorimeter variables from cell information.
Associate a vertex (origin) to the tau candidate.
Class to build tau jet seed.
Associate tracks to the tau candidate.
Calculate moments for CaloCluster objects.
Associate the clusters used in the seed jet to the tau candidate.
Tool to calculate tau identification score from .onnx inputs.
def TrackToVertexCfg(flags, name="AtlasTrackToVertexTool", **kwargs)
Tool to calculate a tau identification score based on neural networks.
topological cluster maker.
def ParticleCaloExtensionToolCfg(flags, name='ParticleCaloExtensionTool', **kwargs)