コード例 #1
0
process.L1TrackTrigger_step=cms.Path(process.L1TrackTrigger_custom)
process.p = cms.Path(process.ntupleSequence_TTI)
process.schedule = cms.Schedule(process.L1TrackTrigger_step,process.p)

## filter all path with the skim
#process.load("SLHCL1TrackTriggerSimulations.NTupleTools.simpleSkimmer_cfi")
#for path in process.paths:
#    getattr(process,path)._seq = process.simpleSkimmer * getattr(process,path)._seq

# customisation of the process.

# Automatic addition of the customisation function from SLHCUpgradeSimulations.Configuration.combinedCustoms
from SLHCUpgradeSimulations.Configuration.combinedCustoms import cust_2023TTI

#call to customisation function cust_2023TTI imported from SLHCUpgradeSimulations.Configuration.combinedCustoms
process = cust_2023TTI(process)

def slim(process):
    #ntupleSequence_TTI = cms.Sequence(ntupleGenParticles+genParticlesForJetsNoMuNoNu+ak4GenJetsNoMuNoNu+ntupleGenJets+genParticlesForMETAllVisible+genMetTrue+ntupleGenMET+simBeamSpot+ntupleBeamSpot+ntupleGenEventInfo+ntupleSimTracks+ntupleSimVertices+ntupleTrackingParticles+ntupleTrackingVertices+ntupleTTClustersForTTI+ntupleTTStubsForTTI+ntupleTTTracks+ntupleEventInfo+ntupler)
    process.ntupleSequence_TTI = cms.Sequence(process.ntupleGenParticles+process.genParticlesForJetsNoMuNoNu+process.ak4GenJetsNoMuNoNu+process.ntupleGenJets+process.ntupleTrackingParticles+process.ntupleTTStubsForTTI+process.ntupleEventInfo+process.ntupler)
    process.p = cms.Path(process.ntupleSequence_TTI)
    process.schedule = cms.Schedule(process.p)
    return process

process = slim(process)

# End of customisation functions


# Configure framework report and summary
process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(True))
コード例 #2
0
	psethack = cms.string('Four mu pt 1 to 200'),
	AddAntiParticle = cms.bool(False),
	firstRun = cms.untracked.uint32(1)
)

# Path and EndPath definitions
process.generation_step = cms.Path(process.pgen)
process.simulation_step = cms.Path(process.psim)
process.digitisation_step = cms.Path(process.pdigi_valid)
process.L1simulation_step = cms.Path(process.SimL1Emulator)
process.L1TrackTrigger_step = cms.Path(process.L1TrackTrigger)
process.genfiltersummary_step = cms.EndPath(process.genFilterSummary)
process.endjob_step = cms.EndPath(process.endOfProcess)
process.FEVTDEBUGoutput_step = cms.EndPath(process.FEVTDEBUGoutput)

# Schedule definition
process.schedule = cms.Schedule(process.generation_step,process.genfiltersummary_step,process.simulation_step,process.digitisation_step,process.L1simulation_step,process.L1TrackTrigger_step,process.endjob_step,process.FEVTDEBUGoutput_step)
# filter all path with the production filter sequence
for path in process.paths:
	getattr(process,path)._seq = process.generator * getattr(process,path)._seq 

# customisation of the process.

# Automatic addition of the customisation function from SLHCUpgradeSimulations.Configuration.combinedCustoms
from SLHCUpgradeSimulations.Configuration.combinedCustoms import cust_2023TTI 

#call to customisation function cust_2023TTI imported from SLHCUpgradeSimulations.Configuration.combinedCustoms
process = cust_2023TTI(process)

# End of customisation functions