Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Peter Sherwood
athena
Commits
7c677d1e
Commit
7c677d1e
authored
7 years ago
by
John Baines
Browse files
Options
Downloads
Patches
Plain Diff
add TrigL2ElectronFexMTConfig
parent
19e0e861
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Trigger/TrigHypothesis/TrigEgammaHypo/python/TrigL2ElectronFexMTConfig.py
+81
-0
81 additions, 0 deletions
...thesis/TrigEgammaHypo/python/TrigL2ElectronFexMTConfig.py
with
81 additions
and
0 deletions
Trigger/TrigHypothesis/TrigEgammaHypo/python/TrigL2ElectronFexMTConfig.py
0 → 100644
+
81
−
0
View file @
7c677d1e
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
##############################
# L2 Electron Fex Algorithm Configuration:
# Phillip Urquijo <Phillip.Urquijo@cern.ch>
##############################
from
TrigEgammaHypo.TrigEgammaHypoConf
import
TrigL2ElectronFexMT
from
AthenaCommon.SystemOfUnits
import
GeV
,
mm
from
AthenaCommon.AppMgr
import
ToolSvc
# ---------------------------------------------------------------
# class for common setups (like monitoring)
class
L2ElectronFexBase
(
TrigL2ElectronFexMT
):
__slots__
=
[]
def
__init__
(
self
,
name
):
super
(
L2ElectronFexBase
,
self
).
__init__
(
name
)
# from TrigEgammaHypo.TrigL2ElectronHypoMonitoring import TrigL2ElectronFexValidationMonitoring, TrigL2ElectronFexOnlineMonitoring
# validation = TrigL2ElectronFexValidationMonitoring()
# online = TrigL2ElectronFexOnlineMonitoring()
# from TrigTimeMonitor.TrigTimeHistToolConfig import TrigTimeHistToolConfig
# time = TrigTimeHistToolConfig("Time")
# self.AthenaMonTools = [ time, validation, online ]
# Tracking cuts
self
.
TrackPt
=
1.0
*
GeV
self
.
TrackPtHighEt
=
2.0
*
GeV
self
.
ClusEt
=
20.0
*
GeV
self
.
CaloTrackdEtaNoExtrap
=
0.5
self
.
CaloTrackdEtaNoExtrapHighEt
=
0.1
# Calo-Tracking matching cuts
self
.
CaloTrackdETA
=
0.5
self
.
CaloTrackdPHI
=
0.5
self
.
CaloTrackdEoverPLow
=
0.0
self
.
CaloTrackdEoverPHigh
=
999.0
# ---------------------------------------------------------------
# TrigL2ElectronFex configurations
# ---------------------------------------------------------------
class
L2ElectronFex_all
(
L2ElectronFexBase
):
__slots__
=
[]
def
__init__
(
self
,
name
=
"
L2ElectronFex_all
"
):
super
(
L2ElectronFex_all
,
self
).
__init__
(
name
)
# AcceptAll flag: if true take events regardless of cuts
self
.
AcceptAll
=
False
# Co-ordinates of calorimeter face for extrapolation
self
.
RCalBarrelFace
=
1470.0
*
mm
self
.
ZCalEndcapFace
=
3800.0
*
mm
class
L2ElectronFex_1
(
L2ElectronFex_all
):
__slots__
=
[]
def
__init__
(
self
,
name
=
"
L2ElectronFex_1
"
):
super
(
L2ElectronFex_1
,
self
).
__init__
(
name
)
self
.
AcceptAll
=
True
class
L2ElectronFex_Clean
(
L2ElectronFex_all
):
__slots__
=
[]
def
__init__
(
self
,
name
=
"
L2ElectronFex_Clean
"
):
super
(
L2ElectronFex_Clean
,
self
).
__init__
(
name
)
self
.
AcceptAll
=
False
self
.
CaloTrackdETA
=
0.2
self
.
CaloTrackdPHI
=
0.3
class
L2ElectronFex_LowPt
(
L2ElectronFex_all
):
__slots__
=
[]
def
__init__
(
self
,
name
=
"
L2ElectronFex_LowPt
"
):
super
(
L2ElectronFex_1
,
self
).
__init__
(
name
)
self
.
AcceptAll
=
False
class
L2ElectronFex_HighPt
(
L2ElectronFex_all
):
__slots__
=
[]
def
__init__
(
self
,
name
=
"
L2ElectronFex_HighPt
"
):
super
(
L2ElectronFex_1
,
self
).
__init__
(
name
)
self
.
AcceptAll
=
False
self
.
TrackPt
=
2.0
*
GeV
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment