ATLAS Offline Software
Classes | Functions | Variables
PhotonChainConfiguration Namespace Reference

Classes

class  PhotonChainConfiguration
 

Functions

def _diPhotonComboHypoToolFromDict (flags, chainDict, lowermass=80000, uppermass=-999, dphi=1.5, applymass=False, applydphi=False)
 
def diphotonDPhiHypoToolFromDict (flags, chainDict)
 
def diphotonDPhiMassHypoToolFromDict (flags, chainDict)
 

Variables

 log
 

Function Documentation

◆ _diPhotonComboHypoToolFromDict()

def PhotonChainConfiguration._diPhotonComboHypoToolFromDict (   flags,
  chainDict,
  lowermass = 80000,
  uppermass = -999,
  dphi = 1.5,
  applymass = False,
  applydphi = False 
)
private

Definition at line 20 of file PhotonChainConfiguration.py.

20 def _diPhotonComboHypoToolFromDict(flags, chainDict, lowermass=80000,uppermass=-999,dphi=1.5,applymass=False,applydphi=False):
21  name = chainDict['chainName']
22  monTool = GenericMonitoringTool(flags, "MonTool_"+name,
23  HistPath = 'EgammaMassHypo/'+name)
24  monTool.defineHistogram('DphiOfAccepted', type='TH1F', path='EXPERT', title="PrecisionCalo Hypo entries per Phi;Phi", xbins=128, xmin=-3.2, xmax=3.2)
25  monTool.defineHistogram('MassOfAccepted', type='TH1F', path='EXPERT', title="Mass in accepted combinations [MeV]", xbins=75, xmin=0, xmax=150000)
26 
27  tool= CompFactory.TrigEgammaTopoHypoTool(name,
28  AcceptAll = False,
29  ApplyMassCut = applymass,
30  LowerMassEgammaClusterCut = lowermass,
31  UpperMassEgammaClusterCut = uppermass,
32  ApplyDPhiCut = applydphi,
33  ThresholdDPhiCut = dphi,
34  MonTool = monTool)
35  return tool
36 

◆ diphotonDPhiHypoToolFromDict()

def PhotonChainConfiguration.diphotonDPhiHypoToolFromDict (   flags,
  chainDict 
)

Definition at line 37 of file PhotonChainConfiguration.py.

37 def diphotonDPhiHypoToolFromDict(flags, chainDict):
38  return _diPhotonComboHypoToolFromDict(flags,chainDict,lowermass=80000,uppermass=-999,dphi=1.5,applymass=False,applydphi=True)
39 

◆ diphotonDPhiMassHypoToolFromDict()

def PhotonChainConfiguration.diphotonDPhiMassHypoToolFromDict (   flags,
  chainDict 
)

Definition at line 40 of file PhotonChainConfiguration.py.

40 def diphotonDPhiMassHypoToolFromDict(flags, chainDict):
41  return _diPhotonComboHypoToolFromDict(flags,chainDict,lowermass=80000,uppermass=-999,dphi=1.5,applymass=True,applydphi=True)
42 
43 
44 #----------------------------------------------------------------
45 # Class to configure chain
46 #----------------------------------------------------------------

Variable Documentation

◆ log

PhotonChainConfiguration.log

Definition at line 7 of file PhotonChainConfiguration.py.

PhotonChainConfiguration.diphotonDPhiHypoToolFromDict
def diphotonDPhiHypoToolFromDict(flags, chainDict)
Definition: PhotonChainConfiguration.py:37
GenericMonitoringTool
Definition: GenericMonitoringTool.h:53
PhotonChainConfiguration._diPhotonComboHypoToolFromDict
def _diPhotonComboHypoToolFromDict(flags, chainDict, lowermass=80000, uppermass=-999, dphi=1.5, applymass=False, applydphi=False)
Definition: PhotonChainConfiguration.py:20
PhotonChainConfiguration.diphotonDPhiMassHypoToolFromDict
def diphotonDPhiMassHypoToolFromDict(flags, chainDict)
Definition: PhotonChainConfiguration.py:40