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

Functions

 _truthClassificationHook (c, flags, acc, *args, **kw)
 _truthClassificationAssocHook (c, flags, acc, *args, **kw)
 _traversedMaterialExtrapolatorHook (c, flags, acc, prefix, *args, **kw)
 _cvAssocLevel (reqlev, args)

Variables

 D3PD = CompFactory.D3PD
 PhotonD3PDObject
 auxprefix
 WriteE
 WriteEt
 WriteRect
 Vars
 AuxPrefix
 From UserData.
 truthClassification
 PhotonTruthPartAssoc
 WriteM
 PDGIDVariable
 PhotonTruthPartMotherAssoc
 Target
 traversedMaterial
 PhotonClusterAssoc = egammaCluster (PhotonD3PDObject)
 ConversionVertexAssociation
 ConversionVertexTrackParticleAssociation
 IDHits
 IDHoles
 IDSharedHits
 IDOutliers
 PixelInfoPlus
 SCTInfoPlus
 TRTInfoPlus
 InfoPlus
 MuonHits
 MuonHoles
 ExpectBLayer
 HitSum
 HoleSum
 PhotonJetD3PDAssoc
 Jet associations.
 JetTruthJetD3PDAssoc
 PhotonTopoD3PDAssoc
 Topo cluster associations.

Function Documentation

◆ _cvAssocLevel()

python.PhotonD3PDObject._cvAssocLevel ( reqlev,
args )
protected

Definition at line 300 of file PhotonD3PDObject.py.

300def _cvAssocLevel (reqlev, args):
301 if reqlev < 10: return False
302 if 'target' not in args: return False
303 args['Target'] = args['target']
304 del args['target']
305 return True

◆ _traversedMaterialExtrapolatorHook()

python.PhotonD3PDObject._traversedMaterialExtrapolatorHook ( c,
flags,
acc,
prefix,
* args,
** kw )
protected

Definition at line 241 of file PhotonD3PDObject.py.

241def _traversedMaterialExtrapolatorHook (c, flags, acc, prefix, *args, **kw):
242 from TrkConfig.AtlasExtrapolatorConfig import AtlasExtrapolatorCfg
243 c.Extrapolator = acc.popToolsAndMerge (AtlasExtrapolatorCfg (flags))
244 return

◆ _truthClassificationAssocHook()

python.PhotonD3PDObject._truthClassificationAssocHook ( c,
flags,
acc,
* args,
** kw )
protected

Definition at line 137 of file PhotonD3PDObject.py.

137 def _truthClassificationAssocHook (c, flags, acc, *args, **kw):
138 from TruthD3PDMaker.MCTruthClassifierConfig \
139 import D3PDMCTruthClassifierCfg
140 acc.merge (D3PDMCTruthClassifierCfg (flags))
141 c.Associator.Classifier = acc.getPublicTool ('D3PDMCTruthClassifier')
142 return

◆ _truthClassificationHook()

python.PhotonD3PDObject._truthClassificationHook ( c,
flags,
acc,
* args,
** kw )
protected

Definition at line 123 of file PhotonD3PDObject.py.

123 def _truthClassificationHook (c, flags, acc, *args, **kw):
124 from TruthD3PDMaker.MCTruthClassifierConfig \
125 import D3PDMCTruthClassifierCfg
126 acc.merge (D3PDMCTruthClassifierCfg (flags))
127 c.Classifier = acc.getPublicTool ('D3PDMCTruthClassifier')
128 return

Variable Documentation

◆ AuxPrefix

python.PhotonD3PDObject.AuxPrefix

From UserData.

Definition at line 67 of file PhotonD3PDObject.py.

◆ auxprefix

python.PhotonD3PDObject.auxprefix
Initial value:
1= DeferArg ('D3PDMakerFlags.EgammaUserDataPrefix + "_" +'
2 'resolveSGKey (configFlags, sgkey) + "_"',
3 globals())

Definition at line 33 of file PhotonD3PDObject.py.

◆ ConversionVertexAssociation

python.PhotonD3PDObject.ConversionVertexAssociation
Initial value:
1= ContainedVectorMultiAssociation (
2 PhotonD3PDObject,
4 prefix='vx_')
Associate from a conversion to its vertex.

Definition at line 277 of file PhotonD3PDObject.py.

◆ ConversionVertexTrackParticleAssociation

python.PhotonD3PDObject.ConversionVertexTrackParticleAssociation
Initial value:
1= \
2 ContainedVectorMultiAssociation (ConversionVertexAssociation,
3 # TrackD3PDMaker
5 prefix = 'convTrk_')

Definition at line 291 of file PhotonD3PDObject.py.

◆ D3PD

python.PhotonD3PDObject.D3PD = CompFactory.D3PD

Definition at line 23 of file PhotonD3PDObject.py.

◆ ExpectBLayer

python.PhotonD3PDObject.ExpectBLayer

Definition at line 333 of file PhotonD3PDObject.py.

◆ HitSum

python.PhotonD3PDObject.HitSum

Definition at line 334 of file PhotonD3PDObject.py.

◆ HoleSum

python.PhotonD3PDObject.HoleSum

Definition at line 335 of file PhotonD3PDObject.py.

◆ IDHits

python.PhotonD3PDObject.IDHits

Definition at line 323 of file PhotonD3PDObject.py.

◆ IDHoles

python.PhotonD3PDObject.IDHoles

Definition at line 324 of file PhotonD3PDObject.py.

◆ IDOutliers

python.PhotonD3PDObject.IDOutliers

Definition at line 326 of file PhotonD3PDObject.py.

◆ IDSharedHits

