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, str filename="", str jsonString="", str dbalias="", int bgskey=0, bool useCrest=False, str 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 198 of file L1TriggerConfigAccess.py.

Constructor & Destructor Documentation

◆ __init__()

def python.L1TriggerConfigAccess.BunchGroupSetAccess.__init__ (   self,
str   filename = "",
str   jsonString = "",
str   dbalias = "",
int   bgskey = 0,
bool   useCrest = False,
str   crestServer = "" 
)

Definition at line 203 of file L1TriggerConfigAccess.py.

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

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