ATLAS Offline Software
Functions
python.MuonCondAlgConfig Namespace Reference

Functions

def MdtCondDbAlgCfg (flags, **kwargs)
 
def RpcCondDbAlgCfg (flags, **kwargs)
 
def CscCondDbAlgCfg (flags, **kwargs)
 
def TgcCondDbAlgCfg (flags, name="TgcCondDbAlg", **kwargs)
 
def TgcEnergyThresholdCondAlgCfg (flags, name="TgcEnergyThresholdCondAlg", **kwargs)
 
def TgcDigitJitterCondAlgCfg (flags, name="TgcDigitJitterCondAlg", **kwargs)
 
def TgcDigitASDposCondAlgCfg (flags, name="TgcDigitASDposCondAlg", **kwargs)
 
def TgcDigitTimeOffsetCondAlgCfg (flags, name="TgcDigitTimeOffsetCondAlg", **kwargs)
 
def TgcDigitCrosstalkCondAlgCfg (flags, name="TgcDigitCrosstalkCondAlg", **kwargs)
 
def TgcDigitCondAlgCfg (flags)
 
def NswCalibDbAlgCfg (flags, **kwargs)
 
def NswPassivationDbAlgCfg (flags, **kwargs)
 
def MuonStationIntersectCondAlgCfg (flags, name='MuonStationIntersectCondAlg', **kwargs)
 
def NswDcsDbAlgCfg (flags, **kwargs)
 
def MmDigitEffiCondAlgCfg (flags, **kwargs)
 
def sTgcDigitEffiCondAlgCfg (flags, **kwargs)
 

Function Documentation

◆ CscCondDbAlgCfg()

def python.MuonCondAlgConfig.CscCondDbAlgCfg (   flags,
**  kwargs 
)

Definition at line 90 of file MuonCondAlgConfig.py.

90 def CscCondDbAlgCfg(flags, **kwargs):
91  result = ComponentAccumulator()
92  pslope_from_db = False
93  folders = ["/CSC/FTHOLD", "/CSC/NOISE", "/CSC/PED", "/CSC/RMS", "/CSC/STAT", "/CSC/T0BASE", "/CSC/T0PHASE"]
94  scheme = "CSC_OFL"
95  kwargs['ReadKey_HV'] = '' # Never used at present
96  if flags.Common.isOnline:
97  kwargs["isOnline" ] = True
98  kwargs['isData' ] = True
99  kwargs['ReadKey_FT'] = '/CSC/FTHOLD' # 'ConditionsStore+' prefix not necessarily needed in ReadKey
100  kwargs['ReadKey_NO'] = '/CSC/NOISE'
101  kwargs['ReadKey_PD'] = '/CSC/PED'
102  if pslope_from_db:
103  kwargs['ReadKey_PS'] = '/CSC/PSLOPE'
104  kwargs['ReadKey_RM'] = '/CSC/RMS'
105  kwargs['ReadKey_ST'] = '/CSC/STAT'
106  kwargs['ReadKey_TB'] = ''
107  kwargs['ReadKey_TP'] = ''
108  folders = ["/CSC/ONL/FTHOLD", "/CSC/ONL/NOISE", "/CSC/ONL/PED", "/CSC/ONL/RMS", "/CSC/ONL/STAT"]
109  if pslope_from_db:
110  folders.append("/CSC/PSLOPE")
111  scheme = "CSC_ONL"
112  else:
113  if pslope_from_db:
114  folders.append("/CSC/PSLOPE")
115 
116  kwargs["isOnline"] = False
117  if flags.Input.isMC:
118  kwargs['isData'] = False
119  else:
120  kwargs['isData'] = True
121  kwargs['isRun1'] = flags.IOVDb.DatabaseInstance == 'COMP200'
122  alg = CompFactory.CscCondDbAlg(**kwargs)
123  result.merge( addFolders(flags, folders , detDb=scheme, className='CondAttrListCollection') )
124  result.addCondAlgo(alg)
125  return result
126 

◆ MdtCondDbAlgCfg()

def python.MuonCondAlgConfig.MdtCondDbAlgCfg (   flags,
**  kwargs 
)

Definition at line 13 of file MuonCondAlgConfig.py.

