ATLAS Offline Software
Public Member Functions | Private Attributes | Static Private Attributes | List of all members
TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig Class Reference
Collaboration diagram for TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig:

Public Member Functions

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

Private Attributes

 __log
 
 __useRun3
 
 __name
 
 __cand
 
 __threshold
 
 __sel
 
 __trackinfo
 
 __noringerinfo
 
 __tool
 

Static Private Attributes

 __operation_points
 

Detailed Description

Definition at line 18 of file TrigEgammaForwardFastCaloHypoTool.py.

Constructor & Destructor Documentation

◆ __init__()

def 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 

Member Function Documentation

◆ chain()

def TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig.chain (   self)

Definition at line 59 of file TrigEgammaForwardFastCaloHypoTool.py.

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

◆ compile()

def TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig.compile (   self)

Definition at line 84 of file TrigEgammaForwardFastCaloHypoTool.py.

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

◆ etthr()

def TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig.etthr (   self)

Definition at line 65 of file TrigEgammaForwardFastCaloHypoTool.py.

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

◆ isElectron()

def TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig.isElectron (   self)

Definition at line 68 of file TrigEgammaForwardFastCaloHypoTool.py.

68  def isElectron(self):
69  return 'e' in self.__cand
70 

◆ isPhoton()

def TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig.isPhoton (   self)

Definition at line 71 of file TrigEgammaForwardFastCaloHypoTool.py.

71  def isPhoton(self):
72  return 'g' in self.__cand
73 

◆ nocut()

def 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()

def TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig.pidname (   self)

Definition at line 62 of file TrigEgammaForwardFastCaloHypoTool.py.

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

◆ tool()

def 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
private

Definition at line 39 of file TrigEgammaForwardFastCaloHypoTool.py.

◆ __log

TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig.__log
private

Definition at line 35 of file TrigEgammaForwardFastCaloHypoTool.py.

◆ __name

TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig.__name
private

Definition at line 38 of file TrigEgammaForwardFastCaloHypoTool.py.

◆ __noringerinfo

TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig.__noringerinfo
private

Definition at line 43 of file TrigEgammaForwardFastCaloHypoTool.py.

◆ __operation_points

TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig.__operation_points
staticprivate

Definition at line 21 of file TrigEgammaForwardFastCaloHypoTool.py.

◆ __sel

TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig.__sel
private

Definition at line 41 of file TrigEgammaForwardFastCaloHypoTool.py.

◆ __threshold

TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig.__threshold
private

Definition at line 40 of file TrigEgammaForwardFastCaloHypoTool.py.

◆ __tool

TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig.__tool
private

Definition at line 50 of file TrigEgammaForwardFastCaloHypoTool.py.

◆ __trackinfo

TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig.__trackinfo
private

Definition at line 42 of file TrigEgammaForwardFastCaloHypoTool.py.

◆ __useRun3

TrigEgammaForwardFastCaloHypoTool.TrigEgammaForwardFastCaloHypoToolConfig.__useRun3
private

Definition at line 37 of file TrigEgammaForwardFastCaloHypoTool.py.


The documentation for this class was generated from the following file:
runLayerRecalibration.chain
chain
Definition: runLayerRecalibration.py:175
xAOD::EgammaHelpers::isElectron
bool isElectron(const xAOD::Egamma *eg)
is the object an electron (not Fwd)
Definition: EgammaxAODHelpers.cxx:12
debug
const bool debug
Definition: MakeUncertaintyPlots.cxx:53
AtlCoolConsole.tool
tool
Definition: AtlCoolConsole.py:453
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18
xAOD::EgammaHelpers::isPhoton
bool isPhoton(const xAOD::Egamma *eg)
is the object a photon
Definition: EgammaxAODHelpers.cxx:21
readCCLHist.float
float
Definition: readCCLHist.py:83