示例#1
0
def customisePostLS1_HI(process):
    print """
    #
    # -- Warning! You are using a deprecated customisation function. --
    #
    # It will probably run fine, but the customisations you are getting may be out of date.
    # You should update your configuration file by
    #   If using cmsDriver:
    #       1) remove the "--customise SLHCUpgradeSimulations/Configuration/postLS1Customs.customisePostLS1_HI" option
    #       2) add the option "--era Run2_HI"
    #   If using a pre-made configuration file:
    #       1) remove or comment out the "process = customisePostLS1_HI(process)" line.
    #       2) add "from Configuration.StandardSequences.Eras import eras" to the TOP of the config file (above
    #          the process declaration).
    #       3) add "eras.Run2_HI" as a parameter to the process object, e.g. "process = cms.Process('HLT',eras.Run2_HI)"
    #
    # There is more information at https://twiki.cern.ch/twiki/bin/view/CMSPublic/SWGuideCmsDriverEras
    #
    """

    # common customisation
    process = customisePostLS1_Common(process)

    # HI Specific additional customizations:
    from L1Trigger.L1TCommon.customsPostLS1 import customiseSimL1EmulatorForPostLS1_Additional_HI
    process = customiseSimL1EmulatorForPostLS1_Additional_HI(process)

    # HI L1Menu:
    #from L1Trigger.Configuration.customise_overwriteL1Menu import L1Menu_CollisionsHeavyIons2015_v0
    #process = L1Menu_CollisionsHeavyIons2015_v0(process)

    return process
示例#2
0
def customisePostLS1_HI(process,displayDeprecationWarning=True):
    if displayDeprecationWarning :
        print """
        #
        # -- Warning! You are using a deprecated customisation function. --
        #
        # It will probably run fine, but the customisations you are getting may be out of date.
        # You should update your configuration file by
        #   If using cmsDriver:
        #       1) remove the "--customise SLHCUpgradeSimulations/Configuration/postLS1Customs.customisePostLS1_HI" option
        #       2) add the option "--era Run2_HI"
        #   If using a pre-made configuration file:
        #       1) remove or comment out the "process = customisePostLS1_HI(process)" line.
        #       2) add "from Configuration.StandardSequences.Eras import eras" to the TOP of the config file (above
        #          the process declaration).
        #       3) add "eras.Run2_HI" as a parameter to the process object, e.g. "process = cms.Process('HLT',eras.Run2_HI)"
        #
        # There is more information at https://twiki.cern.ch/twiki/bin/view/CMSPublic/SWGuideCmsDriverEras
        #
        """

    # common customisation
    process = customisePostLS1_Common(process)

    # HI Specific additional customizations:
    from L1Trigger.L1TCommon.customsPostLS1 import customiseSimL1EmulatorForPostLS1_Additional_HI
    process = customiseSimL1EmulatorForPostLS1_Additional_HI(process)

    # HI L1Menu:
    #from L1Trigger.Configuration.customise_overwriteL1Menu import L1Menu_CollisionsHeavyIons2015_v0
    #process = L1Menu_CollisionsHeavyIons2015_v0(process)

    return process
示例#3
0
def customisePostLS1_HI(process):

    # common customisation
    process = customisePostLS1_Common(process)

    # HI Specific additional customizations:
    from L1Trigger.L1TCommon.customsPostLS1 import customiseSimL1EmulatorForPostLS1_Additional_HI
    process = customiseSimL1EmulatorForPostLS1_Additional_HI(process)

    # HI L1Menu:
    #from L1Trigger.Configuration.customise_overwriteL1Menu import L1Menu_CollisionsHeavyIons2015_v0
    #process = L1Menu_CollisionsHeavyIons2015_v0(process)

    return process
示例#4
0
def customisePostLS1_HI(process):

    # common customisation
    process = customisePostLS1_Common(process)

    # HI Specific additional customizations:
    from L1Trigger.L1TCommon.customsPostLS1 import customiseSimL1EmulatorForPostLS1_Additional_HI

    process = customiseSimL1EmulatorForPostLS1_Additional_HI(process)

    # HI L1Menu:
    # from L1Trigger.Configuration.customise_overwriteL1Menu import L1Menu_CollisionsHeavyIons2015_v0
    # process = L1Menu_CollisionsHeavyIons2015_v0(process)

    return process