13 def MdtCondDbAlgCfg(flags, **kwargs):
14  result = ComponentAccumulator()
15  folders = []
16  if not flags.Muon.useMdtDcsData:
17  return result
18  else:
19  kwargs["isOnline"] = False
20  if flags.Input.isMC:
21  kwargs['isData'] = False
22  folders = ["/MDT/DCS/DROPPEDCH", "/MDT/DCS/PSLVCHSTATE"]
23 
24  # TODO: probably will be used in the future but disable for now
25  kwargs['ReadKey_MC_DE'] = ''
26  kwargs['ReadKey_MC_DT'] = ''
27 
28  # disable the rest
29  kwargs['ReadKey_DataR1_DC'] = ''
30  kwargs['ReadKey_DataR1_HV'] = ''
31  kwargs['ReadKey_DataR1_LV'] = ''
32  kwargs['ReadKey_DataR1_V0'] = ''
33  kwargs['ReadKey_DataR1_V1'] = ''
34  kwargs['ReadKey_DataR2_HV'] = ''
35  kwargs['ReadKey_DataR2_LV'] = ''
36  else:
37  kwargs['isData'] = True
38  kwargs['isRun1'] = flags.IOVDb.DatabaseInstance == 'COMP200'
39  kwargs['useRun1SetPoints'] = False
40  if kwargs['isRun1'] and kwargs['useRun1SetPoints']:
41  folders = ["/MDT/DCS/PSV0SETPOINTS", "/MDT/DCS/PSV1SETPOINTS"]
42 
43  # disable the rest
44  kwargs['ReadKey_DataR1_DC'] = ''
45  kwargs['ReadKey_DataR1_HV'] = ''
46  kwargs['ReadKey_DataR1_LV'] = ''
47  kwargs['ReadKey_DataR2_HV'] = ''
48  kwargs['ReadKey_DataR2_LV'] = ''
49  if kwargs['isRun1']:
50  folders = ["/MDT/DCS/PSHVMLSTATE", "/MDT/DCS/PSLVCHSTATE", "/MDT/DCS/DROPPEDCH"]
51 
52  # disable the rest
53  kwargs['ReadKey_DataR1_V0'] = ''
54  kwargs['ReadKey_DataR1_V1'] = ''
55  kwargs['ReadKey_DataR2_HV'] = ''
56  kwargs['ReadKey_DataR2_LV'] = ''
57  else:
58  folders = ["/MDT/DCS/HV", "/MDT/DCS/LV"]
59 
60  # disable the rest
61  kwargs['ReadKey_DataR1_DC'] = ''
62  kwargs['ReadKey_DataR1_HV'] = ''
63  kwargs['ReadKey_DataR1_LV'] = ''
64  kwargs['ReadKey_DataR1_V0'] = ''
65  kwargs['ReadKey_DataR1_V1'] = ''
66 
67  # disable MC folders
68  kwargs['ReadKey_MC_DC'] = ''
69  kwargs['ReadKey_MC_DE'] = ''
70  kwargs['ReadKey_MC_DT'] = ''
71  kwargs['ReadKey_MC_NC'] = ''
72 
73  alg = CompFactory.MdtCondDbAlg(**kwargs)
74  result.merge( addFolders(flags, folders , detDb="DCS_OFL", className='CondAttrListCollection') )
75  result.addCondAlgo(alg, primary = True)
76  return result
77 

◆ MmDigitEffiCondAlgCfg()

def python.MuonCondAlgConfig.MmDigitEffiCondAlgCfg (   flags,
**  kwargs 
)

Definition at line 377 of file MuonCondAlgConfig.py.

377 def MmDigitEffiCondAlgCfg(flags, **kwargs):
378  acc = ComponentAccumulator()
379  if not flags.Input.isMC: return acc
380 
381  if (kwargs["readFromJSON"]):
382  kwargs["ReadKey"] = ""
383  else:
384  kwargs.setdefault("ReadKey","/MDT/MM/EFFMAP")
385  acc.merge(addFolders(flags, kwargs["ReadKey"]),"MDT_OFL", className="CondAttrListCollection", tag="MMEffMap_2024DataTillEndOfJuly")
386 
387  alg = CompFactory.MmDigitEffiCondAlg("MmDigitEffiCondAlg", **kwargs)
388  acc.addCondAlgo(alg)
389  return acc
390 

◆ MuonStationIntersectCondAlgCfg()

def python.MuonCondAlgConfig.MuonStationIntersectCondAlgCfg (   flags,
  name = 'MuonStationIntersectCondAlg',
**  kwargs 
)

Definition at line 337 of file MuonCondAlgConfig.py.

337 def MuonStationIntersectCondAlgCfg(flags, name='MuonStationIntersectCondAlg',**kwargs):
338  # Has dependency IdHelperTool (which we ignore for now)
339  result = ComponentAccumulator()
340  result.merge(MdtCondDbAlgCfg(flags))
341  if not flags.Muon.useMdtDcsData: kwargs.setdefault("MdtCondKey","")
342  muon_station_intersect_condalg = CompFactory.MuonStationIntersectCondAlg(name=name, **kwargs)
343  result.addCondAlgo(muon_station_intersect_condalg, primary=True)
344  return result
345 

◆ NswCalibDbAlgCfg()

def python.MuonCondAlgConfig.NswCalibDbAlgCfg (   flags,
**  kwargs 
)

Definition at line 181 of file MuonCondAlgConfig.py.

181 def NswCalibDbAlgCfg(flags, **kwargs):
182  result = ComponentAccumulator()
183 
184  kwargs.setdefault("MmT0FileName","")
185  kwargs.setdefault("sTgcT0FileName","")
186 
187  kwargs.setdefault("loadMmT0Data",flags.Muon.Calib.applyMmT0Correction)
188  kwargs.setdefault("loadsTgcT0Data", flags.Muon.Calib.applysTgcT0Correction)
189  if(kwargs["loadMmT0Data"] and not kwargs['MmT0FileName'] ):
190  kwargs.setdefault('ReadKey_MM_T0', "/MDT/MM/T0")
191  kwargs.setdefault('ReadKey_MM_T0', "")
192 
193  if(kwargs["loadsTgcT0Data"] and not kwargs['sTgcT0FileName']):
194  kwargs['ReadKey_STGC_T0'] = "/TGC/NSW/T0"
195  kwargs.setdefault('ReadKey_STGC_T0', "")
196 
197 
198 
199  if flags.Common.isOnline:
200  kwargs['isData'] = True
201 
202 
203  scheme = "MDT_ONL"
204 
205  # use specific folder tags for Run 4
206  if flags.GeoModel.Run>=LHCPeriod.Run4:
207  result.merge( addFolders(flags, ["/MDT/Onl/MM/TIME/SIDEA" ], detDb=scheme, className='CondAttrListCollection' , tag="MmTdoSideA-Const-3p73") )
208  result.merge( addFolders(flags, ["/MDT/Onl/MM/TIME/SIDEC" ], detDb=scheme, className='CondAttrListCollection' , tag="MmTdoSideC-Const-3p73") )
209  result.merge( addFolders(flags, ["/MDT/Onl/MM/CHARGE/SIDEA"], detDb=scheme, className='CondAttrListCollection' , tag="MmPdoSideA-Const-9p0" ) )
210  result.merge( addFolders(flags, ["/MDT/Onl/MM/CHARGE/SIDEC"], detDb=scheme, className='CondAttrListCollection' , tag="MmPdoSideC-Const-9p0" ) )
211  if(kwargs['ReadKey_MM_T0']):
212  result.merge(addFolders(flags, [kwargs['ReadKey_MM_T0']], detDb=scheme, className='CondAttrListCollection' , tag="MmT0SideAc-Nov2023"))
213  else:
214  folders = ["/MDT/Onl/MM/TIME/SIDEA", "/MDT/Onl/MM/CHARGE/SIDEA", \
215  "/MDT/Onl/MM/TIME/SIDEC", "/MDT/Onl/MM/CHARGE/SIDEC"]
216  result.merge( addFolders(flags, folders, detDb=scheme, className='CondAttrListCollection') )
217  if(kwargs['ReadKey_MM_T0']):
218  result.merge(addFolders(flags, [kwargs['ReadKey_MM_T0']], detDb=scheme, className='CondAttrListCollection' , tag="MmT0SideAc-Nov2023"))
219 
220  kwargs["ReadKey_MM_SIDEA_TDO"] = "/MDT/Onl/MM/TIME/SIDEA"
221  kwargs["ReadKey_MM_SIDEC_TDO"] = "/MDT/Onl/MM/TIME/SIDEC"
222  kwargs["ReadKey_MM_SIDEA_PDO"] = "/MDT/Onl/MM/CHARGE/SIDEA"
223  kwargs["ReadKey_MM_SIDEC_PDO"] = "/MDT/Onl/MM/CHARGE/SIDEC"
224 
225 
226 
227 
228  scheme = "TGC_ONL"
229 
230  # use specific folder tags for Run 4
231  if flags.GeoModel.Run>=LHCPeriod.Run4:
232  result.merge( addFolders(flags, [ "/TGC/Onl/NSW/TIME/SIDEA" ], detDb=scheme, className='CondAttrListCollection' , tag="sTgcTdoSideA-Const-3p73"))
233  result.merge( addFolders(flags, [ "/TGC/Onl/NSW/TIME/SIDEC" ], detDb=scheme, className='CondAttrListCollection' , tag="sTgcTdoSideC-Const-3p73"))
234  result.merge( addFolders(flags, [ "/TGC/Onl/NSW/CHARGE/SIDEA"], detDb=scheme, className='CondAttrListCollection' , tag="sTgcPdoSideA-Const-0p78-icpt0"))
235  result.merge( addFolders(flags, [ "/TGC/Onl/NSW/CHARGE/SIDEC"], detDb=scheme, className='CondAttrListCollection' , tag="sTgcPdoSideC-Const-0p78-icpt0"))
236  else:
237  folders = ["/TGC/Onl/NSW/TIME/SIDEA", "/TGC/Onl/NSW/CHARGE/SIDEA", \
238  "/TGC/Onl/NSW/TIME/SIDEC", "/TGC/Onl/NSW/CHARGE/SIDEC"]
239  result.merge( addFolders(flags, folders , detDb=scheme, className='CondAttrListCollection') )
240 
241  kwargs["ReadKey_STGC_SIDEA_TDO"] = "/TGC/Onl/NSW/TIME/SIDEA"
242  kwargs["ReadKey_STGC_SIDEC_TDO"] = "/TGC/Onl/NSW/TIME/SIDEC"
243  kwargs["ReadKey_STGC_SIDEA_PDO"] = "/TGC/Onl/NSW/CHARGE/SIDEA"
244  kwargs["ReadKey_STGC_SIDEC_PDO"] = "/TGC/Onl/NSW/CHARGE/SIDEC"
245 
246 
247  elif flags.Input.isMC:
248  kwargs['isData'] = False
249 
250 
251  scheme = "MDT_OFL"
252 
253  # use specific folder tags for Run 4
254  if flags.GeoModel.Run>=LHCPeriod.Run4:
255  result.merge( addFolders(flags, ["/MDT/MM/TIME/SIDEA" ], detDb=scheme, className='CondAttrListCollection' , tag="MmTdoSideA-Const-3p73") )
256  result.merge( addFolders(flags, ["/MDT/MM/TIME/SIDEC" ], detDb=scheme, className='CondAttrListCollection' , tag="MmTdoSideC-Const-3p73") )
257  result.merge( addFolders(flags, ["/MDT/MM/CHARGE/SIDEA"], detDb=scheme, className='CondAttrListCollection' , tag="MmPdoSideA-Const-9p0" ) )
258  result.merge( addFolders(flags, ["/MDT/MM/CHARGE/SIDEC"], detDb=scheme, className='CondAttrListCollection' , tag="MmPdoSideC-Const-9p0" ) )
259  result.merge( addFolders(flags, ["/MDT/MM/THR/SIDEA" ], detDb=scheme, className='CondAttrListCollection' , tag="MmThrSideA-Const-55p4") )
260  result.merge( addFolders(flags, ["/MDT/MM/THR/SIDEC" ], detDb=scheme, className='CondAttrListCollection' , tag="MmThrSideC-Const-55p4") )
261  if(kwargs['ReadKey_MM_T0']):
262  result.merge(addFolders(flags, [kwargs['ReadKey_MM_T0']], detDb=scheme, className='CondAttrListCollection' , tag="MmT0SideAc-Nov2023"))
263  else:
264  folders = ["/MDT/MM/TIME/SIDEA" , "/MDT/MM/CHARGE/SIDEA" , "/MDT/MM/THR/SIDEA" , \
265  "/MDT/MM/TIME/SIDEC" , "/MDT/MM/CHARGE/SIDEC" , "/MDT/MM/THR/SIDEC" ]
266  result.merge( addFolders(flags, folders, detDb=scheme, className='CondAttrListCollection') )
267  if(kwargs['ReadKey_MM_T0']):
268  result.merge(addFolders(flags, [kwargs['ReadKey_MM_T0']], detDb=scheme, className='CondAttrListCollection' , tag="MmT0SideAc-Nov2023"))
269 
270 
271  scheme = "TGC_OFL"
272 
273  # use specific folder tags for Run 4
274  if flags.GeoModel.Run>=LHCPeriod.Run4:
275  result.merge( addFolders(flags, [ "/TGC/NSW/TIME/SIDEA" ], detDb=scheme, className='CondAttrListCollection' , tag="sTgcTdoSideA-Const-3p73"))
276  result.merge( addFolders(flags, [ "/TGC/NSW/TIME/SIDEC" ], detDb=scheme, className='CondAttrListCollection' , tag="sTgcTdoSideC-Const-3p73"))
277  result.merge( addFolders(flags, [ "/TGC/NSW/CHARGE/SIDEA"], detDb=scheme, className='CondAttrListCollection' , tag="sTgcPdoSideA-Const-0p78-icpt0"))
278  result.merge( addFolders(flags, [ "/TGC/NSW/CHARGE/SIDEC"], detDb=scheme, className='CondAttrListCollection' , tag="sTgcPdoSideC-Const-0p78-icpt0"))
279  result.merge( addFolders(flags, [ "/TGC/NSW/THR/SIDEA" ], detDb=scheme, className='CondAttrListCollection' , tag="sTgcThrSideA-Const-15p0"))
280  result.merge( addFolders(flags, [ "/TGC/NSW/THR/SIDEC" ], detDb=scheme, className='CondAttrListCollection' , tag="sTgcThrSideC-Const-15p0"))
281  else:
282  folders = ["/TGC/NSW/TIME/SIDEA", "/TGC/NSW/CHARGE/SIDEA", "/TGC/NSW/THR/SIDEA", \
283  "/TGC/NSW/TIME/SIDEC", "/TGC/NSW/CHARGE/SIDEC", "/TGC/NSW/THR/SIDEC"]
284  result.merge( addFolders(flags, folders , detDb=scheme, className='CondAttrListCollection') )
285 
286 
287  else:
288  kwargs['isData'] = True
289 
290 
291  scheme = "MDT_OFL"
292 
293  # use specific folder tags for Run 4
294  if flags.GeoModel.Run>=LHCPeriod.Run4:
295  result.merge( addFolders(flags, ["/MDT/MM/TIME/SIDEA" ], detDb=scheme, className='CondAttrListCollection' , tag="MmTdoSideA-Const-3p73") )
296  result.merge( addFolders(flags, ["/MDT/MM/TIME/SIDEC" ], detDb=scheme, className='CondAttrListCollection' , tag="MmTdoSideC-Const-3p73") )
297  result.merge( addFolders(flags, ["/MDT/MM/CHARGE/SIDEA"], detDb=scheme, className='CondAttrListCollection' , tag="MmPdoSideA-Const-9p0" ) )
298  result.merge( addFolders(flags, ["/MDT/MM/CHARGE/SIDEC"], detDb=scheme, className='CondAttrListCollection' , tag="MmPdoSideC-Const-9p0" ) )
299  if(kwargs['ReadKey_MM_T0']):
300  result.merge(addFolders(flags, [kwargs['ReadKey_MM_T0']], detDb=scheme, className='CondAttrListCollection' , tag="MmT0SideAc-Nov2023"))
301  else:
302  folders = ["/MDT/MM/TIME/SIDEA", "/MDT/MM/CHARGE/SIDEA", \
303  "/MDT/MM/TIME/SIDEC", "/MDT/MM/CHARGE/SIDEC"]
304  result.merge( addFolders(flags, folders, detDb=scheme, className='CondAttrListCollection') )
305  if(kwargs['ReadKey_MM_T0']):
306  result.merge(addFolders(flags, [kwargs['ReadKey_MM_T0']], detDb=scheme, className='CondAttrListCollection' , tag="MmT0SideAc-Nov2023"))
307 
308 
309 
310  scheme = "TGC_OFL"
311 
312  # use specific folder tags for Run 4
313  if flags.GeoModel.Run>=LHCPeriod.Run4:
314  result.merge( addFolders(flags, [ "/TGC/NSW/TIME/SIDEA" ], detDb=scheme, className='CondAttrListCollection' , tag="sTgcTdoSideA-Const-3p73"))
315  result.merge( addFolders(flags, [ "/TGC/NSW/TIME/SIDEC" ], detDb=scheme, className='CondAttrListCollection' , tag="sTgcTdoSideC-Const-3p73"))
316  result.merge( addFolders(flags, [ "/TGC/NSW/CHARGE/SIDEA"], detDb=scheme, className='CondAttrListCollection' , tag="sTgcPdoSideA-Const-0p78-icpt0"))
317  result.merge( addFolders(flags, [ "/TGC/NSW/CHARGE/SIDEC"], detDb=scheme, className='CondAttrListCollection' , tag="sTgcPdoSideC-Const-0p78-icpt0"))
318  else:
319  folders = ["/TGC/NSW/TIME/SIDEA", "/TGC/NSW/CHARGE/SIDEA", \
320  "/TGC/NSW/TIME/SIDEC", "/TGC/NSW/CHARGE/SIDEC"]
321  result.merge( addFolders(flags, folders , detDb=scheme, className='CondAttrListCollection') )
322 
323  result.addCondAlgo(CompFactory.NswCalibDbAlg(**kwargs))
324  return result
325 

