Пример #1
0
def turn_off_HE_aging(process):
    process=aging.turn_off_HE_aging(process)
    return process
Пример #2
0
def turn_off_HE_aging(process):
    process = aging.turn_off_HE_aging(process)
    return process
#call to customisation function cust_20YEAR imported from SLHCUpgradeSimulations.Configuration.combinedCustoms
if cfgyear == 17:
    process = cust_2017(process)
elif cfgyear == 19:
    process = cust_2019(process)

# Automatic addition of the customisation function from SLHCUpgradeSimulations.Configuration.aging
from SLHCUpgradeSimulations.Configuration.aging import ageHcal, ageEcal, turn_off_HE_aging

#call to customisation functions
process = ageHcal(process, LUMIDRK)
process = ageEcal(process, LUMIDRK)

if YEAR == 21:
    process = turn_off_HE_aging(process)

#ECAL customizations
if not hasattr(process.GlobalTag, 'toGet'):
    process.GlobalTag.toGet = cms.VPSet()

#globaltag conditions
if LUMIDRK == 100:
    process.GlobalTag.toGet.extend([
        cms.PSet(record=cms.string("EcalTPGLinearizationConstRcd"),
                 tag=cms.string(
                     "EcalTPGLinearizationConst_TLLUMIDRK_ILINSTLUMI_v1_mc"),
                 connect=cms.untracked.string(
                     "frontier://FrontierProd/CMS_COND_34X_ECAL")),
        cms.PSet(
            record=cms.string("EcalIntercalibConstantsRcd"),