User Tools

Site Tools


gaudi:modifyparticletable

This is an old revision of the document!


Modifying the properties of particles in ParticleTable.txt

Idea

You can modify the properties of particles, which are stored in the DDDB under param/ParticleTable.txt. This can be useful e.g. in Gauss.

How to

This example is for Gauss v40r2p3. In Gauss-Job.py (or similar) write:

from Configurables import LHCb__ParticlePropertySvc as ParticlePropertySvc
ParticlePropertySvc().Particles = [ "K*_2(1430)0         153         315  0.0        0.100000   1.0e-10                    K_2*0         315        0.0", 
                                    "K*_2(1430)~0        154        -315  0.0        0.100000   1.0e-10               anti-K_2*0        -315        0.0" ]
 
ApplicationMgr().ExtSvc    += [ ParticlePropertySvc() ]

if you want to modify the properties of the K*_2(1430) and its antiparticle. The columns are:

Particle GeantID PDGID CHARGE MASS(GeV) LIFETIME(s) EVTGENNAME PYTHIAID MAXWIDTH
  • Note: You have to write all the modifications in one list.

Check

At the beginning of your Gauss job, you should then see something like:

LHCb::ParticlePropert...   INFO  Mass     has beed redefined for [ 'K*_2(1430)0' , 'K*_2(1430)~0' ]
LHCb::ParticlePropert...   INFO  Lifetime has beed redefined for [ 'K*_2(1430)0' , 'K*_2(1430)~0' ]
LHCb::ParticlePropert...   INFO  MaxWidth has beed redefined for [ 'K*_2(1430)0' , 'K*_2(1430)~0' ]
gaudi/modifyparticletable.1315317998.txt.gz · Last modified: by decianm