◆ NswDcsDbAlgCfg()

def python.MuonCondAlgConfig.NswDcsDbAlgCfg (   flags,
**  kwargs 
)

Definition at line 346 of file MuonCondAlgConfig.py.

346 def NswDcsDbAlgCfg(flags, **kwargs):
347  acc = ComponentAccumulator()
348  if flags.GeoModel.Run!=LHCPeriod.Run3: return acc
349  if flags.Input.isMC: return acc
350  kwargs.setdefault("LoadTdaq", False)
351  kwargs.setdefault("LoadEltx", False)
352  acc.merge(addFolders(flags, "/MMG/DCS/HV", "DCS_OFL", className="CondAttrListCollection"))
353  acc.merge(addFolders(flags, "/STG/DCS/HV", "DCS_OFL", className="CondAttrListCollection"))
354 
355  if(kwargs["LoadTdaq"]):
356  kwargs.setdefault("ReadKey_MMG_TDAQ","/MDT/MM/ELinks")
357  kwargs.setdefault("ReadKey_STG_TDAQ","/TGC/NSW/ELinks")
358  acc.merge(addFolders(flags, "/MDT/MM/ELinks", detDb="MDT_OFL", className="CondAttrListCollection", tag="MmElinks2023-TEST-01"))
359  acc.merge(addFolders(flags, "/TGC/NSW/ELinks", detDb="TGC_OFL", className="CondAttrListCollection", tag="sTgcElinks2023-TEST-01"))
360  kwargs.setdefault("ReadKey_MMG_TDAQ","/MDT/MM/ELinks")
361  kwargs.setdefault("ReadKey_STG_TDAQ","/TGC/NSW/Elinks")
362 
363  if(kwargs["LoadEltx"]):
364  kwargs.setdefault("ReadKey_MMG_ELTX","/MMG/DCS/TSELTX")
365  kwargs.setdefault("ReadKey_STG_ELTX","/STG/DCS/TSELTX")
366  acc.merge(addFolders(flags, kwargs["ReadKey_MMG_ELTX"], "DCS_OFL", className="CondAttrListCollection"))
367  acc.merge(addFolders(flags, kwargs["ReadKey_STG_ELTX"], "DCS_OFL", className="CondAttrListCollection"))
368  kwargs.setdefault("ReadKey_MMG_ELTX","")
369  kwargs.setdefault("ReadKey_STG_ELTX","")
370 
371 
372  alg = CompFactory.NswDcsDbAlg("NswDcsDbAlg", **kwargs)
373  acc.addCondAlgo(alg)
374  return acc
375 
376 

