ATLAS Offline Software
Loading...
Searching...
No Matches
python.StandardJetMods Namespace Reference

Functions

 _jetname (jetdef, modspec)
 _constitContainername (jetdef, modspec)

Variables

 stdJetModifiers = ldict()
 Sort
 Define the simple modifier setups here – those defined in JetRec.
 Filter
 Filter_ifnotESD
 Filter_calibThreshold
 Calib
 Response
 jetlog = Logging.logging.getLogger('JetStandardMods')
 CalibNew
 ClusterMoments
 ECPSFrac
 Width
 CaloEnergies
 CaloEnergiesLargeR
 CaloEnergiesClus
 CaloQuality
 CaloQualityFE
 N90
 ConstitFourMom
 EMScaleMom
 JVF
 JVT
 NNJVT
 LArHVCorr
 OriginSetPV
 TrackMoments
 TrackSumMoments
 Charge
 QGTagging
 fJVT
 bJVT
 ConstitFrac
 groomMRatio
 JetPtAssociation
 numConstit
 jetiso
 jetisoTruth
 jetisoHLT
 PartonTruthLabel
 JetDeltaRLabel
 JetGhostLabel
 JetDeltaRInitialLabel
 JetGhostInitialLabel
 JetQuarkChargeLabel
 JetTaggingTruthLabel
 JetPileupLabel
 nsubjettiness
 nsubjettinessR
 ktdr
 ktsplitter
 angularity
 dipolarity
 planarflow
 ktmassdrop
 ecorr
 ecorrR
 ecorrgeneral
 ecorrgeneralratios
 comshapes
 pull
 charge
 qw
 softdropobs
 qgtransformer
 toptransformer
 wtransformer
 wtransformer_massdec
 vr

Detailed Description

This module defines the standard JetModifier tools used in jet reco

Definitions are grouped in a dictionary of tool configurations using the helpers defined
in package configs.
This dict maps a modifier alias to the JetModifier config object
that in turn will be responsible for generating a configured tool.

The JetModifier config class is defined in JetDefinition.py 

 Args to the JetModifier constructor are:
   1. Tool Type (ignored if the helper is a custom one)
   2. Tool Name (ignored if the helper is a custom one)
   3. createfn : helper function which build the actual tool. If none, we just instantiate the tool type. 
   4. prereqs : Prerequisites  (default to []). Can also be a function which returns a list
   X. all other keyword arguments are directly interpreted as Property of the tool. 
       for ex, passing 'PtMin=10.' will configure the tool as in 'tool.PtMin = 10'
       we can pass function as the value : 
         'JetContainerName=nameFunc' will configure as in 'tool.JetContainerName=nameFunc(jetdef, modspec)'

        --> should this be by default? prefer to avoid ignored args

Function Documentation

◆ _constitContainername()

python.StandardJetMods._constitContainername ( jetdef,
modspec )
protected
Returns the exact constituent container name used to build jetdef

Definition at line 40 of file StandardJetMods.py.

40def _constitContainername(jetdef,modspec):
41 """Returns the exact constituent container name used to build jetdef"""
42 constitdef = jetdef.inputdef
43 containername = constitdef.containername(jetdef).split(':')[-1] if callable(constitdef.containername) else constitdef.containername
44 return containername
45
46
std::vector< std::string > split(const std::string &s, const std::string &t=":")
Definition hcg.cxx:179

◆ _jetname()

python.StandardJetMods._jetname ( jetdef,
modspec )
protected

Definition at line 36 of file StandardJetMods.py.

36def _jetname(jetdef,modspec):
37 return jetdef.fullname()
38
39

Variable Documentation

◆ angularity

python.StandardJetMods.angularity

Definition at line 333 of file StandardJetMods.py.

◆ bJVT

python.StandardJetMods.bJVT

Definition at line 204 of file StandardJetMods.py.

◆ Calib

python.StandardJetMods.Calib

Definition at line 75 of file StandardJetMods.py.

◆ CalibNew

python.StandardJetMods.CalibNew

