def aging::ageEcal | ( | process, | |
lumi | |||
) |
Definition at line 33 of file aging.py.
00034 : 00035 00036 instLumi=1.0e34 00037 if lumi>=1000: 00038 instLumi=5.0e34 00039 00040 if hasattr(process,'g4SimHits'): 00041 #these lines need to be further activiated by tuning on 'complete' aging for ecal 00042 process.g4SimHits.ECalSD.InstLuminosity = cms.double(instLumi) 00043 process.g4SimHits.ECalSD.DelivLuminosity = cms.double(float(lumi)) 00044 return process
def aging::ageHcal | ( | process, | |
lumi | |||
) |
Definition at line 20 of file aging.py.
00021 : 00022 00023 instLumi=1.0e34 00024 if lumi>=1000: 00025 instLumi=5.0e34 00026 00027 if hasattr(process,'g4SimHits'): 00028 process.g4SimHits.HCalSD.InstLuminosity = cms.double(float(instLumi)) 00029 process.g4SimHits.HCalSD.DelivLuminosity = cms.double(float(lumi)) # integrated lumi in fb-1 00030 process.g4SimHits.HCalSD.HEDarkening = cms.bool(True) 00031 process.g4SimHits.HCalSD.HFDarkening = cms.bool(True) 00032 return process
def aging::agePixel | ( | process, | |
lumi | |||
) |
Definition at line 3 of file aging.py.
00004 : 00005 prd=1.0 00006 if lumi==300: 00007 prd=1.0 00008 if lumi==500: 00009 prd=1.5 00010 if lumi==1000: 00011 prd=0. 00012 if lumi==3000: 00013 prd=0. #no aging yet 00014 00015 # danger - watch for someone turning off pixel aging - if off - leave off 00016 if hasattr(process,'mix') and not hasattr(process.mix.digitizers.pixel,'NoAging'): 00017 process.mix.digitizers.pixel.PseudoRadDamage = cms.double(float(prd*7.65)) 00018 process.mix.digitizers.pixel.PseudoRadDamageRadius = cms.double(16.5) 00019 return process
def aging::customise_aging_1000 | ( | process | ) |
def aging::customise_aging_300 | ( | process | ) |
def aging::customise_aging_3000 | ( | process | ) |
def aging::customise_aging_500 | ( | process | ) |
def aging::customise_aging_ecalonly_1000 | ( | process | ) |
def aging::customise_aging_ecalonly_300 | ( | process | ) |
def aging::customise_aging_ecalonly_3000 | ( | process | ) |
def aging::customise_aging_newpixel_1000 | ( | process | ) |
def aging::customise_aging_newpixel_3000 | ( | process | ) |
def aging::ecal_complete_aging | ( | process | ) |
def aging::ecal_complete_aging_1000 | ( | process | ) |
Definition at line 210 of file aging.py.
00211 : 00212 process=ecal_complete_aging(process) 00213 00214 if not hasattr(process.GlobalTag,'toGet'): 00215 process.GLobalTag.toGet=cms.VPSet() 00216 process.GlobalTag.toGet.extend( cms.VPSet( 00217 cms.PSet(record = cms.string("EcalPedestalsRcd"), 00218 tag = cms.string("EcalPedestals_TL1000_IL5E34_mc"), 00219 connect = cms.untracked.string("frontier://FrontierPrep/CMS_COND_ECAL") 00220 ), 00221 ## laser D 00222 cms.PSet(record = cms.string("EcalLaserAPDPNRatiosRcd"), 00223 tag = cms.string("EcalLaserAPDPNRatios_TL1000_IL5E34_v2_mc"), 00224 connect = cms.untracked.string("frontier://FrontierPrep/CMS_COND_ECAL") 00225 ), 00226 ## L1 trigger 00227 cms.PSet(record = cms.string("EcalTPGLinearizationConstRcd"), 00228 tag = cms.string("EcalTPGLinearizationConst_TL1000_IL5E34_v2_mc"), 00229 connect = cms.untracked.string("frontier://FrontierPrep/CMS_COND_ECAL") 00230 ), 00231 cms.PSet(record = cms.string('EcalLaserAlphasRcd'), 00232 tag = cms.string('EcalLaserAlphas_EB_sic1_btcp1_EE_sic1_btcp1'), 00233 connect = cms.untracked.string('frontier://FrontierPrep/CMS_COND_ECAL') 00234 ), 00235 #VPT aging 00236 cms.PSet(record = cms.string('EcalLinearCorrectionsRcd'), 00237 tag = cms.string('EcalLinearCorrections_mc'), 00238 connect = cms.untracked.string('frontier://FrontierPrep/CMS_COND_ECAL') 00239 ) 00240 ) 00241 ) 00242 return process 00243
def aging::ecal_complete_aging_300 | ( | process | ) |
Definition at line 176 of file aging.py.
00177 : 00178 process=ecal_complete_aging(process) 00179 00180 if not hasattr(process.GlobalTag,'toGet'): 00181 process.GLobalTag.toGet=cms.VPSet() 00182 process.GlobalTag.toGet.extend( cms.VPSet( 00183 cms.PSet(record = cms.string("EcalPedestalsRcd"), 00184 tag = cms.string("EcalPedestals_TL300_IL1E34_mc"), 00185 connect = cms.untracked.string("frontier://FrontierPrep/CMS_COND_ECAL") 00186 ), 00187 ## laser D 00188 cms.PSet(record = cms.string("EcalLaserAPDPNRatiosRcd"), 00189 tag = cms.string("EcalLaserAPDPNRatios_TL300_IL1E34_v2_mc"), 00190 connect = cms.untracked.string("frontier://FrontierPrep/CMS_COND_ECAL") 00191 ), 00192 ## L1 trigger 00193 cms.PSet(record = cms.string("EcalTPGLinearizationConstRcd"), 00194 tag = cms.string("EcalTPGLinearizationConst_TL300_IL1E34_v2_mc"), 00195 connect = cms.untracked.string("frontier://FrontierPrep/CMS_COND_ECAL") 00196 ), 00197 cms.PSet(record = cms.string('EcalLaserAlphasRcd'), 00198 tag = cms.string('EcalLaserAlphas_EB_sic1_btcp1_EE_sic1_btcp1'), 00199 connect = cms.untracked.string('frontier://FrontierPrep/CMS_COND_ECAL') 00200 ), 00201 #VPT aging 00202 cms.PSet(record = cms.string('EcalLinearCorrectionsRcd'), 00203 tag = cms.string('EcalLinearCorrections_mc'), 00204 connect = cms.untracked.string('frontier://FrontierPrep/CMS_COND_ECAL') 00205 ) 00206 ) 00207 ) 00208 return process 00209
def aging::ecal_complete_aging_3000 | ( | process | ) |
Definition at line 244 of file aging.py.
00245 : 00246 process=ecal_complete_aging(process) 00247 00248 if not hasattr(process.GlobalTag,'toGet'): 00249 process.GLobalTag.toGet=cms.VPSet() 00250 process.GlobalTag.toGet.extend( cms.VPSet( 00251 cms.PSet(record = cms.string("EcalPedestalsRcd"), 00252 tag = cms.string("EcalPedestals_TL3000_IL5E34_mc"), 00253 connect = cms.untracked.string("frontier://FrontierPrep/CMS_COND_ECAL") 00254 ), 00255 ## laser D 00256 cms.PSet(record = cms.string("EcalLaserAPDPNRatiosRcd"), 00257 tag = cms.string("EcalLaserAPDPNRatios_TL3000_IL5E34_v2_mc"), 00258 connect = cms.untracked.string("frontier://FrontierPrep/CMS_COND_ECAL") 00259 ), 00260 ## L1 trigger 00261 cms.PSet(record = cms.string("EcalTPGLinearizationConstRcd"), 00262 tag = cms.string("EcalTPGLinearizationConst_TL3000_IL5E34_v2_mc"), 00263 connect = cms.untracked.string("frontier://FrontierPrep/CMS_COND_ECAL") 00264 ), 00265 cms.PSet(record = cms.string('EcalLaserAlphasRcd'), 00266 tag = cms.string('EcalLaserAlphas_EB_sic1_btcp1_EE_sic1_btcp1'), 00267 connect = cms.untracked.string('frontier://FrontierPrep/CMS_COND_ECAL') 00268 ), 00269 #VPT aging 00270 cms.PSet(record = cms.string('EcalLinearCorrectionsRcd'), 00271 tag = cms.string('EcalLinearCorrections_mc'), 00272 connect = cms.untracked.string('frontier://FrontierPrep/CMS_COND_ECAL') 00273 ) 00274 ) 00275 ) 00276 00277 return process 00278
def aging::reco_aging_hcal_stdgeom | ( | process | ) |
Definition at line 135 of file aging.py.
00136 : 00137 process.load("CalibCalorimetry/HcalPlugins/Hcal_Conditions_forGlobalTag_cff") 00138 00139 process.es_hardcode.HcalReLabel.RelabelHits = cms.untracked.bool(True) 00140 process.es_hardcode.HcalReLabel.RelabelRules.Eta1 = cms.untracked.vint32(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1) 00141 process.es_hardcode.HcalReLabel.RelabelRules.Eta16 = cms.untracked.vint32(1,1,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3) 00142 process.es_hardcode.HcalReLabel.RelabelRules.Eta17 = cms.untracked.vint32(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1) 00143 process.es_hardcode.HcalReLabel.RelabelRules.Eta18 = cms.untracked.vint32(1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2) 00144 process.es_hardcode.HcalReLabel.RelabelRules.Eta19 = cms.untracked.vint32(1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2) 00145 process.es_hardcode.HcalReLabel.RelabelRules.Eta27 = cms.untracked.vint32(1,1,1,1,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3) 00146 00147 process.es_hardcode.toGet = cms.untracked.vstring( 00148 'GainWidths', 00149 'RespCorrs' 00150 ) 00151 process.es_hardcode.HERecalibration = cms.bool(True) 00152 process.es_hardcode.HFRecalibration = cms.bool(True) 00153 00154 return process
def aging::reco_aging_hcal_stdgeom_1000 | ( | process | ) |
def aging::reco_aging_hcal_stdgeom_300 | ( | process | ) |
def aging::reco_aging_hcal_stdgeom_3000 | ( | process | ) |
def aging::reco_aging_hcal_stdgeom_500 | ( | process | ) |
def aging::turn_off_HE_aging | ( | process | ) |
def aging::turn_off_HF_aging | ( | process | ) |
def aging::turn_off_Pixel_aging | ( | process | ) |
def aging::turn_on_Pixel_aging_1000 | ( | process | ) |