ATLAS Offline Software
Loading...
Searching...
No Matches
TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig Class Reference
Collaboration diagram for TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig:

Public Member Functions

 __init__ (self, name, cand, threshold, sel, trackinfo, noringerinfo)
 chain (self)
 pidname (self)
 etthr (self)
 isElectron (self)
 isPhoton (self)
 tool (self)
 nocut (self)
 compile (self)

Private Attributes

 __log = logging.getLogger('TrigEgammaForwardFastCaloHypoTool')
bool __useRun3 = False
 __name = name
 __cand = cand
 __threshold = float(threshold)
 __sel = sel
 __trackinfo = trackinfo
 __noringerinfo = noringerinfo
 __tool = tool

Static Private Attributes

list __operation_points

Detailed Description

Definition at line 18 of file TrigEgammaForwardFastCaloHypoTool.py.

Constructor & Destructor Documentation

◆ __init__()

TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig.__init__ ( self,
name,
cand,
threshold,
sel,
trackinfo,
noringerinfo )

Definition at line 32 of file TrigEgammaForwardFastCaloHypoTool.py.

32 def __init__(self, name, cand, threshold, sel, trackinfo, noringerinfo):
33
34 from AthenaCommon.Logging import logging
35 self.__log = logging.getLogger('TrigEgammaForwardFastCaloHypoTool')
36
37 self.__useRun3 = False
38 self.__name = name
39 self.__cand = cand
40 self.__threshold = float(threshold)
41 self.__sel = sel
42 self.__trackinfo = trackinfo
43 self.__noringerinfo = noringerinfo
44
45 from AthenaConfiguration.ComponentFactory import CompFactory
46 tool = CompFactory.TrigEgammaForwardFastCaloHypoTool( name )
47 tool.AcceptAll = False
48 tool.EtCut = self.__threshold*GeV
49
50 self.__tool = tool
51
52 self.__log.debug( 'Chain :%s', name )
53 self.__log.debug( 'Signature :%s', cand )
54 self.__log.debug( 'Threshold :%s', threshold )
55 self.__log.debug( 'Pidname :%s', sel )
56 self.__log.debug( 'trackinfo :%s', trackinfo )
57 self.__log.debug( 'noringerinfo :%s', noringerinfo )
58
const bool debug

Member Function Documentation

◆ chain()

TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig.chain ( self)

Definition at line 59 of file TrigEgammaForwardFastCaloHypoTool.py.

59 def chain(self):
60 return self.__name
61

◆ compile()

TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig.compile ( self)

Definition at line 84 of file TrigEgammaForwardFastCaloHypoTool.py.

84 def compile(self):
85
86 self.nocut()
87
88
89

◆ etthr()

TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig.etthr ( self)

Definition at line 65 of file TrigEgammaForwardFastCaloHypoTool.py.

65 def etthr(self):
66 return self.__threshold
67

◆ isElectron()

TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig.isElectron ( self)

Definition at line 68 of file TrigEgammaForwardFastCaloHypoTool.py.

68 def isElectron(self):
69 return 'e' in self.__cand
70
bool isElectron(const T &p)
Definition AtlasPID.h:202

◆ isPhoton()

TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig.isPhoton ( self)

Definition at line 71 of file TrigEgammaForwardFastCaloHypoTool.py.

71 def isPhoton(self):
72 return 'g' in self.__cand
73
bool isPhoton(const T &p)
Definition AtlasPID.h:376

◆ nocut()

TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig.nocut ( self)

Definition at line 78 of file TrigEgammaForwardFastCaloHypoTool.py.

78 def nocut(self):
79
80 self.__log.debug( 'Configure nocut' )
81 self.tool().AcceptAll = True
82
83

◆ pidname()

TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig.pidname ( self)

Definition at line 62 of file TrigEgammaForwardFastCaloHypoTool.py.

62 def pidname( self ):
63 return self.__sel
64

◆ tool()

TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig.tool ( self)

Definition at line 74 of file TrigEgammaForwardFastCaloHypoTool.py.

74 def tool(self):
75 return self.__tool
76
77

Member Data Documentation

◆ __cand

TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig.__cand = cand
private

Definition at line 39 of file TrigEgammaForwardFastCaloHypoTool.py.

◆ __log

TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig.__log = logging.getLogger('TrigEgammaForwardFastCaloHypoTool')
private

Definition at line 35 of file TrigEgammaForwardFastCaloHypoTool.py.

◆ __name

TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig.__name = name
private

Definition at line 38 of file TrigEgammaForwardFastCaloHypoTool.py.

◆ __noringerinfo

TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig.__noringerinfo = noringerinfo
private

Definition at line 43 of file TrigEgammaForwardFastCaloHypoTool.py.

◆ __operation_points

list TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig.__operation_points
staticprivate
Initial value:
= [ 'tight' ,
'medium' ,
'loose' ,
'vloose' ,
'lhtight' ,
'lhmedium' ,
'lhloose' ,
'lhvloose' ]

Definition at line 21 of file TrigEgammaForwardFastCaloHypoTool.py.

◆ __sel

TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig.__sel = sel
private

Definition at line 41 of file TrigEgammaForwardFastCaloHypoTool.py.

◆ __threshold

TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig.__threshold = float(threshold)
private

Definition at line 40 of file TrigEgammaForwardFastCaloHypoTool.py.

◆ __tool

TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig.__tool = tool
private

Definition at line 50 of file TrigEgammaForwardFastCaloHypoTool.py.

◆ __trackinfo

TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig.__trackinfo = trackinfo
private

Definition at line 42 of file TrigEgammaForwardFastCaloHypoTool.py.

◆ __useRun3

bool TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig.__useRun3 = False
private

Definition at line 37 of file TrigEgammaForwardFastCaloHypoTool.py.


The documentation for this class was generated from the following file: