CMS 3D CMS Logo

DarkBrem_SIM_cfi.py
Go to the documentation of this file.
1 #To use, add the following to the python configuration:
2 #process.load('SimG4Core.CustomPhysics.DarkBrem_SIM_cfi')
3 #process.g4SimHits.Physics.type = 'SimG4Core/Physics/CustomPhysics'
4 #process.g4SimHits.Physics = cms.PSet(
5 #process.g4SimHits.Physics,
6 #process.customPhysicsSetup
7 #)
8 #process.g4SimHits.Watchers = cms.VPSet(cms.PSet(
9 # DBremWatcher = cms.PSet(
10 # PDGCodes = cms.untracked.vint32([9994]),
11 # DBremBiasFactor = process.customPhysicsSetup.DBremBiasFactor
12 # ),
13 # type = cms.string('DBremWatcher')
14 #) )
15 
16 import FWCore.ParameterSet.Config as cms
17 
18 customPhysicsSetup = cms.PSet(
19  DBrem = cms.untracked.bool(True),
20  DBremMass = cms.untracked.double(1000.0), #Mass in MeV
21  DBremScaleFile = cms.untracked.string("root://cmseos.fnal.gov//store/user/revering/MuDBrem_Cu_mA1p0.root"),
22  DBremBiasFactor = cms.untracked.double(100)
23 )