◆ NswPassivationDbAlgCfg()

def python.MuonCondAlgConfig.NswPassivationDbAlgCfg (   flags,
**  kwargs 
)

Definition at line 326 of file MuonCondAlgConfig.py.

326 def NswPassivationDbAlgCfg(flags, **kwargs):
327  acc = ComponentAccumulator()
328  # use specific folder tags for Run 4
329  if flags.GeoModel.Run>=LHCPeriod.Run4:
330  acc.merge(addFolders(flags, "/MDT/MM/PASSIVATION", "MDT_OFL", className="CondAttrListCollection", tag="MmPassiv2022May19"))
331  else:
332  acc.merge(addFolders(flags, "/MDT/MM/PASSIVATION", "MDT_OFL", className="CondAttrListCollection"))
333  alg = CompFactory.NswPassivationDbAlg("NswPassivationDbAlg", **kwargs)
334  acc.addCondAlgo(alg)
335  return acc
336 

◆ RpcCondDbAlgCfg()

def python.MuonCondAlgConfig.RpcCondDbAlgCfg (   flags,
**  kwargs 
)

Definition at line 78 of file MuonCondAlgConfig.py.

78 def RpcCondDbAlgCfg(flags, **kwargs):
79  result = ComponentAccumulator()
80  if flags.Common.isOnline:
81  return result
82 
83  kwargs['isData'] = not flags.Input.isMC
84  alg = CompFactory.RpcCondDbAlg(**kwargs)
85 
86  result.merge( addFolders(flags, ["/RPC/DQMF/ELEMENT_STATUS"], detDb="RPC_OFL", className='CondAttrListCollection') )
87  result.addCondAlgo(alg)
88  return result
89 

