ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigTools
IDScanZFinder
python
ZFinderAlgConfig.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2
3
from
TrigEDMConfig.TriggerEDM
import
recordable
4
from
AthenaConfiguration.ComponentAccumulator
import
ComponentAccumulator
5
from
AthenaConfiguration.ComponentFactory
import
CompFactory
6
7
def
MinBiasZFinderCfg
(flags):
8
acc = ComponentAccumulator()
9
TrigZFinder = CompFactory.TrigZFinder
10
tools = [
TrigZFinder
(
"HMT_TripletPixOnly"
, TripletMode=1, MinZBinSize=3.5, PhiBinSize=0.50, UseOnlyPixels=
True
, MaxLayer=3)]
11
12
13
from
AthenaMonitoringKernel.GenericMonitoringTool
import
GenericMonitoringTool
14
monTool =
GenericMonitoringTool
(flags,
'MonTool'
)
15
16
monTool.defineHistogram(
'ZVertex'
, path=
'EXPERT'
, type=
'TH1F'
, title=
'Vertex Z distribution;z [mm];Entries'
,
17
xbins=400, xmin=-200, xmax=200 )
18
monTool.defineHistogram(
'ZVertexWeight'
, path=
'EXPERT'
, type=
'TH1F'
, title=
'Vertex Weight;Weight;Entries'
,
19
xbins=100, xmin=0.0, xmax=100 )
20
21
22
MinBiasZFinderAlg = CompFactory.TrigZFinderAlg(
"TrigZFinderAlg"
,
23
vertexKey=recordable(
"HLT_vtx_z"
),
24
MonTool = monTool,
25
ZFinderTools = tools)
26
27
28
acc.addEventAlgo(MinBiasZFinderAlg)
29
return
acc
GenericMonitoringTool
Definition
GenericMonitoringTool.h:51
TrigZFinder
Definition
TrigZFinder.h:41
ZFinderAlgConfig.MinBiasZFinderCfg
MinBiasZFinderCfg(flags)
Definition
ZFinderAlgConfig.py:7
Generated on
for ATLAS Offline Software by
1.17.0