25def _diElectronMassComboHypoToolFromDict(flags, chainDict, mass_range):
26 name = chainDict['chainName']
28 HistPath = 'EgammaMassHypo/'+name)
29 monTool.defineHistogram('DphiOfProcessed', type='TH1F', path='EXPERT', title="PrecisionCalo Hypo entries per Phi;Phi", xbins=128, xmin=-3.2, xmax=3.2)
30 monTool.defineHistogram('MassOfProcessed', type='TH1F', path='EXPERT', title="Mass in accepted combinations [MeV]", xbins=75, xmin=0, xmax=150000)
31 monTool.defineHistogram('DphiOfAccepted', type='TH1F', path='EXPERT', title="PrecisionCalo Hypo entries per Phi;Phi", xbins=128, xmin=-3.2, xmax=3.2)
32 monTool.defineHistogram('MassOfAccepted', type='TH1F', path='EXPERT', title="Mass in accepted combinations [MeV]", xbins=75, xmin=0, xmax=150000)
33
34 tool = CompFactory.TrigEgammaTopoHypoTool(name,
35 AcceptAll = False,
36 ApplyMassCut = True,
37 LowerMassEgammaClusterCut = mass_range[0],
38 UpperMassEgammaClusterCut = mass_range[1],
39 MonTool = monTool)
40 return tool
41
42