ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
TileDQstatusAlgTestConfig.CheckAlg Class Reference
Inheritance diagram for TileDQstatusAlgTestConfig.CheckAlg:
Collaboration diagram for TileDQstatusAlgTestConfig.CheckAlg:

Public Member Functions

def __init__ (self, name, dq_key)
 
def initialize (self)
 
def execute (self)
 
def check_empty (self, dq)
 

Public Attributes

 dq_key
 

Detailed Description

Definition at line 275 of file TileDQstatusAlgTestConfig.py.

Constructor & Destructor Documentation

◆ __init__()

def TileDQstatusAlgTestConfig.CheckAlg.__init__ (   self,
  name,
  dq_key 
)

Definition at line 276 of file TileDQstatusAlgTestConfig.py.

276  def __init__ (self, name, dq_key):
277  Alg.__init__ (self, name)
278  self.dq_key = dq_key
279  return
280 
281 

Member Function Documentation

◆ check_empty()

def TileDQstatusAlgTestConfig.CheckAlg.check_empty (   self,
  dq 
)

Definition at line 301 of file TileDQstatusAlgTestConfig.py.

301  def check_empty (self, dq):
302  for part in range(5):
303  for drawer in range(64):
304  for dmu in range (16):
305  is_empty = (part==3 and drawer==13 and
306  dmu in [3, 9, 12])
307  assert dq.checkEmptyEvent(part, drawer, dmu) == is_empty
308  return
309 
310 

◆ execute()

def TileDQstatusAlgTestConfig.CheckAlg.execute (   self)

Definition at line 286 of file TileDQstatusAlgTestConfig.py.

286  def execute (self):
287  dq = self.evtStore[self.dq_key]
288 
289  assert dq.isFilled() is True
290  assert dq.isBiGain() is False
291  assert dq.nonZeroCounter() is True
292  assert dq.incompleteDigits() is False
293  assert dq.calibMode() == 0
294  assert dq.trigType() == 0
295 
296  self.check_empty (dq)
297 
298  return StatusCode.Success
299 
300 

◆ initialize()

def TileDQstatusAlgTestConfig.CheckAlg.initialize (   self)

Definition at line 282 of file TileDQstatusAlgTestConfig.py.

282  def initialize (self):
283  return StatusCode.Success
284 
285 

Member Data Documentation

◆ dq_key

TileDQstatusAlgTestConfig.CheckAlg.dq_key

Definition at line 278 of file TileDQstatusAlgTestConfig.py.


The documentation for this class was generated from the following file:
initialize
void initialize()
Definition: run_EoverP.cxx:894
LArG4FSStartPointFilterLegacy.execute
execute
Definition: LArG4FSStartPointFilterLegacy.py:20
plotBeamSpotVxVal.range
range
Definition: plotBeamSpotVxVal.py:195
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18