Esempio n. 1
0
            'MSTP(61)=1      ! Parton showering on or off'),
        parameterSets = cms.vstring('pythiaUESettings', 
            'processParameters')
    )
)

#process.rivetAnalyzer.OutputFile = cms.string('mcfile.aida')
# Path and EndPath definitions
process.generation_step = cms.Path(process.pgen)
process.genfiltersummary_step = cms.EndPath(process.genFilterSummary)
process.endjob_step = cms.EndPath(process.endOfProcess)
process.RAWSIMoutput_step = cms.EndPath(process.RAWSIMoutput)

# Schedule definition
process.schedule = cms.Schedule(process.generation_step,process.genfiltersummary_step,process.endjob_step,process.RAWSIMoutput_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 Configuration.GenProduction.rivet_customize
from Configuration.GenProduction.rivet_customize import customise 
#process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_FSQ_13_035_test')
#process.rivetAnalyzer.OutputFile = cms.string('mcfile.yoda')
#call to customisation function customise imported from Configuration.GenProduction.rivet_customize
process = customise(process)
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_FSQ_13_035_test')
process.rivetAnalyzer.OutputFile = cms.string('OUTPUTAIDAFILE')
#'Process' object has no attribute 'rivetAnalyzer' End of customisation functions
Esempio n. 2
0
             'PTPOWER = 4.5   ! reweighting of the pt spectrum')))

# Path and EndPath definitions
process.generation_step = cms.Path(process.pgen)
process.genfiltersummary_step = cms.EndPath(process.genFilterSummary)
process.endjob_step = cms.EndPath(process.endOfProcess)
process.RAWSIMoutput_step = cms.EndPath(process.RAWSIMoutput)

# Schedule definition
process.schedule = cms.Schedule(process.generation_step,
                                process.genfiltersummary_step,
                                process.endjob_step, process.RAWSIMoutput_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 Configuration.GenProduction.rivet_customize
from Configuration.GenProduction.rivet_customize import customise

#call to customisation function customise imported from Configuration.GenProduction.rivet_customize
process = customise(process)

# End of customisation functions

process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_EXO_12_050')
process.rivetAnalyzer.OutputFile = cms.string('EXO12050pythia6.aida')
process.rivetAnalyzer.UseExternalWeight = cms.bool(True)