Ejemplo n.º 1
0
def customisePostLS1(process):

    # deal with CSC separately:
    process = customise_csc_PostLS1(process)

    # deal with L1 Emulation separately:
    customiseSimL1EmulatorForPostLS1(process)

    # deal with FastSim separately:
    process = customise_fastSimPostLS1(process)

    # all the rest:
    if hasattr(process,'g4SimHits'):
        process=customise_Sim(process)
    if hasattr(process,'DigiToRaw'):
        process=customise_DigiToRaw(process)
    if hasattr(process,'RawToDigi'):
        process=customise_RawToDigi(process)
    if hasattr(process,'reconstruction'):
        process=customise_Reco(process)
    if hasattr(process,'digitisation_step'):
        process=customise_Digi(process)
    if hasattr(process,'HLTSchedule'):
        process=customise_HLT(process)
    if hasattr(process,'L1simulation_step'):
        process=customise_L1Emulator(process)
    if hasattr(process,'dqmoffline_step'):
        process=customise_DQM(process)
    if hasattr(process,'dqmHarvesting'):
        process=customise_harvesting(process)
    if hasattr(process,'validation_step'):
        process=customise_Validation(process)

    return process
Ejemplo n.º 2
0
def customisePostLS1_Common(process):

    # deal with CSC separately
    from SLHCUpgradeSimulations.Configuration.muonCustoms import customise_csc_PostLS1
    process = customise_csc_PostLS1(process)

    # deal with FastSim separately
    from SLHCUpgradeSimulations.Configuration.fastSimCustoms import customise_fastSimPostLS1
    process = customise_fastSimPostLS1(process)

    # all the rest
    if hasattr(process,'g4SimHits'):
        process = customise_Sim(process)
    if hasattr(process,'DigiToRaw'):
        process = customise_DigiToRaw(process)
    if hasattr(process,'RawToDigi'):
        process = customise_RawToDigi(process)
    if hasattr(process,'reconstruction'):
        process = customise_Reco(process)
    if hasattr(process,'digitisation_step') or ( hasattr(process,'mix') and hasattr(process.mix,'digitizers')):
        process = customise_Digi_Common(process)
    if hasattr(process,'HLTSchedule'):
        process = customise_HLT(process)
    if hasattr(process,'L1simulation_step'):
        process = customise_L1Emulator(process)
    if hasattr(process,'dqmoffline_step'):
        process = customise_DQM(process)
    if hasattr(process,'dqmHarvesting'):
        process = customise_harvesting(process)
    if hasattr(process,'validation_step'):
        process = customise_Validation(process)
    if hasattr(process,'datamixing_step'):
        process = customise_DataMix(process)

    return process
Ejemplo n.º 3
0
def customisePostLS1(process):

    # deal with CSC separately:
    process = customise_csc_PostLS1(process)

    # deal with L1 Emulation separately:
    customiseSimL1EmulatorForPostLS1(process)

    # deal with FastSim separately:
    process = customise_fastSimPostLS1(process)

    # all the rest:
    if hasattr(process, 'g4SimHits'):
        process = customise_Sim(process)
    if hasattr(process, 'DigiToRaw'):
        process = customise_DigiToRaw(process)
    if hasattr(process, 'RawToDigi'):
        process = customise_RawToDigi(process)
    if hasattr(process, 'reconstruction'):
        process = customise_Reco(process)
    if hasattr(process, 'digitisation_step'):
        process = customise_Digi(process)
    if hasattr(process, 'HLTSchedule'):
        process = customise_HLT(process)
    if hasattr(process, 'L1simulation_step'):
        process = customise_L1Emulator(process)
    if hasattr(process, 'dqmoffline_step'):
        process = customise_DQM(process)
    if hasattr(process, 'dqmHarvesting'):
        process = customise_harvesting(process)
    if hasattr(process, 'validation_step'):
        process = customise_Validation(process)

    return process
Ejemplo n.º 4
0
def customisePostLS1_Common(process):

    # deal with L1 Emulation separately
    from L1Trigger.L1TCommon.customsPostLS1 import customiseSimL1EmulatorForStage1

    process = customiseSimL1EmulatorForStage1(process)

    # deal with CSC separately
    from SLHCUpgradeSimulations.Configuration.muonCustoms import customise_csc_PostLS1

    process = customise_csc_PostLS1(process)

    # deal with FastSim separately
    from SLHCUpgradeSimulations.Configuration.fastSimCustoms import customise_fastSimPostLS1

    process = customise_fastSimPostLS1(process)

    # all the rest
    if hasattr(process, "g4SimHits"):
        process = customise_Sim(process)
    if hasattr(process, "DigiToRaw"):
        process = customise_DigiToRaw(process)
    if hasattr(process, "RawToDigi"):
        process = customise_RawToDigi(process)
    if hasattr(process, "reconstruction"):
        process = customise_Reco(process)
    if hasattr(process, "digitisation_step") or (hasattr(process, "mix") and hasattr(process.mix, "digitizers")):
        process = customise_Digi_Common(process)
    if hasattr(process, "HLTSchedule"):
        process = customise_HLT(process)
    if hasattr(process, "L1simulation_step"):
        process = customise_L1Emulator(process)
    if hasattr(process, "dqmoffline_step"):
        process = customise_DQM(process)
    if hasattr(process, "dqmHarvesting"):
        process = customise_harvesting(process)
    if hasattr(process, "validation_step"):
        process = customise_Validation(process)
    if hasattr(process, "datamixing_step"):
        process = customise_DataMix(process)

    return process
Ejemplo n.º 5
0
def customisePostLS1_Common(process):

    # deal with L1 Emulation separately
    from L1Trigger.L1TCommon.customsPostLS1 import customiseSimL1EmulatorForStage1
    process = customiseSimL1EmulatorForStage1(process)

    # deal with CSC separately
    from SLHCUpgradeSimulations.Configuration.muonCustoms import customise_csc_PostLS1
    process = customise_csc_PostLS1(process)

    # deal with FastSim separately
    from SLHCUpgradeSimulations.Configuration.fastSimCustoms import customise_fastSimPostLS1
    process = customise_fastSimPostLS1(process)

    # all the rest
    if hasattr(process, 'g4SimHits'):
        process = customise_Sim(process)
    if hasattr(process, 'DigiToRaw'):
        process = customise_DigiToRaw(process)
    if hasattr(process, 'RawToDigi'):
        process = customise_RawToDigi(process)
    if hasattr(process, 'reconstruction'):
        process = customise_Reco(process)
    if hasattr(process, 'digitisation_step') or (hasattr(
            process, 'mix') and hasattr(process.mix, 'digitizers')):
        process = customise_Digi_Common(process)
    if hasattr(process, 'HLTSchedule'):
        process = customise_HLT(process)
    if hasattr(process, 'L1simulation_step'):
        process = customise_L1Emulator(process)
    if hasattr(process, 'dqmoffline_step'):
        process = customise_DQM(process)
    if hasattr(process, 'dqmHarvesting'):
        process = customise_harvesting(process)
    if hasattr(process, 'validation_step'):
        process = customise_Validation(process)
    if hasattr(process, 'datamixing_step'):
        process = customise_DataMix(process)

    return process