◆ sTgcDigitEffiCondAlgCfg()

def python.MuonCondAlgConfig.sTgcDigitEffiCondAlgCfg (   flags,
**  kwargs 
)

Definition at line 391 of file MuonCondAlgConfig.py.

391 def sTgcDigitEffiCondAlgCfg(flags, **kwargs):
392  acc = ComponentAccumulator()
393  if not flags.Input.isMC: return acc
394 
395  if (kwargs["readFromJSON"]):
396  kwargs["ReadKey"] = ""
397  else:
398  kwargs.setdefault("ReadKey","/TGC/NSW/EFFMAP")
399  acc.merge(addFolders(flags, kwargs["ReadKey"]),"TGC_OFL", className="CondAttrListCollection",tag="sTGCEffMap_2024DataTillEndOfJuly")
400 
401  alg = CompFactory.sTgcDigitEffiCondAlg("sTgcDigitEffiCondAlg", **kwargs)
402  acc.addCondAlgo(alg)
403  return acc

◆ TgcCondDbAlgCfg()

def python.MuonCondAlgConfig.TgcCondDbAlgCfg (   flags,
  name = "TgcCondDbAlg",
**  kwargs 
)

Definition at line 127 of file MuonCondAlgConfig.py.

127 def TgcCondDbAlgCfg(flags,name="TgcCondDbAlg", **kwargs):
128  result = ComponentAccumulator()
129 
130  the_alg = CompFactory.TgcCondDbAlg(name = name, **kwargs)
131  result.addCondAlgo(the_alg, primary = True)
132  return result
133 

