ATLAS Offline Software
Public Member Functions | Static Public Attributes | List of all members
python.subdetectors.trig.Online_Beamspot_Status Class Reference
Inheritance diagram for python.subdetectors.trig.Online_Beamspot_Status:
Collaboration diagram for python.subdetectors.trig.Online_Beamspot_Status:

Public Member Functions

def make_good_iovs (self, iovs)
 
def beamspot_generator (self, iovs)
 

Static Public Attributes

string input_db = 'COOLONL_INDET/CONDBR2'
 
dictionary fetch_args = {'tag': "IndetBeamposOnl-HLT-UPD1-001-00"}
 
bool timewise_folder = False
 

Detailed Description

Overloads calculate_good_iovs

Definition at line 9 of file trig.py.

Member Function Documentation

◆ beamspot_generator()

def python.subdetectors.trig.Online_Beamspot_Status.beamspot_generator (   self,
  iovs 
)

Definition at line 19 of file trig.py.

19  def beamspot_generator(self, iovs):
20  state = iovs.select_channels(0)
21  events = process_iovs(iovs)
22  for since, until, (state,) in events:
23  if state is not None:
24  #print since, until, state.status
25  if state.status == 7 or state.status is None:
26  continue
27 
28  yield DefectIOV(since, until, 'TRIG_HLT_IDT_BSPOT_INVALID_STATUS', True,
29  comment='Bad online beamspot status')
30 

◆ make_good_iovs()

def python.subdetectors.trig.Online_Beamspot_Status.make_good_iovs (   self,
  iovs 
)

Definition at line 16 of file trig.py.

16  def make_good_iovs(self, iovs):
17  return IOVSet(list(connect_adjacent_iovs_defect(self.beamspot_generator(iovs))))
18 

Member Data Documentation

◆ fetch_args

dictionary python.subdetectors.trig.Online_Beamspot_Status.fetch_args = {'tag': "IndetBeamposOnl-HLT-UPD1-001-00"}
static

Definition at line 14 of file trig.py.

◆ input_db

string python.subdetectors.trig.Online_Beamspot_Status.input_db = 'COOLONL_INDET/CONDBR2'
static

Definition at line 13 of file trig.py.

◆ timewise_folder

bool python.subdetectors.trig.Online_Beamspot_Status.timewise_folder = False
static

Definition at line 15 of file trig.py.


The documentation for this class was generated from the following file:
python.variable.DefectIOV
def DefectIOV(channel, present, comment)
Definition: variable.py:26
histSizes.list
def list(name, path='/')
Definition: histSizes.py:38
python.events.process_iovs
def process_iovs(*iovsets)
Definition: events.py:30
python.libcore.connect_adjacent_iovs_defect
def connect_adjacent_iovs_defect(generator)
Definition: libcore.py:69