This is the declaration of the Repository class.
Repository inherits from the BaseRepository class. While BaseRepository is fairly general and could in principle be used for any program where sets of InterfacedBase are managed, the Repository is Pythia7 specific in that it deals with ParticleData, ParticleMatchers, DecayModes, and EventGenerators.
One main function is to write an EventGenerator to disk using the saveRun method. Hera all objects needed for the run, including the EventGenerator is cloned and isolated from the Repository (and are hence not handled by the Repository anymore) before they are all persistently written out to disk.
The Register simply pass the objects to the corresonding method in BaseRepository, but if the object is a ParticleData, ParticleMatcher or a DecayMode, they are stored separately. In addition, if a ParticleData of a given type was not yet added to the list of default particles, this one will be.
BaseRepository.h, InterfacedBase.h, ParticleData.h, ParticleMatcher.h, DecayMode.h, EventGenerator.h, .h.
CLASS
Repository: