 |
ATLAS Offline Software
|
|
| def | _buildJetAlgForInput (suffix, tools) |
| |
| def | buildJetTrackUsedInFitDeco (parentjetdef, inputspec) |
| |
| def | buildJetInputTruth (parentjetdef, truthmod) |
| |
| def | buildJetInputTruthGEN (parentjetdef, truthmod) |
| |
| def | buildLabelledTruth (parentjetdef, truthmod) |
| |
| def | buildPV0TrackSel (parentjetdef, spec) |
| |
| def | buildPFlowSel (parentjetdef, spec) |
| |
| def | buildPFlowSel_tauSeedEleRM (parentjetdef, spec) |
| |
| def | buildPFlowSel_noElectrons (parentjetdef, spec) |
| |
| def | buildPFlowSel_noMuons (parentjetdef, spec) |
| |
| def | buildPFlowSel_noLeptons (parentjetdef, spec) |
| |
| def | buildEventShapeAlg (jetOrConstitdef, inputspec, voronoiRf=0.9, radius=0.4, suffix=None) |
| |
◆ _buildJetAlgForInput()
| def python.JetInputConfig._buildJetAlgForInput |
( |
|
suffix, |
|
|
|
tools |
|
) |
| |
|
private |
Definition at line 15 of file JetInputConfig.py.
16 jetalg = CompFactory.JetAlgorithm(
"jetalg_"+suffix,
◆ buildEventShapeAlg()
| def python.JetInputConfig.buildEventShapeAlg |
( |
|
jetOrConstitdef, |
|
|
|
inputspec, |
|
|
|
voronoiRf = 0.9, |
|
|
|
radius = 0.4, |
|
|
|
suffix = None |
|
) |
| |
Function producing an EventShapeAlg to calculate
median energy density for pileup correction
Definition at line 140 of file JetInputConfig.py.
140 def buildEventShapeAlg(jetOrConstitdef, inputspec, voronoiRf = 0.9, radius = 0.4, suffix = None ):
141 """Function producing an EventShapeAlg to calculate
142 median energy density for pileup correction"""
144 from .JetRecConfig
import getPJContName
145 from EventShapeTools.EventDensityConfig
import configEventDensityTool, getEventShapeName
149 nameprefix = inputspec
or ""
151 f
"EventDensity_{nameprefix}Kt4{pjContName}",
153 InputContainer = pjContName,
154 OutputContainer =
getEventShapeName(jetOrConstitdef, nameprefix=nameprefix, suffix=suffix, radius=radius),
156 VoronoiRfact = voronoiRf,
159 eventshapealg = CompFactory.EventDensityAthAlg(
160 f
"EventDensity_{nameprefix}Kt4{pjContName}Alg",
161 EventDensityTool = rhotool )
◆ buildJetInputTruth()
| def python.JetInputConfig.buildJetInputTruth |
( |
|
parentjetdef, |
|
|
|
truthmod |
|
) |
| |
Definition at line 30 of file JetInputConfig.py.
31 truthmod = truthmod
or ""
32 from ParticleJetTools.ParticleJetToolsConfig
import getCopyTruthJetParticles
◆ buildJetInputTruthGEN()
| def python.JetInputConfig.buildJetInputTruthGEN |
( |
|
parentjetdef, |
|
|
|
truthmod |
|
) |
| |
Build truth constituents as in EVTGEN jobs in the r21 config.
IMPORTANT : this is expected to be temporary, only to reproduce the EVTGEN r21 config with the new config. The definitions should be harmonized with reco-level at some point and this function removed.
The source for r21 EVTGEN config was in GeneratorFilters/share/common/GenerateTruthJets.py
Definition at line 38 of file JetInputConfig.py.
39 """ Build truth constituents as in EVTGEN jobs in the r21 config.
40 IMPORTANT : this is expected to be temporary, only to reproduce the EVTGEN r21 config with the new config. The definitions should be harmonized with reco-level at some point and this function removed.
41 The source for r21 EVTGEN config was in GeneratorFilters/share/common/GenerateTruthJets.py
43 truthmod = truthmod
or ""
44 from ParticleJetTools.ParticleJetToolsConfig
import getCopyTruthJetParticlesGEN
◆ buildJetTrackUsedInFitDeco()
| def python.JetInputConfig.buildJetTrackUsedInFitDeco |
( |
|
parentjetdef, |
|
|
|
inputspec |
|
) |
| |
Definition at line 21 of file JetInputConfig.py.
22 from InDetUsedInFitTrackDecoratorTool.UsedInVertexFitTrackDecoratorConfig
import (
23 getUsedInVertexFitTrackDecoratorAlg)
24 trkProperties = parentjetdef._contextDic
27 vtxCont= trkProperties[
"Vertices"])
◆ buildLabelledTruth()
| def python.JetInputConfig.buildLabelledTruth |
( |
|
parentjetdef, |
|
|
|
truthmod |
|
) |
| |
Definition at line 50 of file JetInputConfig.py.
51 from ParticleJetTools.ParticleJetToolsConfig
import getCopyTruthLabelParticles
◆ buildPFlowSel()
| def python.JetInputConfig.buildPFlowSel |
( |
|
parentjetdef, |
|
|
|
spec |
|
) |
| |
Definition at line 74 of file JetInputConfig.py.
75 return CompFactory.JetPFlowSelectionAlg(
"pflowselalg",
76 electronIDToExclude =
"LHMedium",
77 ChargedPFlowInputContainer =
"JetETMissChargedParticleFlowObjects",
78 NeutralPFlowInputContainer =
"JetETMissNeutralParticleFlowObjects",
79 ChargedPFlowOutputContainer =
"GlobalChargedParticleFlowObjects",
80 NeutralPFlowOutputContainer =
"GlobalNeutralParticleFlowObjects"
◆ buildPFlowSel_noElectrons()
| def python.JetInputConfig.buildPFlowSel_noElectrons |
( |
|
parentjetdef, |
|
|
|
spec |
|
) |
| |
Definition at line 103 of file JetInputConfig.py.
104 return CompFactory.JetPFlowSelectionAlg(
"pflowselalg_noElectrons",
105 electronIDToExclude =
"LHMedium",
106 ElectronInputContainer=
"Electrons",
107 excludeNeutralElectronFE=
True,
108 ChargedPFlowInputContainer =
"JetETMissChargedParticleFlowObjects",
109 NeutralPFlowInputContainer =
"JetETMissNeutralParticleFlowObjects",
110 ChargedPFlowOutputContainer =
"GlobalChargedParticleFlowObjects_noElectrons",
111 NeutralPFlowOutputContainer =
"GlobalNeutralParticleFlowObjects_noElectrons"
◆ buildPFlowSel_noLeptons()
| def python.JetInputConfig.buildPFlowSel_noLeptons |
( |
|
parentjetdef, |
|
|
|
spec |
|
) |
| |
Definition at line 125 of file JetInputConfig.py.
126 return CompFactory.JetPFlowSelectionAlg(
"pflowselalg_noLeptons",
127 electronIDToExclude =
"LHMedium",
128 ElectronInputContainer=
"Electrons",
129 excludeNeutralElectronFE=
True,
130 muonIDToExclude =
"Medium",
131 excludeNeutralMuonFE=
True,
132 ChargedPFlowInputContainer =
"JetETMissChargedParticleFlowObjects",
133 NeutralPFlowInputContainer =
"JetETMissNeutralParticleFlowObjects",
134 ChargedPFlowOutputContainer =
"GlobalChargedParticleFlowObjects_noLeptons",
135 NeutralPFlowOutputContainer =
"GlobalNeutralParticleFlowObjects_noLeptons"
◆ buildPFlowSel_noMuons()
| def python.JetInputConfig.buildPFlowSel_noMuons |
( |
|
parentjetdef, |
|
|
|
spec |
|
) |
| |
Definition at line 114 of file JetInputConfig.py.
115 return CompFactory.JetPFlowSelectionAlg(
"pflowselalg_noMuons",
116 electronIDToExclude =
"LHMedium",
117 muonIDToExclude =
"Medium",
118 excludeNeutralMuonFE=
True,
119 ChargedPFlowInputContainer =
"JetETMissChargedParticleFlowObjects",
120 NeutralPFlowInputContainer =
"JetETMissNeutralParticleFlowObjects",
121 ChargedPFlowOutputContainer =
"GlobalChargedParticleFlowObjects_noMuons",
122 NeutralPFlowOutputContainer =
"GlobalNeutralParticleFlowObjects_noMuons"
◆ buildPFlowSel_tauSeedEleRM()
| def python.JetInputConfig.buildPFlowSel_tauSeedEleRM |
( |
|
parentjetdef, |
|
|
|
spec |
|
) |
| |
Definition at line 88 of file JetInputConfig.py.
89 return CompFactory.JetPFlowSelectionAlg(
"pflowselalg_tauSeedEleRM",
90 electronIDToExclude =
"LHMedium",
91 ElectronInputContainer=
"Electrons",
92 excludeNeutralElectronFE=
True,
93 muonIDToInclude =
"Loose",
94 excludeChargedMuonFE=
False,
95 includeChargedMuonFE=
True,
96 includeNeutralMuonFE=
True,
97 ChargedPFlowInputContainer =
"JetETMissChargedParticleFlowObjects",
98 NeutralPFlowInputContainer =
"JetETMissNeutralParticleFlowObjects",
99 ChargedPFlowOutputContainer =
"GlobalChargedParticleFlowObjects_tauSeedEleRM",
100 NeutralPFlowOutputContainer =
"GlobalNeutralParticleFlowObjects_tauSeedEleRM"
◆ buildPV0TrackSel()
| def python.JetInputConfig.buildPV0TrackSel |
( |
|
parentjetdef, |
|
|
|
spec |
|
) |
| |
Definition at line 57 of file JetInputConfig.py.
58 from TrackVertexAssociationTool.TrackVertexAssociationToolConfig
import getTTVAToolForReco
59 trkOptions = parentjetdef._contextDic
61 HardScatterLinkDeco =
"",
62 WorkingPoint =
"Nonprompt_All_MaxWeight",
63 TrackContName = trkOptions[
'JetTracksQualityCuts']
65 alg = CompFactory.PV0TrackSelectionAlg(
"pv0tracksel_trackjet",
66 InputTrackContainer = trkOptions[
'JetTracksQualityCuts'],
67 VertexContainer = trkOptions[
'Vertices'],
68 OutputTrackContainer =
"PV0"+trkOptions[
'JetTracks'],
def configEventDensityTool(name, jetOrConstitdef, radius=0.4, **options)
def getEventShapeName(defOrLabel, nameprefix="", suffix=None, radius=0.4)
def getUsedInVertexFitTrackDecoratorAlg(trackCont="InDetTrackParticles", vtxCont="PrimaryVertices", vertexDeco="TTVA_AMVFVertices_forReco", weightDeco="TTVA_AMVFWeights_forReco")
def getPJContName(jetOrConstitdef, suffix=None, parent_jetdef=None)
def getCopyTruthJetParticlesGEN(modspec, cflags)
def getCopyTruthLabelParticles(truthtype)
def getCopyTruthJetParticles(modspec, cflags)