This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| gaudi:modifyparticletable [2011/09/06 16:06] – decianm | gaudi:modifyparticletable [2011/09/14 09:35] (current) – che | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ===== Idea ===== | ===== Idea ===== | ||
| You can modify the properties of particles, which are stored in the DDDB under param/ | You can modify the properties of particles, which are stored in the DDDB under param/ | ||
| - | ===== How to ===== | + | ===== How (not) to ===== |
| - | This example is for Gauss v40r2p3. In Gauss-Job.py (or similar) write: | + | This example is for Gauss v40r2p3 |
| <code python> | <code python> | ||
| from Configurables import LHCb__ParticlePropertySvc as ParticlePropertySvc | from Configurables import LHCb__ParticlePropertySvc as ParticlePropertySvc | ||
| Line 16: | Line 16: | ||
| </ | </ | ||
| * **Note**: You have to write all the modifications in one list. | * **Note**: You have to write all the modifications in one list. | ||
| + | If this does not give you what you want, try adding in your someNumber.opts file: | ||
| + | <code python> | ||
| + | ParticlePropertySvc.Particles = { " | ||
| + | " | ||
| + | </ | ||
| ===== Check ===== | ===== Check ===== | ||
| At the beginning of your Gauss job, you should then see something like: | At the beginning of your Gauss job, you should then see something like: | ||
| < | < | ||
| - | LHCb::ParticlePropert... | + | ParticlePropertySvc |
| - | LHCb:: | + | ParticlePropertySvc |
| - | LHCb:: | + | ParticlePropertySvc |
| + | ParticlePropertySvc | ||
| + | ParticlePropertySvc | ||
| </ | </ | ||