def aging::ageEcal | ( | process, | |
lumi | |||
) |
Definition at line 42 of file aging.py.
00043 : 00044 00045 instLumi=1.0e34 00046 if lumi>=1000: 00047 instLumi=5.0e34 00048 00049 if hasattr(process,'g4SimHits'): 00050 #these lines need to be further activiated by tuning on 'complete' aging for ecal 00051 process.g4SimHits.ECalSD.InstLuminosity = cms.double(instLumi) 00052 process.g4SimHits.ECalSD.DelivLuminosity = cms.double(float(lumi)) 00053 return process
def aging::ageHcal | ( | process, | |
lumi | |||
) |
Definition at line 18 of file aging.py.
00019 : 00020 00021 instLumi=1.0e34 00022 if lumi>=1000: 00023 instLumi=5.0e34 00024 00025 if hasattr(process,'mix') and hasattr(process.mix,'digitizers') and hasattr(process.mix.digitizers,'hcal'): 00026 process.mix.digitizers.hcal.DelivLuminosity = cms.double(float(lumi)) # integrated lumi in fb-1 00027 process.mix.digitizers.hcal.HEDarkening = cms.bool(True) 00028 process.mix.digitizers.hcal.HFDarkening = cms.bool(True) 00029 00030 #these lines need to be further activated by tuning on 'complete' aging for HF 00031 if hasattr(process,'g4SimHits'): 00032 process.g4SimHits.HCalSD.InstLuminosity = cms.double(float(instLumi)) 00033 process.g4SimHits.HCalSD.DelivLuminosity = cms.double(float(lumi)) 00034 00035 #recalibration and darkening always together 00036 if hasattr(process,'es_hardcode'): 00037 process.es_hardcode.HERecalibration = cms.bool(True) 00038 process.es_hardcode.HFRecalibration = cms.bool(True) 00039 process.es_hardcode.iLumi = cms.double(float(lumi)) 00040 00041 return process
def aging::agePixel | ( | process, | |
lumi | |||
) |
Definition at line 3 of file aging.py.
00004 : 00005 prd=1.0 00006 if lumi>299: 00007 prd=1.0 00008 if lumi>499: 00009 prd=1.5 00010 if lumi>999: 00011 prd=0. 00012 00013 # danger - watch for someone turning off pixel aging - if off - leave off 00014 if hasattr(process,'mix') and hasattr(process.mix,'digitizers') and hasattr(process.mix.digitizers,'pixel') and not hasattr(process.mix.digitizers.pixel,'NoAging'): 00015 process.mix.digitizers.pixel.PseudoRadDamage = cms.double(float(prd*7.65)) 00016 process.mix.digitizers.pixel.PseudoRadDamageRadius = cms.double(16.5) 00017 return process
def aging::customise_aging_100 | ( | process | ) |
def aging::customise_aging_1000 | ( | process | ) |
def aging::customise_aging_200 | ( | process | ) |
def aging::customise_aging_300 | ( | process | ) |
def aging::customise_aging_3000 | ( | process | ) |
def aging::customise_aging_400 | ( | process | ) |
def aging::customise_aging_500 | ( | process | ) |
def aging::customise_aging_600 | ( | process | ) |
def aging::customise_aging_700 | ( | 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 225 of file aging.py.
00226 : 00227 process=ecal_complete_aging(process) 00228 00229 if not hasattr(process.GlobalTag,'toGet'): 00230 process.GlobalTag.toGet=cms.VPSet() 00231 process.GlobalTag.toGet.extend( cms.VPSet( 00232 cms.PSet(record = cms.string("EcalPedestalsRcd"), 00233 tag = cms.string("EcalPedestals_TL1000_IL5E34_mc"), 00234 connect = cms.untracked.string("frontier://FrontierPrep/CMS_COND_ECAL") 00235 ), 00236 ## laser D 00237 cms.PSet(record = cms.string("EcalLaserAPDPNRatiosRcd"), 00238 tag = cms.string("EcalLaserAPDPNRatios_TL1000_IL5E34_v2_mc"), 00239 connect = cms.untracked.string("frontier://FrontierPrep/CMS_COND_ECAL") 00240 ), 00241 ## L1 trigger 00242 cms.PSet(record = cms.string("EcalTPGLinearizationConstRcd"), 00243 tag = cms.string("EcalTPGLinearizationConst_TL1000_IL5E34_v2_mc"), 00244 connect = cms.untracked.string("frontier://FrontierPrep/CMS_COND_ECAL") 00245 ), 00246 cms.PSet(record = cms.string('EcalLaserAlphasRcd'), 00247 tag = cms.string('EcalLaserAlphas_EB_sic1_btcp1_EE_sic1_btcp1'), 00248 connect = cms.untracked.string('frontier://FrontierPrep/CMS_COND_ECAL') 00249 ), 00250 #VPT aging 00251 cms.PSet(record = cms.string('EcalLinearCorrectionsRcd'), 00252 tag = cms.string('EcalLinearCorrections_mc'), 00253 connect = cms.untracked.string('frontier://FrontierPrep/CMS_COND_ECAL') 00254 ) 00255 ) 00256 ) 00257 return process 00258
def aging::ecal_complete_aging_300 | ( | process | ) |
Definition at line 191 of file aging.py.
00192 : 00193 process=ecal_complete_aging(process) 00194 00195 if not hasattr(process.GlobalTag,'toGet'): 00196 process.GlobalTag.toGet=cms.VPSet() 00197 process.GlobalTag.toGet.extend( cms.VPSet( 00198 cms.PSet(record = cms.string("EcalPedestalsRcd"), 00199 tag = cms.string("EcalPedestals_TL300_IL1E34_mc"), 00200 connect = cms.untracked.string("frontier://FrontierPrep/CMS_COND_ECAL") 00201 ), 00202 ## laser D 00203 cms.PSet(record = cms.string("EcalLaserAPDPNRatiosRcd"), 00204 tag = cms.string("EcalLaserAPDPNRatios_TL300_IL1E34_v2_mc"), 00205 connect = cms.untracked.string("frontier://FrontierPrep/CMS_COND_ECAL") 00206 ), 00207 ## L1 trigger 00208 cms.PSet(record = cms.string("EcalTPGLinearizationConstRcd"), 00209 tag = cms.string("EcalTPGLinearizationConst_TL300_IL1E34_v2_mc"), 00210 connect = cms.untracked.string("frontier://FrontierPrep/CMS_COND_ECAL") 00211 ), 00212 cms.PSet(record = cms.string('EcalLaserAlphasRcd'), 00213 tag = cms.string('EcalLaserAlphas_EB_sic1_btcp1_EE_sic1_btcp1'), 00214 connect = cms.untracked.string('frontier://FrontierPrep/CMS_COND_ECAL') 00215 ), 00216 #VPT aging 00217 cms.PSet(record = cms.string('EcalLinearCorrectionsRcd'), 00218 tag = cms.string('EcalLinearCorrections_mc'), 00219 connect = cms.untracked.string('frontier://FrontierPrep/CMS_COND_ECAL') 00220 ) 00221 ) 00222 ) 00223 return process 00224
def aging::ecal_complete_aging_3000 | ( | process | ) |
Definition at line 259 of file aging.py.
00260 : 00261 process=ecal_complete_aging(process) 00262 00263 if not hasattr(process.GlobalTag,'toGet'): 00264 process.GlobalTag.toGet=cms.VPSet() 00265 process.GlobalTag.toGet.extend( cms.VPSet( 00266 cms.PSet(record = cms.string("EcalPedestalsRcd"), 00267 tag = cms.string("EcalPedestals_TL3000_IL5E34_mc"), 00268 connect = cms.untracked.string("frontier://FrontierPrep/CMS_COND_ECAL") 00269 ), 00270 ## laser D 00271 cms.PSet(record = cms.string("EcalLaserAPDPNRatiosRcd"), 00272 tag = cms.string("EcalLaserAPDPNRatios_TL3000_IL5E34_v2_mc"), 00273 connect = cms.untracked.string("frontier://FrontierPrep/CMS_COND_ECAL") 00274 ), 00275 ## L1 trigger 00276 cms.PSet(record = cms.string("EcalTPGLinearizationConstRcd"), 00277 tag = cms.string("EcalTPGLinearizationConst_TL3000_IL5E34_v2_mc"), 00278 connect = cms.untracked.string("frontier://FrontierPrep/CMS_COND_ECAL") 00279 ), 00280 cms.PSet(record = cms.string('EcalLaserAlphasRcd'), 00281 tag = cms.string('EcalLaserAlphas_EB_sic1_btcp1_EE_sic1_btcp1'), 00282 connect = cms.untracked.string('frontier://FrontierPrep/CMS_COND_ECAL') 00283 ), 00284 #VPT aging 00285 cms.PSet(record = cms.string('EcalLinearCorrectionsRcd'), 00286 tag = cms.string('EcalLinearCorrections_mc'), 00287 connect = cms.untracked.string('frontier://FrontierPrep/CMS_COND_ECAL') 00288 ) 00289 ) 00290 ) 00291 00292 return process 00293
def aging::hf_complete_aging | ( | process | ) |
Definition at line 146 of file aging.py.
00147 : 00148 if hasattr(process,'g4SimHits'): 00149 process.g4SimHits.HCalSD.HFDarkening = cms.untracked.bool(True) 00150 if hasattr(process,'mix') and hasattr(process.mix,'digitizers') and hasattr(process.mix.digitizers,'hcal'): 00151 process.mix.digitizers.hcal.HFDarkening = cms.untracked.bool(False) 00152 return process
def aging::turn_off_HE_aging | ( | process | ) |
Definition at line 160 of file aging.py.
00161 : 00162 if hasattr(process,'mix') and hasattr(process.mix,'digitizers') and hasattr(process.mix.digitizers,'hcal'): 00163 process.mix.digitizers.hcal.HEDarkening = cms.bool(False) 00164 if hasattr(process,'es_hardcode'): 00165 process.es_hardcode.HERecalibration = cms.bool(False) 00166 return process
def aging::turn_off_HF_aging | ( | process | ) |
Definition at line 167 of file aging.py.
00168 : 00169 if hasattr(process,'g4SimHits'): 00170 process.g4SimHits.HCalSD.HFDarkening = cms.untracked.bool(False) 00171 if hasattr(process,'mix') and hasattr(process.mix,'digitizers') and hasattr(process.mix.digitizers,'hcal'): 00172 process.mix.digitizers.hcal.HFDarkening = cms.bool(False) 00173 if hasattr(process,'es_hardcode'): 00174 process.es_hardcode.HFRecalibration = cms.bool(False) 00175 return process
def aging::turn_off_Pixel_aging | ( | process | ) |
def aging::turn_on_Pixel_aging_1000 | ( | process | ) |
Definition at line 183 of file aging.py.
00184 : 00185 # just incase we want aging afterall 00186 if hasattr(process,'mix') and hasattr(process.mix,'digitizers') and hasattr(process.mix.digitizers,'hcal'): 00187 process.mix.digitizers.pixel.PseudoRadDamage = cms.double(1.5) 00188 process.mix.digitizers.pixel.PseudoRadDamageRadius = cms.double(4.0) 00189 00190 return process