Definition at line 99 of file StandardJetMods.py.

◆ CaloEnergies

python.StandardJetMods.CaloEnergies

Definition at line 133 of file StandardJetMods.py.

◆ CaloEnergiesClus

python.StandardJetMods.CaloEnergiesClus

Definition at line 145 of file StandardJetMods.py.

◆ CaloEnergiesLargeR

python.StandardJetMods.CaloEnergiesLargeR

Definition at line 138 of file StandardJetMods.py.

◆ CaloQuality

python.StandardJetMods.CaloQuality

Definition at line 150 of file StandardJetMods.py.

◆ CaloQualityFE

python.StandardJetMods.CaloQualityFE

Definition at line 154 of file StandardJetMods.py.

◆ Charge

python.StandardJetMods.Charge

Definition at line 189 of file StandardJetMods.py.

◆ charge

python.StandardJetMods.charge

Definition at line 351 of file StandardJetMods.py.

◆ ClusterMoments

python.StandardJetMods.ClusterMoments

Definition at line 128 of file StandardJetMods.py.

◆ comshapes

python.StandardJetMods.comshapes

Definition at line 347 of file StandardJetMods.py.

◆ ConstitFourMom

python.StandardJetMods.ConstitFourMom

Definition at line 162 of file StandardJetMods.py.

◆ ConstitFrac

python.StandardJetMods.ConstitFrac

Definition at line 209 of file StandardJetMods.py.

◆ dipolarity

python.StandardJetMods.dipolarity

Definition at line 335 of file StandardJetMods.py.

◆ ecorr

python.StandardJetMods.ecorr

Definition at line 341 of file StandardJetMods.py.

◆ ecorrgeneral

python.StandardJetMods.ecorrgeneral

Definition at line 344 of file StandardJetMods.py.

◆ ecorrgeneralratios

python.StandardJetMods.ecorrgeneralratios

Definition at line 345 of file StandardJetMods.py.

◆ ecorrR

python.StandardJetMods.ecorrR

Definition at line 342 of file StandardJetMods.py.

◆ ECPSFrac

python.StandardJetMods.ECPSFrac

Definition at line 129 of file StandardJetMods.py.

◆ EMScaleMom

python.StandardJetMods.EMScaleMom

Definition at line 164 of file StandardJetMods.py.

◆ Filter

python.StandardJetMods.Filter

Definition at line 51 of file StandardJetMods.py.

◆ Filter_calibThreshold

python.StandardJetMods.Filter_calibThreshold

Definition at line 60 of file StandardJetMods.py.

◆ Filter_ifnotESD

python.StandardJetMods.Filter_ifnotESD

Definition at line 56 of file StandardJetMods.py.

◆ fJVT

python.StandardJetMods.fJVT

Definition at line 199 of file StandardJetMods.py.

◆ groomMRatio

python.StandardJetMods.groomMRatio

Definition at line 213 of file StandardJetMods.py.

◆ JetDeltaRInitialLabel

python.StandardJetMods.JetDeltaRInitialLabel

Definition at line 286 of file StandardJetMods.py.

◆ JetDeltaRLabel

python.StandardJetMods.JetDeltaRLabel

Definition at line 270 of file StandardJetMods.py.

◆ JetGhostInitialLabel

python.StandardJetMods.JetGhostInitialLabel

Definition at line 294 of file StandardJetMods.py.

◆ JetGhostLabel

python.StandardJetMods.JetGhostLabel

Definition at line 278 of file StandardJetMods.py.

◆ jetiso

python.StandardJetMods.jetiso

Definition at line 230 of file StandardJetMods.py.

◆ jetisoHLT

python.StandardJetMods.jetisoHLT

Definition at line 245 of file StandardJetMods.py.

◆ jetisoTruth

python.StandardJetMods.jetisoTruth

Definition at line 238 of file StandardJetMods.py.

◆ jetlog

python.StandardJetMods.jetlog = Logging.logging.getLogger('JetStandardMods')

Definition at line 92 of file StandardJetMods.py.