◆ TgcDigitASDposCondAlgCfg()

def python.MuonCondAlgConfig.TgcDigitASDposCondAlgCfg (   flags,
  name = "TgcDigitASDposCondAlg",
**  kwargs 
)

Definition at line 147 of file MuonCondAlgConfig.py.

147 def TgcDigitASDposCondAlgCfg(flags, name="TgcDigitASDposCondAlg", **kwargs):
148  result = ComponentAccumulator()
149  result.merge(addFolders(flags, ["/TGC/DIGIT/ASDPOS"], detDb="TGC_OFL", db="OFLP200", className="CondAttrListCollection"))
150  the_alg = CompFactory.TgcDigitASDposCondAlg(name = name, **kwargs)
151  result.addCondAlgo(the_alg, primary = True)
152  return result
153 

◆ TgcDigitCondAlgCfg()

def python.MuonCondAlgConfig.TgcDigitCondAlgCfg (   flags)

Definition at line 168 of file MuonCondAlgConfig.py.

168 def TgcDigitCondAlgCfg(flags):
169  result = ComponentAccumulator()
170  result.merge(TgcDigitASDposCondAlgCfg(flags))
171  result.merge(TgcDigitTimeOffsetCondAlgCfg(flags))
172  result.merge(TgcDigitCrosstalkCondAlgCfg(flags))
173  return result
174  result.merge(TgcCondDbAlgCfg(flags))
175  result.merge(TgcEnergyThresholdCondAlgCfg(flags))
176  result.merge(TgcDigitJitterCondAlgCfg(flags))
177  return result
178 
179 
180 @AccumulatorCache

◆ TgcDigitCrosstalkCondAlgCfg()

def python.MuonCondAlgConfig.TgcDigitCrosstalkCondAlgCfg (   flags,
  name = "TgcDigitCrosstalkCondAlg",
**  kwargs 
)

Definition at line 161 of file MuonCondAlgConfig.py.

161 def TgcDigitCrosstalkCondAlgCfg(flags, name = "TgcDigitCrosstalkCondAlg", **kwargs):
162  result = ComponentAccumulator()
163  result.merge(addFolders(flags, ["/TGC/DIGIT/XTALK"], detDb="TGC_OFL", db="OFLP200", className="CondAttrListCollection"))
164  the_alg = CompFactory.TgcDigitCrosstalkCondAlg(name = name, **kwargs)
165  result.addCondAlgo(the_alg, primary = True)
166  return result
167 

◆ TgcDigitJitterCondAlgCfg()

def python.MuonCondAlgConfig.TgcDigitJitterCondAlgCfg (   flags,
  name = "TgcDigitJitterCondAlg",
**  kwargs 
)

Definition at line 141 of file MuonCondAlgConfig.py.

141 def TgcDigitJitterCondAlgCfg(flags, name = "TgcDigitJitterCondAlg", **kwargs):
142  result = ComponentAccumulator()
143  the_alg = CompFactory.TgcDigitJitterCondAlg(name = name, **kwargs)
144  result.addCondAlgo(the_alg, primary = True)
145  return result
146 

◆ TgcDigitTimeOffsetCondAlgCfg()

def python.MuonCondAlgConfig.TgcDigitTimeOffsetCondAlgCfg (   flags,
  name = "TgcDigitTimeOffsetCondAlg",
**  kwargs 
)

Definition at line 154 of file MuonCondAlgConfig.py.

154 def TgcDigitTimeOffsetCondAlgCfg(flags, name = "TgcDigitTimeOffsetCondAlg", **kwargs):
155  result = ComponentAccumulator()
156  result.merge(addFolders(flags, ["/TGC/DIGIT/TOFFSET"], detDb="TGC_OFL", db="OFLP200", className="CondAttrListCollection"))
157  the_alg = CompFactory.TgcDigitTimeOffsetCondAlg(name = name, **kwargs)
158  result.addCondAlgo(the_alg, primary = True)
159  return result
160 

