ATLAS Offline Software
Public Member Functions | List of all members
python.L1TriggerConfigAccess.BunchGroupSetAccess Class Reference
Inheritance diagram for python.L1TriggerConfigAccess.BunchGroupSetAccess:
Collaboration diagram for python.L1TriggerConfigAccess.BunchGroupSetAccess:

Public Member Functions

def __init__ (self, filename=None, jsonString=None, dbalias=None, bgskey=None, useCrest=False, crestServer="")
 

Detailed Description

this class provides access to the L1 bunchgroup set
the methods are self-explanatory for people with knowledge of the configuration

Definition at line 197 of file L1TriggerConfigAccess.py.

Constructor & Destructor Documentation

◆ __init__()

def python.L1TriggerConfigAccess.BunchGroupSetAccess.__init__ (   self,
  filename = None,
  jsonString = None,
  dbalias = None,
  bgskey = None,
  useCrest = False,
  crestServer = "" 
)

Definition at line 202 of file L1TriggerConfigAccess.py.

202  def __init__(self, filename = None, jsonString = None, dbalias = None, bgskey = None, useCrest=False, crestServer=""):
203  super().__init__(ConfigType.BGS, mainkey = "bunchGroups",
204  jsonString = jsonString, filename = filename, dbalias = dbalias, dbkey = bgskey,
205  useCrest=useCrest, crestServer=crestServer)
206  self.loader.setQuery({
207  1: "SELECT L1BGS_DATA FROM {schema}.L1_BUNCH_GROUP_SET BGS WHERE L1BGS_ID=:dbkey" # for current and new db schema
208  })
209  self.load()
210  if bgskey is not None:
211  log.info(f"Loaded L1 bunchgroup set {self.name()} with {len(self)} bunchgroups from {dbalias} with bgsk {bgskey}{' using CREST' if useCrest else ''}")
212  elif filename is not None:
213  log.info(f"Loaded L1 bunchgroup set {self.name()} with {len(self)} bunchgroups from file {filename}")
214 

The documentation for this class was generated from the following file:
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18