Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:56:28

0001 # The following comments couldn't be translated into the new config version:
0002 
0003 #Geometry
0004 # add the description of the Alignment Tubes
0005 
0006 import FWCore.ParameterSet.Config as cms
0007 
0008 process = cms.Process("PROD")
0009 # include default services, like RandomNumberGenerator
0010 process.load("Configuration.StandardSequences.Services_cff")
0011 
0012 process.load("Configuration.StandardSequences.GeometryDB_cff")
0013 
0014 process.load("Configuration.StandardSequences.MagneticField_cff")
0015 
0016 process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
0017 
0018 #process.load("Configuration.StandardSequences.FakeConditions_cff")
0019 
0020 ## all db records
0021 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff" )
0022 process.GlobalTag.globaltag = 'PRE_MC62_V8::All'
0023 
0024 #process.load("Configuration.StandardSequences.VtxSmearedGauss_cff")
0025 
0026 process.load("SimGeneral.MixingModule.mixNoPU_cfi")
0027 
0028 process.load("Configuration.StandardSequences.Simulation_cff")
0029 ##process.simSiStripDigis.ZeroSuppression = False; ### NO ZERO SUPPRESSION
0030 
0031 process.MessageLogger = cms.Service("MessageLogger",
0032     destinations = cms.untracked.vstring('cout'),
0033     cout = cms.untracked.PSet(
0034         DDLParser = cms.untracked.PSet(
0035             limit = cms.untracked.int32(0)
0036         ),
0037         EcalGeom = cms.untracked.PSet(
0038             limit = cms.untracked.int32(0)
0039         ),
0040         default = cms.untracked.PSet( ## kill all messages in the log
0041 
0042             limit = cms.untracked.int32(0)
0043         ),
0044         TrackerSimInfoNumbering = cms.untracked.PSet(
0045             limit = cms.untracked.int32(0)
0046         ),
0047         CaloSim = cms.untracked.PSet(
0048             limit = cms.untracked.int32(0)
0049         ),
0050         GeometryInfo = cms.untracked.PSet(
0051             limit = cms.untracked.int32(0)
0052         ),
0053         FwkJob = cms.untracked.PSet( ## except *all* of FwkJob's      
0054             limit = cms.untracked.int32(-1)
0055         ),
0056         HCalGeom = cms.untracked.PSet(
0057             limit = cms.untracked.int32(0)
0058         ),
0059         HcalSim = cms.untracked.PSet(
0060             limit = cms.untracked.int32(0)
0061         ),
0062         TrackerMapDDDtoID = cms.untracked.PSet(
0063             limit = cms.untracked.int32(0)
0064         )
0065     ),
0066     categories = cms.untracked.vstring('CaloSim', 
0067         'DDLParser', 
0068         'EcalGeom', 
0069         'FwkJob', 
0070         'GeometryInfo', 
0071         'HCalGeom', 
0072         'HcalSim', 
0073         'TrackerMapDDDtoID', 
0074         'TrackerSimInfoNumbering')
0075 )
0076 
0077 
0078 process.source = cms.Source( "EmptySource",
0079     firstRun = cms.untracked.uint32( 1 )
0080 )
0081 
0082 process.laserAlignmentProducer = cms.EDProducer( "LaserAlignmentProducer" )
0083 
0084 process.maxEvents = cms.untracked.PSet(
0085     input = cms.untracked.int32( 1 )
0086 )
0087 process.o1 = cms.OutputModule("PoolOutputModule",
0088     compressionLevel = cms.untracked.int32( 9 ),
0089     fileName = cms.untracked.string('LaserEvents.SIM-DIGI.1136_raw.root'),
0090     outputCommands = cms.untracked.vstring(
0091       'drop *', 
0092       'keep *_simSiStripDigis_*_*'
0093     )
0094 )
0095 
0096 process.p1 = cms.Path(process.laserAlignmentProducer*process.simulation)
0097 process.output = cms.EndPath(process.o1)
0098 
0099 process.XMLIdealGeometryESSource.geomXMLFiles.append('Alignment/LaserAlignmentSimulation/data/AlignmentTubes.xml')
0100 process.g4SimHits.Physics.type = 'SimG4Core/Physics/LaserOpticalPhysics'
0101 process.g4SimHits.Generator.HepMCProductLabel = 'laserAlignmentProducer'
0102 process.g4SimHits.Watchers = cms.VPSet(
0103   cms.PSet(
0104     NumberOfPhotonsInEachBeam = cms.untracked.int32( 10 ),
0105     NumberOfPhotonsInParticleGun = cms.untracked.int32( 10 ),
0106     SiAbsorptionLengthScalingFactor = cms.untracked.double( 1.0 ),
0107     PhotonEnergy = cms.untracked.double( 1.15 ),
0108     MaterialPropertiesDebugLevel = cms.untracked.int32( 1 ),
0109     DebugLevel = cms.untracked.int32( 3 ),
0110     EnergyLossScalingFactor = cms.untracked.double( 1739.130435 ),
0111     type = cms.string( 'LaserAlignmentSimulation' )
0112   )
0113 )
0114