python.PhotonD3PDObject.IDSharedHits

Definition at line 325 of file PhotonD3PDObject.py.

◆ InfoPlus

python.PhotonD3PDObject.InfoPlus

Definition at line 330 of file PhotonD3PDObject.py.

◆ JetTruthJetD3PDAssoc

python.PhotonD3PDObject.JetTruthJetD3PDAssoc
Initial value:
1= DRAssociation (PhotonJetD3PDAssoc,
2 'DataVector<xAOD::Jet_v1>',
3 D3PDMakerFlags.TruthJetSGKey,
4 0.2,
5 'truth_',
6 level = 2,
7 blockname = 'TrueJetMatch')

Definition at line 407 of file PhotonD3PDObject.py.

◆ MuonHits

python.PhotonD3PDObject.MuonHits

Definition at line 331 of file PhotonD3PDObject.py.

◆ MuonHoles

python.PhotonD3PDObject.MuonHoles

Definition at line 332 of file PhotonD3PDObject.py.

◆ PDGIDVariable

python.PhotonD3PDObject.PDGIDVariable

Definition at line 151 of file PhotonD3PDObject.py.

◆ PhotonClusterAssoc

python.PhotonD3PDObject.PhotonClusterAssoc = egammaCluster (PhotonD3PDObject)

Definition at line 257 of file PhotonD3PDObject.py.

◆ PhotonD3PDObject

python.PhotonD3PDObject.PhotonD3PDObject
Initial value:
1= \
2 make_SGDataVector_D3PDObject ('xAOD::PhotonContainer',
3 D3PDMakerFlags.PhotonSGKey,
4 'ph_', 'PhotonD3PDObject')

Definition at line 27 of file PhotonD3PDObject.py.

◆ PhotonJetD3PDAssoc

python.PhotonD3PDObject.PhotonJetD3PDAssoc
Initial value:
1= DRAssociation (PhotonD3PDObject,
2 'DataVector<xAOD::Jet_v1>',
3 D3PDMakerFlags.JetSGKey,
4 0.2,
5 'jet_',
6 level = 2,
7 blockname = 'JetMatch')

Jet associations.

Definition at line 394 of file PhotonD3PDObject.py.

◆ PhotonTopoD3PDAssoc

python.PhotonD3PDObject.PhotonTopoD3PDAssoc
Initial value:
1= DRAssociation (PhotonD3PDObject,
2 'DataVector<xAOD::CaloCluster_v1>',
3 D3PDMakerFlags.ClusterSGKey,
4 0.1,
5 'topo',
6 level = 2,
7 blockname = 'TopoMatch')

Topo cluster associations.

Definition at line 426 of file PhotonD3PDObject.py.

◆ PhotonTruthPartAssoc

python.PhotonD3PDObject.PhotonTruthPartAssoc
Initial value:
1= SimpleAssociation \
2 (PhotonD3PDObject,
4 prefix = 'truth_',
5 matched = 'matched',
6 blockname = 'TruthAssoc',
7 DRVar = 'deltaRRecPhoton')
Associate from an electron/photon to a matched GenParticle via classification tool.

Definition at line 130 of file PhotonD3PDObject.py.

◆ PhotonTruthPartMotherAssoc

python.PhotonD3PDObject.PhotonTruthPartMotherAssoc
Initial value:
1= SimpleAssociation \
2 (PhotonTruthPartAssoc,
4 # TruthD3PDMaker
6 ('PhotonTruthPartMotherAssoc2'),
7 blockname = 'PhotonTruthPartMotherAssoc',
8 prefix = 'mother')
Choose the first result from a multiple association.

Definition at line 152 of file PhotonD3PDObject.py.

◆ PixelInfoPlus

python.PhotonD3PDObject.PixelInfoPlus

Definition at line 327 of file PhotonD3PDObject.py.

◆ SCTInfoPlus

python.PhotonD3PDObject.SCTInfoPlus

Definition at line 328 of file PhotonD3PDObject.py.

◆ Target

python.PhotonD3PDObject.Target

Definition at line 166 of file PhotonD3PDObject.py.

◆ traversedMaterial

python.PhotonD3PDObject.traversedMaterial
Initial value:
1= \
2 PhotonD3PDObject.defineBlock (2, 'TraversedMaterial',
Block filler tool for the material traversed by a photon/electron until the entrance of the calorimet...

Definition at line 238 of file PhotonD3PDObject.py.

◆ TRTInfoPlus

python.PhotonD3PDObject.TRTInfoPlus

Definition at line 329 of file PhotonD3PDObject.py.

◆ truthClassification

python.PhotonD3PDObject.truthClassification
Initial value:
1= \
2 PhotonD3PDObject.defineBlock (1, 'TruthClassification',
4 Classifier = D3PD.D3PDMCTruthClassifier())
Work around MCTruthClassifier brain-damage.
Fill in type/origin from MC classifier tool for an egamma.

Definition at line 119 of file PhotonD3PDObject.py.

◆ Vars

python.PhotonD3PDObject.Vars

Definition at line 46 of file PhotonD3PDObject.py.

◆ WriteE

python.PhotonD3PDObject.WriteE

Definition at line 40 of file PhotonD3PDObject.py.

◆ WriteEt

python.PhotonD3PDObject.WriteEt

Definition at line 41 of file PhotonD3PDObject.py.

◆ WriteM

python.PhotonD3PDObject.WriteM

Definition at line 147 of file PhotonD3PDObject.py.

◆ WriteRect

python.PhotonD3PDObject.WriteRect

Definition at line 42 of file PhotonD3PDObject.py.