예제 #1
0
    process.TTEffAnalysisHLTPFTauTightHPSHighPurity
)

# L1 emulator
process.L1simulation_step = cms.Path()
if runL1Emulator:
    if isData:
        process.load('Configuration.StandardSequences.RawToDigi_Data_cff')
    else:
        process.load('Configuration.StandardSequences.RawToDigi_cff')
    process.L1simulation_step = cms.Path(
        process.RawToDigi *
        process.SimL1Emulator
    )
    import L1Trigger.Configuration.customise_l1EmulatorFromRaw as l1emulator
    l1emulator.customise(process)

    process.l1emuL1extraParticles = process.hltL1extraParticles.clone(
        muonSource = cms.InputTag( 'simGmtDigis' ),
        isolatedEmSource = cms.InputTag( 'simGctDigis','isoEm' ),
        nonIsolatedEmSource = cms.InputTag( 'simGctDigis','nonIsoEm' ),
        centralJetSource = cms.InputTag( 'simGctDigis','cenJets' ),
        forwardJetSource = cms.InputTag( 'simGctDigis','forJets' ),
        tauJetSource = cms.InputTag( 'simGctDigis','tauJets' ),
        etTotalSource = cms.InputTag( 'simGctDigis' ),
        etHadSource = cms.InputTag( 'simGctDigis' ),
        etMissSource = cms.InputTag( 'simGctDigis' )
    )
    process.l1emuL1GtObjectMap = process.hltL1GtObjectMap.clone(
        GmtInputTag = "simGmtDigis",
        GctInputTag = "simGctDigis"
예제 #2
0
process.raw2digi_step = cms.Path(process.RawToDigi)
process.L1simulation_step = cms.Path(process.SimL1Emulator)
process.ana_step = cms.EndPath(process.HLTHIRecoJetSequenceIC5Corrected*process.patJets)
process.endjob_step = cms.EndPath(process.endOfProcess*process.hltbitnew*process.icPu5JetAnalyzer*process.rechitanalyzer)
#process.FEVTDEBUGHLToutput_step = cms.EndPath(process.FEVTDEBUGHLToutput)

# Schedule definition
process.schedule = cms.Schedule(process.raw2digi_step,process.L1simulation_step)
process.schedule.extend(process.HLTSchedule)
process.schedule.extend([process.ana_step])
process.schedule.extend([process.endjob_step])

# customisation of the process.

# Automatic addition of the customisation function from L1Trigger.Configuration.customise_l1EmulatorFromRaw
from L1Trigger.Configuration.customise_l1EmulatorFromRaw import customise 

#call to customisation function customise imported from L1Trigger.Configuration.customise_l1EmulatorFromRaw
process = customise(process)

# set l1 menu from xml
#import L1Trigger.Configuration.L1Trigger_custom
#process = L1Trigger.Configuration.L1Trigger_custom.customiseL1Menu( process )

# customize the HLT to use the emulated results
import HLTrigger.Configuration.customizeHLTforL1Emulator
process = HLTrigger.Configuration.customizeHLTforL1Emulator.switchToL1Emulator( process )
process = HLTrigger.Configuration.customizeHLTforL1Emulator.switchToSimGmtGctGtDigis( process )

# End of customisation functions
예제 #3
0
process.reconstructionHeavyIons_withPF *= process.particleTowerProducer

# load extra trigger stuff
process.load('Configuration.StandardSequences.SimL1Emulator_cff')
#process.load('HLTrigger.Configuration.HLT_HIon_cff')

# Path and EndPath definitions
process.raw2digi_step = cms.Path(process.RawToDigi)
process.L1simulation_step = cms.Path(process.SimL1Emulator)
process.L1Reco_step = cms.Path(process.L1Reco)
process.reconstruction_step = cms.Path(process.reconstructionHeavyIons_withPF)
process.endjob_step = cms.EndPath(process.endOfProcess)
process.RECODEBUGoutput_step = cms.EndPath(process.RECODEBUGoutput)

from L1Trigger.Configuration.customise_l1EmulatorFromRaw import customise
process = customise(process)

# customize the HLT to use the emulated results
#import HLTrigger.Configuration.customizeHLTforL1Emulator
#process = HLTrigger.Configuration.customizeHLTforL1Emulator.switchToL1Emulator( process )
#process = HLTrigger.Configuration.customizeHLTforL1Emulator.switchToSimGtDigis( process )
#process.hltTrigReport.HLTriggerResults = cms.InputTag('TriggerResults','','RECO' )

#process.HLTSchedule.remove(process.hltTrigReport)

# Schedule definition
#process.schedule = cms.Schedule(process.raw2digi_step,process.L1Reco_step,process.reconstruction_step,process.endjob_step,process.RECODEBUGoutput_step)
process.schedule = cms.Schedule(process.raw2digi_step,
                                process.L1simulation_step, process.L1Reco_step,
                                process.reconstruction_step)
#process.schedule.extend(process.HLTSchedule)
예제 #4
0
    outputFileName="tteffAnalysis-hltpftau-hpspftau-highpurity.root")
process.runTTEffAnaHighPurity = cms.Path(
    process.commonSequence + process.highPuritySequence +
    process.TTEffAnalysisHLTPFTauHPSHighPurity)

# L1 emulator
process.L1simulation_step = cms.Path()
if runL1Emulator:
    if isData:
        process.load('Configuration.StandardSequences.RawToDigi_Data_cff')
    else:
        process.load('Configuration.StandardSequences.RawToDigi_cff')
    process.L1simulation_step = cms.Path(process.RawToDigi *
                                         process.SimL1Emulator)
    import L1Trigger.Configuration.customise_l1EmulatorFromRaw as l1emulator
    l1emulator.customise(process)

    process.l1emuL1extraParticles = process.hltL1extraParticles.clone(
        muonSource=cms.InputTag('simGmtDigis'),
        isolatedEmSource=cms.InputTag('simGctDigis', 'isoEm'),
        nonIsolatedEmSource=cms.InputTag('simGctDigis', 'nonIsoEm'),
        centralJetSource=cms.InputTag('simGctDigis', 'cenJets'),
        forwardJetSource=cms.InputTag('simGctDigis', 'forJets'),
        tauJetSource=cms.InputTag('simGctDigis', 'tauJets'),
        etTotalSource=cms.InputTag('simGctDigis'),
        etHadSource=cms.InputTag('simGctDigis'),
        etMissSource=cms.InputTag('simGctDigis'))
    process.l1emuL1GtObjectMap = process.hltL1GtObjectMap.clone(
        GmtInputTag="simGmtDigis", GctInputTag="simGctDigis")
    process.L1simulation_step *= (process.l1emuL1extraParticles *
                                  process.l1emuL1GtObjectMap)