◆ TgcEnergyThresholdCondAlgCfg()

def python.MuonCondAlgConfig.TgcEnergyThresholdCondAlgCfg (   flags,
  name = "TgcEnergyThresholdCondAlg",
**  kwargs 
)

Definition at line 134 of file MuonCondAlgConfig.py.

134 def TgcEnergyThresholdCondAlgCfg(flags, name = "TgcEnergyThresholdCondAlg", **kwargs):
135  result = ComponentAccumulator()
136 
137  the_alg = CompFactory.TgcDigitEnergyThreshCondAlg(name= name, **kwargs)
138  result.addCondAlgo(the_alg, primary = True)
139  return result
140 
python.MuonCondAlgConfig.MuonStationIntersectCondAlgCfg
def MuonStationIntersectCondAlgCfg(flags, name='MuonStationIntersectCondAlg', **kwargs)
Definition: MuonCondAlgConfig.py:337
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.MuonCondAlgConfig.TgcDigitCrosstalkCondAlgCfg
def TgcDigitCrosstalkCondAlgCfg(flags, name="TgcDigitCrosstalkCondAlg", **kwargs)
Definition: MuonCondAlgConfig.py:161
python.MuonCondAlgConfig.TgcDigitASDposCondAlgCfg
def TgcDigitASDposCondAlgCfg(flags, name="TgcDigitASDposCondAlg", **kwargs)
Definition: MuonCondAlgConfig.py:147
python.MuonCondAlgConfig.RpcCondDbAlgCfg
def RpcCondDbAlgCfg(flags, **kwargs)
Definition: MuonCondAlgConfig.py:78
python.MuonCondAlgConfig.sTgcDigitEffiCondAlgCfg
def sTgcDigitEffiCondAlgCfg(flags, **kwargs)
Definition: MuonCondAlgConfig.py:391
python.MuonCondAlgConfig.CscCondDbAlgCfg
def CscCondDbAlgCfg(flags, **kwargs)
Definition: MuonCondAlgConfig.py:90
python.MuonCondAlgConfig.TgcDigitCondAlgCfg
def TgcDigitCondAlgCfg(flags)
Definition: MuonCondAlgConfig.py:168
python.MuonCondAlgConfig.MdtCondDbAlgCfg
def MdtCondDbAlgCfg(flags, **kwargs)
Definition: MuonCondAlgConfig.py:13
python.MuonCondAlgConfig.TgcEnergyThresholdCondAlgCfg
def TgcEnergyThresholdCondAlgCfg(flags, name="TgcEnergyThresholdCondAlg", **kwargs)
Definition: MuonCondAlgConfig.py:134
python.MuonCondAlgConfig.NswPassivationDbAlgCfg
def NswPassivationDbAlgCfg(flags, **kwargs)
Definition: MuonCondAlgConfig.py:326
python.MuonCondAlgConfig.TgcCondDbAlgCfg
def TgcCondDbAlgCfg(flags, name="TgcCondDbAlg", **kwargs)
Definition: MuonCondAlgConfig.py:127
python.MuonCondAlgConfig.MmDigitEffiCondAlgCfg
def MmDigitEffiCondAlgCfg(flags, **kwargs)
Definition: MuonCondAlgConfig.py:377
python.IOVDbSvcConfig.addFolders
def addFolders(flags, folderStrings, detDb=None, className=None, extensible=False, tag=None, db=None, modifiers='')
Definition: IOVDbSvcConfig.py:72
python.MuonCondAlgConfig.NswCalibDbAlgCfg
def NswCalibDbAlgCfg(flags, **kwargs)
Definition: MuonCondAlgConfig.py:181
python.MuonCondAlgConfig.NswDcsDbAlgCfg
def NswDcsDbAlgCfg(flags, **kwargs)
Definition: MuonCondAlgConfig.py:346
python.MuonCondAlgConfig.TgcDigitJitterCondAlgCfg
def TgcDigitJitterCondAlgCfg(flags, name="TgcDigitJitterCondAlg", **kwargs)
Definition: MuonCondAlgConfig.py:141
python.MuonCondAlgConfig.TgcDigitTimeOffsetCondAlgCfg
def TgcDigitTimeOffsetCondAlgCfg(flags, name="TgcDigitTimeOffsetCondAlg", **kwargs)
Definition: MuonCondAlgConfig.py:154
if
if(febId1==febId2)
Definition: LArRodBlockPhysicsV0.cxx:567