ATLAS Offline Software
Loading...
Searching...
No Matches
PhotonChainConfiguration Namespace Reference

Classes

class  PhotonChainConfiguration

Functions

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

Variables

 log = logging.getLogger(__name__)

Function Documentation

◆ _diPhotonComboHypoToolFromDict()

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

Definition at line 20 of file PhotonChainConfiguration.py.

20def _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()

PhotonChainConfiguration.diphotonDPhiHypoToolFromDict ( flags,
chainDict )

Definition at line 37 of file PhotonChainConfiguration.py.

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

◆ diphotonDPhiMassHypoToolFromDict()

PhotonChainConfiguration.diphotonDPhiMassHypoToolFromDict ( flags,
chainDict )

Definition at line 40 of file PhotonChainConfiguration.py.

40def 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 = logging.getLogger(__name__)

Definition at line 7 of file PhotonChainConfiguration.py.