CMS 3D CMS Logo

Functions
autoCondModifiers Namespace Reference

Functions

def autoCond0T (autoCond)
 
def autoCondHLTHI (autoCond)
 

Function Documentation

◆ autoCond0T()

def autoCondModifiers.autoCond0T (   autoCond)

Definition at line 8 of file autoCondModifiers.py.

8 def autoCond0T(autoCond):
9 
10  ConditionsFor0T = ','.join( ['RunInfo_0T_v1_mc', "RunInfoRcd", connectionString, "", "2020-07-01 12:00:00.000"] )
11  GlobalTags0T = {}
12  for key,val in autoCond.items():
13  if "phase" in key: # restrict to phase1 upgrade GTs
14  GlobalTags0T[key+"_0T"] = (autoCond[key], ConditionsFor0T)
15 
16  autoCond.update(GlobalTags0T)
17  return autoCond
18 

References join().

◆ autoCondHLTHI()

def autoCondModifiers.autoCondHLTHI (   autoCond)

Definition at line 19 of file autoCondModifiers.py.

19 def autoCondHLTHI(autoCond):
20 
21  GlobalTagsHLTHI = {}
22 
23  # emulate hybrid ZeroSuppression on the VirginRaw data of 2015
24  FullPedestalsForHLTHI = ','.join( ['SiStripFullPedestals_GR10_v1_hlt', "SiStripPedestalsRcd", connectionString, "", "2021-03-11 12:00:00.000"] )
25  MenuForHLTHI = ','.join( ['L1Menu_CollisionsHeavyIons2015_v5_uGT_xml', "L1TUtmTriggerMenuRcd", connectionString, "", "2021-03-11 12:00:00.000"] )
26 
27  for key,val in autoCond.items():
28  if key == 'run2_hlt_relval': # modification of HLT relval GT
29  GlobalTagsHLTHI['run2_hlt_hi'] = (autoCond[key], FullPedestalsForHLTHI, MenuForHLTHI)
30 
31  autoCond.update(GlobalTagsHLTHI)
32  return autoCond

References join().

join
static std::string join(char **cmd)
Definition: RemoteFile.cc:17
autoCondModifiers.autoCondHLTHI
def autoCondHLTHI(autoCond)
Definition: autoCondModifiers.py:19
autoCondModifiers.autoCond0T
def autoCond0T(autoCond)
Definition: autoCondModifiers.py:8