File:
PackageHandler.h
This file may become a part of CLHEP - a Class Library for High Energy Physics.
This is the definition of the HepPackageHandler, HepDecayModel and HepParticleProducer classes.
The HepPackageHandler class is an abstract base class used to allow the CLHEP particle data table to handle information used by user defined packaged with different particle instanciation schemes and/or models for particle decays. In this way, all the information needed for a program using the CLHEP particle data table can be handled by HepPDTable and can be stored in the same ASCII file as the particle properties handled directly by HepPDTable.
The HepDecayModel is an empty abstract base class intended to keep information needed to perform an actual particle decay and also to perform the decay given an object corresponding to an actual particle instance in the given package.
The HepParticleProducer is an empty abstract base class intended to store package specific information for a particle type and should be able to create an object correponding to an actual particle instance in the given package.
HepPackageHandler have five purely virtual methods which has to be implemented by a derived class.
Note that while the HepPDTable is responsible for the handeling of HepPackageHandler objects, the class derived from HepPackageHandler is itself responsible for the handeling of corresponding HepParticleProducer and HepDecayModel objects.
CLASS HepDecayModel
CLASS HepParticleProducer
CLASS HepPackageHandler