CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Functions
autoCondModifiers Namespace Reference

Functions

def autoCond0T (autoCond)
 
def autoCond2017ppRef5TeV (autoCond)
 
def autoCondDDD (autoCond)
 
def autoCondHLTHI (autoCond)
 
def autoCondRelValForRun2 (autoCond)
 
def autoCondRelValForRun3 (autoCond)
 

Function Documentation

◆ autoCond0T()

def autoCondModifiers.autoCond0T (   autoCond)

Definition at line 8 of file autoCondModifiers.py.

References join().

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 
def autoCond0T(autoCond)
static std::string join(char **cmd)
Definition: RemoteFile.cc:19

◆ autoCond2017ppRef5TeV()

def autoCondModifiers.autoCond2017ppRef5TeV (   autoCond)

Definition at line 77 of file autoCondModifiers.py.

References join().

77 def autoCond2017ppRef5TeV(autoCond):
78 
79  GlobalTag2017ppRef5TeV = {}
80  # substitute tags needed for 2017 ppRef 5 TeV GT
81  BeamSpotObjects_2017ppRef5TeV = ','.join( ['BeamSpotObjects_pp_2017G_MC_2021sample_for_UL' , "BeamSpotObjectsRcd", connectionString, "", "2021-10-28 12:00:00.000"] )
82  EcalLaserAPDPNRatios_2017ppRef5TeV = ','.join( ['EcalLaserAPDPNRatios_mc_Run2017G_306580' , "EcalLaserAPDPNRatiosRcd", connectionString, "", "2021-10-28 12:00:00.000"] )
83  EcalPedestals_2017ppRef5TeV = ','.join( ['EcalPedestals_Run2017G_306580' , "EcalPedestalsRcd", connectionString, "", "2021-10-28 12:00:00.000"] )
84  EcalTPGLinearizationConst_2017ppRef5TeV = ','.join( ['EcalTPGLinearizationConst_Run2017G_306580' , "EcalTPGLinearizationConstRcd", connectionString, "", "2021-10-28 12:00:00.000"] )
85  EcalTPGPedestals_2017ppRef5TeV = ','.join( ['EcalTPGPedestals_Run2017G_306580' , "EcalTPGPedestalsRcd", connectionString, "", "2021-10-28 12:00:00.000"] )
86  L1Menu_2017ppRef5TeV = ','.join( ['L1Menu_pp502Collisions2017_v4_m6_xml' , "L1TUtmTriggerMenuRcd", connectionString, "", "2021-10-28 12:00:00.000"] )
87 
88  for key,val in autoCond.items():
89  if 'phase1_2017_realistic' in key:
90  GlobalTag2017ppRef5TeV[key+'_ppref'] = (autoCond[key],
91  BeamSpotObjects_2017ppRef5TeV,
92  EcalLaserAPDPNRatios_2017ppRef5TeV,
93  EcalPedestals_2017ppRef5TeV,
94  EcalTPGLinearizationConst_2017ppRef5TeV,
95  EcalTPGPedestals_2017ppRef5TeV,
96  L1Menu_2017ppRef5TeV)
97  autoCond.update(GlobalTag2017ppRef5TeV)
98  return autoCond
99 
static std::string join(char **cmd)
Definition: RemoteFile.cc:19
def autoCond2017ppRef5TeV(autoCond)

◆ autoCondDDD()

def autoCondModifiers.autoCondDDD (   autoCond)

Definition at line 34 of file autoCondModifiers.py.

References join().

