Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 23:31:18

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("PROD")
0004 
0005 process.load("SimG4CMS.HcalTestBeam.TB2006GeometryNoEcalXML_cfi")
0006 
0007 from SimG4CMS.HcalTestBeam.TB2006Analysis_cfi import *
0008 process = testbeam2006(process)
0009 
0010 process.TFileService = cms.Service("TFileService",
0011     fileName = cms.string('tb_pi_50gevNOECAL.root')
0012 )
0013 
0014 process.MessageLogger.cerr.enable = False
0015 process.MessageLogger.files.tb_pi_50gevNOECAL = dict(extension="txt")
0016 
0017 process.common_beam_direction_parameters.MinE = cms.double(50.0)
0018 process.common_beam_direction_parameters.MaxE = cms.double(50.0)
0019 process.common_beam_direction_parameters.PartID = cms.vint32(-211)
0020 
0021 process.generator.PGunParameters.MinE = process.common_beam_direction_parameters.MinE
0022 process.generator.PGunParameters.MaxE = process.common_beam_direction_parameters.MaxE
0023 process.generator.PGunParameters.PartID = process.common_beam_direction_parameters.PartID
0024 
0025 process.VtxSmeared.MinE = process.common_beam_direction_parameters.MinE
0026 process.VtxSmeared.MaxE = process.common_beam_direction_parameters.MaxE
0027 process.VtxSmeared.PartID = process.common_beam_direction_parameters.PartID
0028 
0029 process.testbeam.MinE = process.common_beam_direction_parameters.MinE
0030 process.testbeam.MaxE = process.common_beam_direction_parameters.MaxE
0031 process.testbeam.PartID = process.common_beam_direction_parameters.PartID
0032 process.testbeam.ECAL = cms.bool(False)
0033 
0034 process.testbeam.TestBeamAnalysis.EcalFactor = cms.double(1.)
0035 process.testbeam.TestBeamAnalysis.HcalFactor = cms.double(100.)
0036 
0037 process.maxEvents = cms.untracked.PSet(
0038     input = cms.untracked.int32(5000)
0039 )
0040 
0041 process.g4SimHits.Physics.type = 'SimG4Core/Physics/QGSP_FTFP_BERT_EML'
0042 
0043 
0044