ATLAS Offline Software
Functions | Variables
python.PhotonD3PDObject Namespace Reference

Functions

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

Variables

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

Function Documentation

◆ _cvAssocLevel()

def python.PhotonD3PDObject._cvAssocLevel (   reqlev,
  args 
)
private

Definition at line 300 of file PhotonD3PDObject.py.

300 def _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
306 ConversionVertexTrackParticleAssociation.defineBlock (
307  _cvAssocLevel, "ConversionVertexTrackIndex",
309  # Target will be filled in by level function.
310  Target = '')
311 
312 ConversionVertexTrackParticleAssociation.defineBlock (
313  10, 'ConversionVertexTrackInfo',
315  Vars = ['fitter = trackFitter < unsigned char: 0',
316  'patternReco = patternRecoInfo < unsigned long: 0',
317  'trackProperties < unsigned char: 0',
318  'particleHypothesis < unsigned char: 0',
319  ])
320 

◆ _traversedMaterialExtrapolatorHook()

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

Definition at line 241 of file PhotonD3PDObject.py.

241 def _traversedMaterialExtrapolatorHook (c, flags, acc, prefix, *args, **kw):
242  from TrkConfig.AtlasExtrapolatorConfig import AtlasExtrapolatorCfg
243  c.Extrapolator = acc.popToolsAndMerge (AtlasExtrapolatorCfg (flags))
244  return
245 traversedMaterial.defineHook (_traversedMaterialExtrapolatorHook)
246 
247 
248 PhotonD3PDObject.defineBlock (
249  2, 'Pointing',
251  Vars = ['zvertex < float:0 ',
252  'errz < float:0 ',
253  'etap < float: 0',
254  'depth < float: 0'])
255 

◆ _truthClassificationAssocHook()

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

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()

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

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

◆ Associator

python.PhotonD3PDObject.Associator

Definition at line 156 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.

◆ AuxPrefix

python.PhotonD3PDObject.AuxPrefix

From UserData.

Definition at line 67 of file PhotonD3PDObject.py.

◆ blockname

python.PhotonD3PDObject.blockname

Definition at line 135 of file PhotonD3PDObject.py.

◆ Classifier

python.PhotonD3PDObject.Classifier

Definition at line 122 of file PhotonD3PDObject.py.

◆ ConversionVertexAssociation

python.PhotonD3PDObject.ConversionVertexAssociation
Initial value:
1 = ContainedVectorMultiAssociation (
2  PhotonD3PDObject,
4  prefix='vx_')

Definition at line 277 of file PhotonD3PDObject.py.

◆ ConversionVertexTrackParticleAssociation

python.PhotonD3PDObject.ConversionVertexTrackParticleAssociation = \

Definition at line 291 of file PhotonD3PDObject.py.

◆ D3PD

python.PhotonD3PDObject.D3PD = CompFactory.D3PD

Definition at line 23 of file PhotonD3PDObject.py.

◆ DRVar

python.PhotonD3PDObject.DRVar

Definition at line 136 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.

◆ matched

python.PhotonD3PDObject.matched

Definition at line 134 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 = \

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 = SimpleAssociation \

Definition at line 130 of file PhotonD3PDObject.py.

◆ PhotonTruthPartMotherAssoc

python.PhotonD3PDObject.PhotonTruthPartMotherAssoc = SimpleAssociation \

Definition at line 152 of file PhotonD3PDObject.py.

◆ PixelInfoPlus

python.PhotonD3PDObject.PixelInfoPlus

Definition at line 327 of file PhotonD3PDObject.py.

◆ prefix

python.PhotonD3PDObject.prefix

Definition at line 133 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 = \

Definition at line 238 of file PhotonD3PDObject.py.

◆ TRTInfoPlus

python.PhotonD3PDObject.TRTInfoPlus

Definition at line 329 of file PhotonD3PDObject.py.

◆ truthClassification

python.PhotonD3PDObject.truthClassification = \

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.

D3PD::AuxDataFillerTool
Copy aux data to D3PD.
Definition: AuxDataFillerTool.h:35
python.PhotonD3PDObject._cvAssocLevel
def _cvAssocLevel(reqlev, args)
Definition: PhotonD3PDObject.py:300
python.PhotonD3PDObject._truthClassificationAssocHook
def _truthClassificationAssocHook(c, flags, acc, *args, **kw)
Definition: PhotonD3PDObject.py:137
python.PhotonD3PDObject._traversedMaterialExtrapolatorHook
def _traversedMaterialExtrapolatorHook(c, flags, acc, prefix, *args, **kw)
Definition: PhotonD3PDObject.py:241
D3PD::ConversionVertexAssociationTool
Associate from a conversion to its vertex.
Definition: ConversionVertexAssociationTool.h:34
python.PhotonD3PDObject._truthClassificationHook
def _truthClassificationHook(c, flags, acc, *args, **kw)
Definition: PhotonD3PDObject.py:123
D3PD::IndexFillerTool
Fill an index of an object within a container.
Definition: IndexFillerTool.h:32