Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:33:00

0001 # Auto generated configuration file
0002 # using: 
0003 # Revision: 1.303.2.3 
0004 # Source: /cvs_server/repositories/CMSSW/CMSSW/Configuration/PyReleaseValidation/python/ConfigBuilder.py,v 
0005 # with command line options: Configuration/Generator/python/SinglePiE30HCAL_cfi.py -s GEN,SIM --conditions START311_V2::All --beamspot Realistic7TeV2011Collision --datatier GEN-SIM --eventcontent RAWSIM -n 10000 --no_exec
0006 import FWCore.ParameterSet.Config as cms
0007 
0008 process = cms.Process('SIMVAL')
0009 
0010 # import of standard configurations
0011 process.load('Configuration.StandardSequences.Services_cff')
0012 process.load("Configuration.StandardSequences.SimulationRandomNumberGeneratorSeeds_cff")
0013 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0014 process.load('FWCore.MessageService.MessageLogger_cfi')
0015 process.load('Configuration.EventContent.EventContent_cff')
0016 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0017 process.load('Configuration.StandardSequences.GeometryDB_cff')
0018 process.load('Configuration.StandardSequences.MagneticField_38T_cff')
0019 process.load('Configuration.StandardSequences.Generator_cff')
0020 process.load('IOMC.EventVertexGenerators.VtxSmearedRealistic7TeV2011Collision_cfi')
0021 process.load('GeneratorInterface.Core.genFilterSummary_cff')
0022 process.load('Configuration.StandardSequences.SimIdeal_cff')
0023 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0024 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0025 
0026 process.load('Validation.HcalHits.SimHitsValidationHcal_cfi')
0027 process.load("DQMServices.Core.DQM_cfg")
0028 process.DQM.collectorHost = ''
0029 process.load("DQMServices.Components.MEtoEDMConverter_cfi")
0030 
0031 process.maxEvents = cms.untracked.PSet(
0032     input = cms.untracked.int32(100)
0033 )
0034 
0035 # Input source
0036 process.source = cms.Source("EmptySource",
0037                 firstRun = cms.untracked.uint32(2)
0038 )
0039 
0040 process.options = cms.untracked.PSet(
0041 
0042 )
0043 
0044 
0045 
0046 # Production Info
0047 process.configurationMetadata = cms.untracked.PSet(
0048     annotation = cms.untracked.string('Configuration/Generator/python/SinglePiE30HCAL_cfi.py nevts:10000'),
0049     name = cms.untracked.string('PyReleaseValidation')
0050 )
0051 
0052 # Output definition
0053 
0054 process.ValidationOutput = cms.OutputModule("PoolOutputModule",
0055                         outputCommands = cms.untracked.vstring('drop *', 'keep *_MEtoEDMConverter_*_*'),
0056                         fileName = cms.untracked.string('output_seed2.root'),
0057 )
0058 
0059 # Additional output definition
0060 
0061 # Other statements
0062 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0063 process.GlobalTag.globaltag = cms.string('MC_60_V5::All')
0064 
0065 process.generator = cms.EDProducer("FlatRandomEGunProducer",
0066                    PGunParameters = cms.PSet(
0067         PartID = cms.vint32(211),
0068         MinEta = cms.double(-5.0),
0069         MaxEta = cms.double(5.0),
0070         MinPhi = cms.double(-3.14159265359),
0071         MaxPhi = cms.double(3.14159265359),
0072         MinE = cms.double(29.99),
0073         MaxE = cms.double(30.01)
0074     ),
0075                    Verbosity = cms.untracked.int32(0),
0076                    psethack = cms.string('single pi E 30 HCAL'),
0077                    AddAntiParticle = cms.bool(True)
0078 )
0079 
0080 process.RandomNumberGeneratorService.generator.initialSeed = 1988504
0081 
0082 # Path and EndPath definitions
0083 process.generation_step = cms.Path(process.pgen)
0084 process.simulation_step = cms.Path(process.psim)
0085 process.genfiltersummary_step = cms.EndPath(process.genFilterSummary)
0086 process.p1 = cms.Path(process.simHitsValidationHcal)
0087 process.p2 = cms.Path(process.MEtoEDMConverter)
0088 process.output_step = cms.EndPath(process.ValidationOutput)
0089 
0090 # Schedule definition
0091 process.schedule = cms.Schedule(process.generation_step,process.genfiltersummary_step,process.simulation_step,process.p1,process.p2,process.output_step)
0092 # filter all path with the production filter sequence
0093 for path in process.paths:
0094     getattr(process,path)._seq = process.generator * getattr(process,path)._seq