import FWCore.ParameterSet.VarParsing as VarParsing

ivars = VarParsing.VarParsing('standard')
ivars.files = ''
ivars.output = 'HIPAT_output_full3.root'
ivars.maxEvents = 500
ivars.register ('randomNumber',
                mult=ivars.multiplicity.singleton,
                info="for testing")

ivars.register ('initialEvent',
                mult=ivars.multiplicity.singleton,
                info="for testing")

ivars.randomNumber=5
ivars.initialEvent=1
ivars.parseArguments()

import FWCore.ParameterSet.Config as cms

process = cms.Process('SIM')

# import of standard configurations
process.load('Configuration/StandardSequences/Services_cff')
process.load('FWCore/MessageService/MessageLogger_cfi')
#process.load('Configuration/StandardSequences/Generator_cff')

process.load('MitQcd/Production/VtxSmeared2360GeVCollisionDec1224_cfi')

process.RandomNumberGeneratorService.generator.initialSeed = ivars.randomNumber
process.RandomNumberGeneratorService.VtxSmeared.initialSeed = ivars.randomNumber

process.ana = cms.EDAnalyzer('HydjetAnalyzer'
                             )

process.TFileService = cms.Service('TFileService',
                                   fileName = cms.string(ivars.output)
                                   )

process.maxEvents = cms.untracked.PSet(
    input = cms.untracked.int32(ivars.maxEvents)
)
process.options = cms.untracked.PSet(
    Rethrow = cms.untracked.vstring('ProductNotFound')
)

process.load('GeneratorInterface.PhojetInterface.PHOJET_MinBias_900GeV_cfi')

process.ana_step = cms.Path(process.ana)




8c6e9a47cba9d6843aa52af5bb04e0f3c614b1cd
<mask token>

<mask token>
ivars.register('randomNumber', mult=ivars.multiplicity.singleton, info=
    'for testing')
ivars.register('initialEvent', mult=ivars.multiplicity.singleton, info=
    'for testing')
<mask token>
ivars.parseArguments()
<mask token>
process.load('Configuration/StandardSequences/Services_cff')
process.load('FWCore/MessageService/MessageLogger_cfi')
process.load('MitQcd/Production/VtxSmeared2360GeVCollisionDec1224_cfi')
<mask token>
process.load('GeneratorInterface.PhojetInterface.PHOJET_MinBias_900GeV_cfi')
<mask token>

<mask token>
ivars = VarParsing.VarParsing('standard')
ivars.files = ''
ivars.output = 'HIPAT_output_full3.root'
ivars.maxEvents = 500
ivars.register('randomNumber', mult=ivars.multiplicity.singleton, info=
    'for testing')
ivars.register('initialEvent', mult=ivars.multiplicity.singleton, info=
    'for testing')
ivars.randomNumber = 5
ivars.initialEvent = 1
ivars.parseArguments()
<mask token>
process = cms.Process('SIM')
process.load('Configuration/StandardSequences/Services_cff')
process.load('FWCore/MessageService/MessageLogger_cfi')
process.load('MitQcd/Production/VtxSmeared2360GeVCollisionDec1224_cfi')
process.RandomNumberGeneratorService.generator.initialSeed = ivars.randomNumber
process.RandomNumberGeneratorService.VtxSmeared.initialSeed = (ivars.
    randomNumber)
process.ana = cms.EDAnalyzer('HydjetAnalyzer')
process.TFileService = cms.Service('TFileService', fileName=cms.string(
    ivars.output))
process.maxEvents = cms.untracked.PSet(input=cms.untracked.int32(ivars.
    maxEvents))
process.options = cms.untracked.PSet(Rethrow=cms.untracked.vstring(
    'ProductNotFound'))
process.load('GeneratorInterface.PhojetInterface.PHOJET_MinBias_900GeV_cfi')
process.ana_step = cms.Path(process.ana)

import FWCore.ParameterSet.VarParsing as VarParsing
ivars = VarParsing.VarParsing('standard')
ivars.files = ''
ivars.output = 'HIPAT_output_full3.root'
ivars.maxEvents = 500
ivars.register('randomNumber', mult=ivars.multiplicity.singleton, info=
    'for testing')
ivars.register('initialEvent', mult=ivars.multiplicity.singleton, info=
    'for testing')
ivars.randomNumber = 5
ivars.initialEvent = 1
ivars.parseArguments()
import FWCore.ParameterSet.Config as cms
process = cms.Process('SIM')
process.load('Configuration/StandardSequences/Services_cff')
process.load('FWCore/MessageService/MessageLogger_cfi')
process.load('MitQcd/Production/VtxSmeared2360GeVCollisionDec1224_cfi')
process.RandomNumberGeneratorService.generator.initialSeed = ivars.randomNumber
process.RandomNumberGeneratorService.VtxSmeared.initialSeed = (ivars.
    randomNumber)
process.ana = cms.EDAnalyzer('HydjetAnalyzer')
process.TFileService = cms.Service('TFileService', fileName=cms.string(
    ivars.output))
process.maxEvents = cms.untracked.PSet(input=cms.untracked.int32(ivars.
    maxEvents))
process.options = cms.untracked.PSet(Rethrow=cms.untracked.vstring(
    'ProductNotFound'))
process.load('GeneratorInterface.PhojetInterface.PHOJET_MinBias_900GeV_cfi')
process.ana_step = cms.Path(process.ana)

import FWCore.ParameterSet.VarParsing as VarParsing

ivars = VarParsing.VarParsing('standard')
ivars.files = ''
ivars.output = 'HIPAT_output_full3.root'
ivars.maxEvents = 500
ivars.register ('randomNumber',
                mult=ivars.multiplicity.singleton,
                info="for testing")

ivars.register ('initialEvent',
                mult=ivars.multiplicity.singleton,
                info="for testing")

ivars.randomNumber=5
ivars.initialEvent=1
ivars.parseArguments()

import FWCore.ParameterSet.Config as cms

process = cms.Process('SIM')

# import of standard configurations
process.load('Configuration/StandardSequences/Services_cff')
process.load('FWCore/MessageService/MessageLogger_cfi')
#process.load('Configuration/StandardSequences/Generator_cff')

process.load('MitQcd/Production/VtxSmeared2360GeVCollisionDec1224_cfi')

process.RandomNumberGeneratorService.generator.initialSeed = ivars.randomNumber
process.RandomNumberGeneratorService.VtxSmeared.initialSeed = ivars.randomNumber

process.ana = cms.EDAnalyzer('HydjetAnalyzer'
                             )

process.TFileService = cms.Service('TFileService',
                                   fileName = cms.string(ivars.output)
                                   )

process.maxEvents = cms.untracked.PSet(
    input = cms.untracked.int32(ivars.maxEvents)
)
process.options = cms.untracked.PSet(
    Rethrow = cms.untracked.vstring('ProductNotFound')
)

process.load('GeneratorInterface.PhojetInterface.PHOJET_MinBias_900GeV_cfi')

process.ana_step = cms.Path(process.ana)