◆ JetPileupLabel

python.StandardJetMods.JetPileupLabel

Definition at line 313 of file StandardJetMods.py.

◆ JetPtAssociation

python.StandardJetMods.JetPtAssociation

Definition at line 217 of file StandardJetMods.py.

◆ JetQuarkChargeLabel

python.StandardJetMods.JetQuarkChargeLabel

Definition at line 301 of file StandardJetMods.py.

◆ JetTaggingTruthLabel

python.StandardJetMods.JetTaggingTruthLabel

Definition at line 307 of file StandardJetMods.py.

◆ JVF

python.StandardJetMods.JVF

Definition at line 168 of file StandardJetMods.py.

◆ JVT

python.StandardJetMods.JVT

Definition at line 172 of file StandardJetMods.py.

◆ ktdr

python.StandardJetMods.ktdr

Definition at line 329 of file StandardJetMods.py.

◆ ktmassdrop

python.StandardJetMods.ktmassdrop

Definition at line 339 of file StandardJetMods.py.

◆ ktsplitter

python.StandardJetMods.ktsplitter

Definition at line 331 of file StandardJetMods.py.

◆ LArHVCorr

python.StandardJetMods.LArHVCorr

Definition at line 178 of file StandardJetMods.py.

◆ N90

python.StandardJetMods.N90

Definition at line 159 of file StandardJetMods.py.

◆ NNJVT

python.StandardJetMods.NNJVT

Definition at line 175 of file StandardJetMods.py.

◆ nsubjettiness

python.StandardJetMods.nsubjettiness

Definition at line 324 of file StandardJetMods.py.

◆ nsubjettinessR

python.StandardJetMods.nsubjettinessR

Definition at line 326 of file StandardJetMods.py.

◆ numConstit

python.StandardJetMods.numConstit

Definition at line 224 of file StandardJetMods.py.

◆ OriginSetPV

python.StandardJetMods.OriginSetPV

Definition at line 180 of file StandardJetMods.py.

◆ PartonTruthLabel

python.StandardJetMods.PartonTruthLabel

Definition at line 265 of file StandardJetMods.py.

◆ planarflow

python.StandardJetMods.planarflow

Definition at line 337 of file StandardJetMods.py.

◆ pull

python.StandardJetMods.pull

Definition at line 349 of file StandardJetMods.py.

◆ QGTagging

python.StandardJetMods.QGTagging

Definition at line 192 of file StandardJetMods.py.

◆ qgtransformer

python.StandardJetMods.qgtransformer

Definition at line 362 of file StandardJetMods.py.

◆ qw

python.StandardJetMods.qw

Definition at line 353 of file StandardJetMods.py.

◆ Response

python.StandardJetMods.Response

Definition at line 84 of file StandardJetMods.py.

◆ softdropobs

python.StandardJetMods.softdropobs

Definition at line 355 of file StandardJetMods.py.

◆ Sort

python.StandardJetMods.Sort

Define the simple modifier setups here – those defined in JetRec.

Definition at line 50 of file StandardJetMods.py.

◆ stdJetModifiers

python.StandardJetMods.stdJetModifiers = ldict()

Definition at line 30 of file StandardJetMods.py.

◆ toptransformer

python.StandardJetMods.toptransformer

Definition at line 377 of file StandardJetMods.py.

◆ TrackMoments

python.StandardJetMods.TrackMoments

Definition at line 182 of file StandardJetMods.py.

◆ TrackSumMoments

python.StandardJetMods.TrackSumMoments

Definition at line 186 of file StandardJetMods.py.

◆ vr

python.StandardJetMods.vr

Definition at line 420 of file StandardJetMods.py.

◆ Width

python.StandardJetMods.Width

Definition at line 130 of file StandardJetMods.py.

◆ wtransformer

python.StandardJetMods.wtransformer

Definition at line 392 of file StandardJetMods.py.

◆ wtransformer_massdec

python.StandardJetMods.wtransformer_massdec

Definition at line 407 of file StandardJetMods.py.