示例#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
示例#2
0
def customisePostLS1(process):

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

    # deal with L1 Emulation separately:
    customiseSimL1EmulatorForPostLS1(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
示例#3
0
process.maxEvents = cms.untracked.PSet(input=cms.untracked.int32(nevts))

process.load('Configuration/StandardSequences/Services_cff')
process.load('Configuration/StandardSequences/SimL1Emulator_cff')
process.load('Configuration.StandardSequences.RawToDigi_Data_cff')
process.load('Configuration/StandardSequences/DigiToRaw_cff')
process.load('Configuration.StandardSequences.Reconstruction_cff')

## process.raw2digi_step= cms.Path(process.RawToDigi+process.dttfDigis)
process.raw2digi_step = cms.Path(process.RawToDigi)
process.L1simulation_step = cms.Path(process.SimL1Emulator)

from L1Trigger.L1TCommon.customsPostLS1 import customiseSimL1EmulatorForPostLS1

process = customiseSimL1EmulatorForPostLS1(process)

##
from L1Trigger.L1TCalorimeter.L1TCaloStage1_customForHLT import customiseL1EmulatorFromRaw
##import L1Trigger.L1TCalorimeter.L1TCaloStage1_customForHLT
process = customiseL1EmulatorFromRaw(process)

#####  Redo RCT Digis
process.simRctDigis.ecalDigis = cms.VInputTag(
    cms.InputTag('ecalDigis:EcalTriggerPrimitives'))
process.simRctDigis.hcalDigis = cms.VInputTag(
    cms.InputTag('simHcalTriggerPrimitiveDigis'))

# HCAL TP hack
process.load("L1Trigger.L1TCalorimeter.L1TRerunHCALTP_FromRaw_cff")
process.reRunHCALTP = cms.Path(process.L1TRerunHCALTP_FromRAW)
示例#4
0
# make l1extras
# run GMT,Stage1, and GT Emulator
###

process.load('Configuration/StandardSequences/Services_cff')
process.load('Configuration/StandardSequences/SimL1Emulator_cff')
process.load('Configuration.StandardSequences.RawToDigi_Data_cff')
process.load('Configuration/StandardSequences/DigiToRaw_cff')
process.load('Configuration.StandardSequences.Reconstruction_cff')

process.raw2digi_step= cms.Path(process.RawToDigi+process.dttfDigis)
process.digi2raw_step = cms.Path(process.DigiToRaw)
process.L1simulation_step = cms.Path(process.SimL1Emulator)

from L1Trigger.L1TCommon.customsPostLS1 import customiseSimL1EmulatorForPostLS1
process=customiseSimL1EmulatorForPostLS1(process)

## 
from L1Trigger.L1TCalorimeter.L1TCaloStage1_customForHLT import customiseL1EmulatorFromRaw
##import L1Trigger.L1TCalorimeter.L1TCaloStage1_customForHLT
process=customiseL1EmulatorFromRaw(process)

#####  Redo RCT Digis
process.simRctDigis.ecalDigis = cms.VInputTag( cms.InputTag( 'ecalDigis:EcalTriggerPrimitives' ) )
process.simRctDigis.hcalDigis = cms.VInputTag( cms.InputTag( 'simHcalTriggerPrimitiveDigis' ) )

# HCAL TP hack
process.load("L1Trigger.L1TCalorimeter.L1TRerunHCALTP_FromRaw_cff")
process.reRunHCALTP=cms.Path(process.L1TRerunHCALTP_FromRAW)

### CCLA include latest RCT calibrations from UCT