コード例 #1
0
process.options.numberOfStreams = cms.untracked.uint32(0)
process.options.numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(1)

# customisation of the process.

# Automatic addition of the customisation function from PhysicsTools.NanoAOD.nano_cff
from PhysicsTools.NanoAOD.nano_cff import nanoAOD_customizeMC

#call to customisation function nanoAOD_customizeMC imported from PhysicsTools.NanoAOD.nano_cff
process = nanoAOD_customizeMC(process)

# Automatic addition of the customisation function from PhysicsTools.PFNano.pfnano_cff
from PhysicsTools.PFNano.pfnano_cff import PFnano_customizeMC, PFnano_customizeMC_allPF, PFnano_customizeMC_AK4JetsOnly, PFnano_customizeMC_AK8JetsOnly, PFnano_customizeMC_noInputs

#call to customisation function PFnano_customizeMC imported from PhysicsTools.PFNano.pfnano_cff
process = PFnano_customizeMC(process)
#process = PFnano_customizeMC_allPF(process)
#process = PFnano_customizeMC_AK4JetsOnly(process)
#process = PFnano_customizeMC_AK8JetsOnly(process)
#process = PFnano_customizeMC_noInputs(process)

# End of customisation functions

# Customisation from command line

process.add_(
    cms.Service('InitRootHandlers', EnableIMT=cms.untracked.bool(False)))
# Add early deletion of temporary data products to reduce peak memory need
from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
process = customiseEarlyDelete(process)
# End adding early deletion
コード例 #2
0
# customisation of the process.

# Automatic addition of the customisation function from PhysicsTools.NanoAOD.nano_cff
from PhysicsTools.NanoAOD.nano_cff import nanoAOD_customizeMC

#call to customisation function nanoAOD_customizeMC imported from PhysicsTools.NanoAOD.nano_cff
process = nanoAOD_customizeMC(process)

# Automatic addition of the customisation function from PhysicsTools.PFNano.addAK15_cff
from PhysicsTools.PFNano.addAK15_cff import PFnano_addAK15_mc

#call to customisation function PFnano_addAK15_mc imported from PhysicsTools.PFNano.addAK15_cff
process = PFnano_addAK15_mc(process)

# Automatic addition of the customisation function from PhysicsTools.PFNano.pfnano_cff
from PhysicsTools.PFNano.pfnano_cff import PFnano_customizeMC

#call to customisation function PFnano_customizeMC imported from PhysicsTools.PFNano.pfnano_cff
process = PFnano_customizeMC(process)

# End of customisation functions

# Customisation from command line

process.options.wantSummary = cms.untracked.bool(True)
# Add early deletion of temporary data products to reduce peak memory need
from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
process = customiseEarlyDelete(process)
# End adding early deletion