ATLAS Offline Software
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Static Private Attributes | List of all members
python.L1.Base.Thresholds.ZeroBiasThresholdTopo Class Reference
Inheritance diagram for python.L1.Base.Thresholds.ZeroBiasThresholdTopo:
Collaboration diagram for python.L1.Base.Thresholds.ZeroBiasThresholdTopo:

Public Member Functions

def __init__ (self, name, mapping=-1)
 
def setSeedThreshold (self, seed=[], seed_multi=1, bcdelay=3564)
 
def json (self)
 
def __str__ (self)
 
def getVarName (self)
 
def isLegacy (self)
 
def thresholdInGeV (self)
 

Static Public Member Functions

def setMenuConfig (mc)
 

Public Attributes

 mask0
 
 mask1
 
 mask2
 
 mask3
 
 mask4
 
 mask5
 
 bcdelay
 
 name
 
 ttype
 
 mapping
 
 run
 
 thresholdValues
 

Static Public Attributes

 l1configForRegistration
 

Static Private Attributes

 __slots__
 

Detailed Description

Definition at line 988 of file Trigger/TriggerCommon/TriggerMenuMT/python/L1/Base/Thresholds.py.

Constructor & Destructor Documentation

◆ __init__()

def python.L1.Base.Thresholds.ZeroBiasThresholdTopo.__init__ (   self,
  name,
  mapping = -1 
)

Definition at line 990 of file Trigger/TriggerCommon/TriggerMenuMT/python/L1/Base/Thresholds.py.

990  def __init__(self, name, mapping = -1):
991  super(ZeroBiasThresholdTopo,self).__init__(name = name, ttype = ThrType.ZBTopo, mapping = mapping, run = 3)
992  self.mask0 = 0
993  self.mask1 = 0
994  self.mask2 = 0
995  self.mask3 = 0
996  self.mask4 = 0
997  self.mask5 = 0
998 
999  self.bcdelay = 0
1000 

Member Function Documentation

◆ __str__()

def python.L1.Base.Thresholds.Threshold.__str__ (   self)
inherited

Definition at line 121 of file Trigger/TriggerCommon/TriggerMenuMT/python/L1/Base/Thresholds.py.

121  def __str__(self):
122  return self.name
123 

◆ getVarName()

def python.L1.Base.Thresholds.Threshold.getVarName (   self)
inherited
returns a string that can be used as a varname

Reimplemented in python.L1.Base.Thresholds.TopoThreshold.

Definition at line 124 of file Trigger/TriggerCommon/TriggerMenuMT/python/L1/Base/Thresholds.py.

124  def getVarName(self):
125  """returns a string that can be used as a varname"""
126  return self.name.replace('p','')
127 

◆ isLegacy()

def python.L1.Base.Thresholds.Threshold.isLegacy (   self)
inherited

Definition at line 128 of file Trigger/TriggerCommon/TriggerMenuMT/python/L1/Base/Thresholds.py.

128  def isLegacy(self):
129  return self.run == 2
130 

◆ json()

def python.L1.Base.Thresholds.ZeroBiasThresholdTopo.json (   self)

Reimplemented from python.L1.Base.Thresholds.Threshold.

Definition at line 1011 of file Trigger/TriggerCommon/TriggerMenuMT/python/L1/Base/Thresholds.py.

1011  def json(self):
1012  confObj = odict()
1013  confObj["mapping" ] = self.mapping
1014  confObj["delay"] = self.bcdelay
1015  confObj["mask0"] = self.mask0
1016  confObj["mask1"] = self.mask1
1017  confObj["mask2"] = self.mask2
1018  confObj["mask3"] = self.mask3
1019  confObj["mask4"] = self.mask4
1020  confObj["mask5"] = self.mask5
1021 
1022  return confObj
1023 
1024 
1025 

◆ setMenuConfig()

def python.L1.Base.Thresholds.Threshold.setMenuConfig (   mc)
staticinherited

Definition at line 108 of file Trigger/TriggerCommon/TriggerMenuMT/python/L1/Base/Thresholds.py.

108  def setMenuConfig(mc):
109  Threshold.l1configForRegistration = mc
110 

◆ setSeedThreshold()

def python.L1.Base.Thresholds.ZeroBiasThresholdTopo.setSeedThreshold (   self,
  seed = [],
  seed_multi = 1,
  bcdelay = 3564 
)

Definition at line 1001 of file Trigger/TriggerCommon/TriggerMenuMT/python/L1/Base/Thresholds.py.

1001  def setSeedThreshold(self, seed=[], seed_multi = 1, bcdelay = 3564 ):
1002  self.mask0 = seed[0]
1003  self.mask1 = seed[1]
1004  self.mask2 = seed[2]
1005  self.mask3 = seed[3]
1006  self.mask4 = seed[4]
1007  self.mask5 = seed[5]
1008  self.bcdelay = int(bcdelay)
1009 
1010 

◆ thresholdInGeV()

def python.L1.Base.Thresholds.Threshold.thresholdInGeV (   self)
inherited

Definition at line 131 of file Trigger/TriggerCommon/TriggerMenuMT/python/L1/Base/Thresholds.py.

131  def thresholdInGeV(self):
132  if len(self.thresholdValues)==0:
133  return 0
134  else:
135  return float(self.thresholdValues[0].value)
136 

Member Data Documentation

◆ __slots__

python.L1.Base.Thresholds.Threshold.__slots__
staticprivateinherited

◆ bcdelay

python.L1.Base.Thresholds.ZeroBiasThresholdTopo.bcdelay

◆ l1configForRegistration

python.L1.Base.Thresholds.Threshold.l1configForRegistration
staticinherited

◆ mapping

python.L1.Base.Thresholds.Threshold.mapping
inherited

◆ mask0

python.L1.Base.Thresholds.ZeroBiasThresholdTopo.mask0

◆ mask1

python.L1.Base.Thresholds.ZeroBiasThresholdTopo.mask1

◆ mask2

python.L1.Base.Thresholds.ZeroBiasThresholdTopo.mask2

◆ mask3

python.L1.Base.Thresholds.ZeroBiasThresholdTopo.mask3

◆ mask4

python.L1.Base.Thresholds.ZeroBiasThresholdTopo.mask4

◆ mask5

python.L1.Base.Thresholds.ZeroBiasThresholdTopo.mask5

◆ name

python.L1.Base.Thresholds.Threshold.name
inherited

◆ run

python.L1.Base.Thresholds.Threshold.run
inherited

◆ thresholdValues

python.L1.Base.Thresholds.Threshold.thresholdValues
inherited

◆ ttype

python.L1.Base.Thresholds.Threshold.ttype
inherited

The documentation for this class was generated from the following file:
replace
std::string replace(std::string s, const std::string &s2, const std::string &s3)
Definition: hcg.cxx:307
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
json
nlohmann::json json
Definition: HistogramDef.cxx:9
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18
readCCLHist.float
float
Definition: readCCLHist.py:83