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

Functions

CompFactory createTrigVSIHypoAlgCfg (AthConfigFlags flags, str name, **kwargs)
 TrigVSIHypoToolFromDict (chainDict)

Variables

 log = logging.getLogger('TrigVrtSecIclusiveHypoTool')

Function Documentation

◆ createTrigVSIHypoAlgCfg()

CompFactory python.TrigVrtSecInclusiveHypoConfig.createTrigVSIHypoAlgCfg ( AthConfigFlags flags,
str name,
** kwargs )

Definition at line 11 of file TrigVrtSecInclusiveHypoConfig.py.

11def createTrigVSIHypoAlgCfg(flags: AthConfigFlags, name: str, **kwargs) ->CompFactory:
12
13 # Setup the hypothesis algorithm
14 theHypoAlg = CompFactory.TrigVSIHypoAlg(name, **kwargs)
15
16 # monitoring
17 monTool = GenericMonitoringTool(flags, "IM_MonTool"+name)
18 #
19 monTool.defineHistogram("nVtx", type='TH1F', path='EXPERT', title="Nr of TrigVSI vertices;N TrigVSI vertices size;Nevents", xbins=50, xmin=0, xmax=500)
20 monTool.defineHistogram("preselNVtx", type='TH1F', path='EXPERT', title="Nr of vertices passed preselection on hypo;N vertices;Nevents", xbins=50, xmin=0, xmax=500)
21 monTool.defineHistogram("maxVtxNTrk", type='TH1F', path='EXPERT', title="Max Ntracks of a vertex in each event;Max Ntracks;Nevents", xbins=15, xmin=0, xmax=15)
22 monTool.defineHistogram("maxVtxMass", type='TH1F', path='EXPERT', title="Max vertex mass in each event;Max mass;Nevents", xbins=50, xmin=0, xmax=100000.)
23 #
24 monTool.HistPath = 'TrigVSIHypoAlg'
25 theHypoAlg.MonTool = monTool
26
27 return theHypoAlg
28
29

◆ TrigVSIHypoToolFromDict()

python.TrigVrtSecInclusiveHypoConfig.TrigVSIHypoToolFromDict ( chainDict)
Use menu decoded chain dictionary to configure the tool 

Definition at line 30 of file TrigVrtSecInclusiveHypoConfig.py.

30def TrigVSIHypoToolFromDict( chainDict ):
31 """ Use menu decoded chain dictionary to configure the tool """
32
33 name = chainDict['chainName']
34 from AthenaConfiguration.ComponentFactory import CompFactory
35 tool = CompFactory.TrigVSIHypoTool(name)
36
37 return tool

Variable Documentation

◆ log

python.TrigVrtSecInclusiveHypoConfig.log = logging.getLogger('TrigVrtSecIclusiveHypoTool')

Definition at line 7 of file TrigVrtSecInclusiveHypoConfig.py.