34 def autoCondDDD(autoCond):
35 
36  GlobalTagsDDD = {}
37  # substitute the DD4hep geometry tags with DDD ones
38  CSCRECODIGI_Geometry_ddd = ','.join( ['CSCRECODIGI_Geometry_112YV2' , "CSCRecoDigiParametersRcd" , connectionString, "" , "2021-09-28 12:00:00.000"] )
39  CSCRECO_Geometry_ddd = ','.join( ['CSCRECO_Geometry_112YV2' , "CSCRecoGeometryRcd" , connectionString, "" , "2021-09-28 12:00:00.000"] )
40  DTRECO_Geometry_ddd = ','.join( ['DTRECO_Geometry_112YV2' , "DTRecoGeometryRcd" , connectionString, "" , "2021-09-28 12:00:00.000"] )
41  GEMRECO_Geometry_ddd = ','.join( ['GEMRECO_Geometry_123YV2' , "GEMRecoGeometryRcd" , connectionString, "" , "2022-02-02 12:00:00.000"] )
42  XMLFILE_Geometry_ddd = ','.join( ['XMLFILE_Geometry_123YV1_Extended2021_mc', "GeometryFileRcd" , connectionString, "Extended", "2022-01-21 12:00:00.000"] )
43  HCALParameters_Geometry_ddd = ','.join( ['HCALParameters_Geometry_112YV2' , "HcalParametersRcd" , connectionString, "" , "2021-09-28 12:00:00.000"] )
44  TKRECO_Geometry_ddd = ','.join( ['TKRECO_Geometry_120YV2' , "IdealGeometryRecord" , connectionString, "" , "2021-09-28 12:00:00.000"] )
45  CTRECO_Geometry_ddd = ','.join( ['CTRECO_Geometry_112YV2' , "PCaloTowerRcd" , connectionString, "" , "2021-09-28 12:00:00.000"] )
46  EBRECO_Geometry_ddd = ','.join( ['EBRECO_Geometry_112YV2' , "PEcalBarrelRcd" , connectionString, "" , "2021-09-28 12:00:00.000"] )
47  EERECO_Geometry_ddd = ','.join( ['EERECO_Geometry_112YV2' , "PEcalEndcapRcd" , connectionString, "" , "2021-09-28 12:00:00.000"] )
48  EPRECO_Geometry_ddd = ','.join( ['EPRECO_Geometry_112YV2' , "PEcalPreshowerRcd" , connectionString, "" , "2021-09-28 12:00:00.000"] )
49  HCALRECO_Geometry_ddd = ','.join( ['HCALRECO_Geometry_112YV2' , "PHcalRcd" , connectionString, "" , "2021-09-28 12:00:00.000"] )
50  TKParameters_Geometry_ddd = ','.join( ['TKParameters_Geometry_112YV2' , "PTrackerParametersRcd" , connectionString, "" , "2021-09-28 12:00:00.000"] )
51  ZDCRECO_Geometry_ddd = ','.join( ['ZDCRECO_Geometry_112YV2' , "PZdcRcd" , connectionString, "" , "2021-09-28 12:00:00.000"] )
52  RPCRECO_Geometry_ddd = ','.join( ['RPCRECO_Geometry_123YV1' , "RPCRecoGeometryRcd" , connectionString, "" , "2022-01-21 12:00:00.000"] )
53  PPSRECO_Geometry_ddd = ','.join( ['PPSRECO_Geometry_121YV2_2021_mc' , "VeryForwardIdealGeometryRecord", connectionString, "" , "2021-12-02 12:00:00.000"] )
54 
55  for key,val in autoCond.items():
56  if 'phase1_202' in key: # modification of the DDD relval GT
57  GlobalTagsDDD[key+'_ddd'] = (autoCond[key],
58  CSCRECODIGI_Geometry_ddd,
59  CSCRECO_Geometry_ddd,
60  DTRECO_Geometry_ddd,
61  GEMRECO_Geometry_ddd,
62  XMLFILE_Geometry_ddd,
63  HCALParameters_Geometry_ddd,
64  TKRECO_Geometry_ddd,
65  CTRECO_Geometry_ddd,
66  EBRECO_Geometry_ddd,
67  EERECO_Geometry_ddd,
68  EPRECO_Geometry_ddd,
69  HCALRECO_Geometry_ddd,
70  TKParameters_Geometry_ddd,
71  ZDCRECO_Geometry_ddd,
72  RPCRECO_Geometry_ddd,
73  PPSRECO_Geometry_ddd)
74  autoCond.update(GlobalTagsDDD)
75  return autoCond
76 
def autoCondDDD(autoCond)
static std::string join(char **cmd)
Definition: RemoteFile.cc:19

◆ autoCondHLTHI()

def autoCondModifiers.autoCondHLTHI (   autoCond)

Definition at line 19 of file autoCondModifiers.py.

References join().

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
33 
static std::string join(char **cmd)
Definition: RemoteFile.cc:19
def autoCondHLTHI(autoCond)

◆ autoCondRelValForRun2()

def autoCondModifiers.autoCondRelValForRun2 (   autoCond)

Definition at line 100 of file autoCondModifiers.py.

References join().

100 def autoCondRelValForRun2(autoCond):
101 
102  GlobalTagRelValForRun2 = {}
103  L1GtTriggerMenuForRelValForRun2 = ','.join( ['L1Menu_Collisions2015_25nsStage1_v5' , "L1GtTriggerMenuRcd", connectionString, "", "2023-01-28 12:00:00.000"] )
104  L1TUtmTriggerMenuForRelValForRun2 = ','.join( ['L1Menu_Collisions2018_v2_1_0-d1_xml' , "L1TUtmTriggerMenuRcd", connectionString, "", "2023-01-28 12:00:00.000"] )
105 
106  for key,val in autoCond.items():
107  if 'run2_data' in key or 'run2_hlt' in key:
108  GlobalTagRelValForRun2[key+'_relval'] = (autoCond[key],
109  L1GtTriggerMenuForRelValForRun2,
110  L1TUtmTriggerMenuForRelValForRun2)
111  autoCond.update(GlobalTagRelValForRun2)
112  return autoCond
113 
def autoCondRelValForRun2(autoCond)
static std::string join(char **cmd)
Definition: RemoteFile.cc:19

◆ autoCondRelValForRun3()

def autoCondModifiers.autoCondRelValForRun3 (   autoCond)

Definition at line 114 of file autoCondModifiers.py.

References join().

114 def autoCondRelValForRun3(autoCond):
115 
116  GlobalTagRelValForRun3 = {}
117  L1GtTriggerMenuForRelValForRun3 = ','.join( ['L1Menu_Collisions2015_25nsStage1_v5' , "L1GtTriggerMenuRcd", connectionString, "", "2023-01-28 12:00:00.000"] )
118  L1TUtmTriggerMenuForRelValForRun3 = ','.join( ['L1Menu_Collisions2023_v1_2_0_xml' , "L1TUtmTriggerMenuRcd", connectionString, "", "2023-06-13 14:12:00.000"] )
119 
120  for key,val in autoCond.items():
121  if 'run3_data' in key or 'run3_hlt' in key :
122  GlobalTagRelValForRun3[key+'_relval'] = (autoCond[key],
123  L1GtTriggerMenuForRelValForRun3,
124  L1TUtmTriggerMenuForRelValForRun3)
125  autoCond.update(GlobalTagRelValForRun3)
126  return autoCond
127 
128 
def autoCondRelValForRun3(autoCond)
static std::string join(char **cmd)
Definition: RemoteFile.cc:19