text: # Auto generated configuration file
  # using: 
  # Revision: 1.19 
  # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v 
  # with command line options: Configuration/GenProduction/python/HI/2015/ReggeGribovPartonMC_EposLHC_5020GeV_PbPb_cfi.py --mc --eventcontent RAWSIM --customise SLHCUpgradeSimulations/Configuration/postLS1Customs.customisePostLS1_HI,Configuration/DataProcessing/Utils.addMonitoring --datatier GEN-SIM --conditions 75X_mcRun2_HeavyIon_v1 --beamspot NominalHICollision2015 --step GEN,SIM --scenario HeavyIons --no_exec -n 5
  import FWCore.ParameterSet.Config as cms
  
  process = cms.Process('SIM')
  
  # import of standard configurations
  process.load('Configuration.StandardSequences.Services_cff')
  process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
  process.load('FWCore.MessageService.MessageLogger_cfi')
  process.load('Configuration.EventContent.EventContentHeavyIons_cff')
  process.load('SimGeneral.MixingModule.mixNoPU_cfi')
  process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
  process.load('Configuration.Geometry.GeometrySimDB_cff')
  process.load('Configuration.StandardSequences.MagneticField_cff')
  process.load('Configuration.StandardSequences.Generator_cff')
  process.load('IOMC.EventVertexGenerators.VtxSmearedNominalHICollision2015_cfi')
  process.load('Configuration.StandardSequences.GeneratorHI_cff')
  process.load('GeneratorInterface.Core.genFilterSummary_cff')
  process.load('Configuration.StandardSequences.SimIdeal_cff')
  process.load('Configuration.StandardSequences.EndOfProcess_cff')
  process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
  
  process.maxEvents = cms.untracked.PSet(
      input = cms.untracked.int32(5)
  )
  
  # Input source
  process.source = cms.Source("EmptySource")
  
  process.options = cms.untracked.PSet(
  
  )
  
  # Production Info
  process.configurationMetadata = cms.untracked.PSet(
      annotation = cms.untracked.string('ReggeGribovMC generator'),
      name = cms.untracked.string('$Source: /local/reps/CMSSW/CMSSW/Configuration/GenProduction/python/HI/ReggeGribovPartonMC_EposLHC_5TeV_pPb_cfi.py,v $'),
      version = cms.untracked.string('$Revision: 1.2 $')
  )
  
  # Output definition
  
  process.RAWSIMoutput = cms.OutputModule("PoolOutputModule",
      SelectEvents = cms.untracked.PSet(
          SelectEvents = cms.vstring('generation_step')
      ),
      dataset = cms.untracked.PSet(
          dataTier = cms.untracked.string('GEN-SIM'),
          filterName = cms.untracked.string('')
      ),
      eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
      fileName = cms.untracked.string('ReggeGribovPartonMC_EposLHC_5020GeV_PbPb_cfi_py_GEN_SIM.root'),
      outputCommands = process.RAWSIMEventContent.outputCommands,
      splitLevel = cms.untracked.int32(0)
  )
  
  # Additional output definition
  
  # Other statements
  process.genstepfilter.triggerConditions=cms.vstring("generation_step")
  from Configuration.AlCa.GlobalTag import GlobalTag
  process.GlobalTag = GlobalTag(process.GlobalTag, '75X_mcRun2_HeavyIon_v1', '')
  
  process.generator = cms.EDFilter("ReggeGribovPartonMCGeneratorFilter",
      beamid = cms.int32(208),
      beammomentum = cms.double(2510),
      bmax = cms.double(10000),
      bmin = cms.double(0),
      model = cms.int32(0),
      paramFileName = cms.untracked.string('Configuration/Generator/data/ReggeGribovPartonMC.param'),
      skipNuclFrag = cms.bool(True),
      targetid = cms.int32(208),
      targetmomentum = cms.double(-2510)
  )
  
  
  # Path and EndPath definitions
  process.generation_step = cms.Path(process.pgen)
  process.simulation_step = cms.Path(process.psim)
  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.simulation_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 SLHCUpgradeSimulations.Configuration.postLS1Customs
  from SLHCUpgradeSimulations.Configuration.postLS1Customs import customisePostLS1_HI 
  
  #call to customisation function customisePostLS1_HI imported from SLHCUpgradeSimulations.Configuration.postLS1Customs
  process = customisePostLS1_HI(process)
  
  # Automatic addition of the customisation function from Configuration.DataProcessing.Utils
  from Configuration.DataProcessing.Utils import addMonitoring 
  
  #call to customisation function addMonitoring imported from Configuration.DataProcessing.Utils
  process = addMonitoring(process)
  
  # End of customisation functions
  
  