Exemplo n.º 1
0
process.NANOAODSIMoutput_step = cms.EndPath(process.NANOAODSIMoutput)

# Schedule definition
process.schedule = cms.Schedule(process.nanoAOD_step, process.endjob_step,
                                process.NANOAODSIMoutput_step)
from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
associatePatAlgosToolsTask(process)

# 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 nano.nanoAOD.nano_cff
from nano.nanoAOD.nano_cff import customise

#call to customisation function customise imported from nano.nanoAOD.nano_cff
process = customise(process)

# End of customisation functions

# Customisation from command line

# 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
Exemplo n.º 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 nano.nanoAOD.nano_cff
from nano.nanoAOD.nano_cff import customise

#call to customisation function customise imported from nano.nanoAOD.nano_cff
from FWCore.ParameterSet.VarParsing import VarParsing
options = VarParsing('python')
options.register('doHadron', True, VarParsing.multiplicity.singleton,
                 VarParsing.varType.bool, "doHadron: 1  default")
options.register('fastSim', False, VarParsing.multiplicity.singleton,
                 VarParsing.varType.bool, "fastSim: 0  default")
options.parseArguments()
process = customise(process, options.doHadron, options.fastSim)

# End of customisation functions

# Customisation from command line

# 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
Exemplo n.º 3
0
from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
associatePatAlgosToolsTask(process)

# customisation of the process.

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

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

# Automatic addition of the customisation function from nano.nanoAOD.nano_cff
from nano.nanoAOD.nano_cff import customise

#call to customisation function customise imported from nano.nanoAOD.nano_cff
from FWCore.ParameterSet.VarParsing import VarParsing
options = VarParsing('python')
options.register('doHadron', True, VarParsing.multiplicity.singleton,
                 VarParsing.varType.bool, "doHadron: 1  default")
options.parseArguments()
process = customise(process, options.doHadron)

# End of customisation functions

# Customisation from command line

# 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