Dear colleagues,
See below a short description of the update
of VMC in the last release of Root (3.10/01)
and the geant3+_vmc and geant4_vmc modules.
The new versions are available from:
http://root.cern.ch/root/vmc/VirtualMC.html
Best regards,
Ivana
----
VMC:
TVirtualMC:
===========
- Added new functions to enable user to define own particles
and ions:
DefineParticle(Int_t pdg, const char* name, TMCParticleType pType,
Double_t mass, Double_t charge, Double_t lifetime);
DefineIon(const char* name, Int_t Z, Int_t A,
Int_t Q, Double_t excEnergy, Double_t mass = 0.);
- Gfpart was replaced with get functions:
TString ParticleName(Int_t pdg) const;
Double_t ParticleMass(Int_t pdg) const;
Double_t ParticleCharge(Int_t pdg) const;
Double_t ParticleLifeTime(Int_t pdg) const;
TMCParticleType ParticleMCType(Int_t pdg) const;
- Suppressed function:
void DefineParticles();
This function is now called only internally by each MC and should
not be called from user application.
(The call to it should be removed from UserMCApplication::InitMC().)
TVirtualMCApplication:
======================
- Added new function:
void AddParticles();
This function should be used by a user to define his own particles
or ions via gMC->DefineParticle(), gMC->DefineIon().
The new particles definitions defined by a user are saved
in TDatabasePDG and can be then used in
UserMCApplication::GeneratePrimaries().
- Default implementation of the following functions is provided
(they need not to be implemented in a user derived class if
they are not used):
void AddParticles() {}
Double_t TrackingRmax() const { return DBL_MAX; }
Double_t TrackingZmax() const { return DBL_MAX; }
==============================================================
e-mail: Ivana.Hrivnacova@cern.ch
address: Institut Physique Nucleaire, 91406 Orsay, France
phone: (33) 01 69 15 65 94
==============================================================
This archive was generated by hypermail 2b29 : Fri Jan 02 2004 - 02:46:51 MET