![]() ![]() ![]() Next: Acknowledgements Up: KtJet Previous: Optimisation issues Adding new functionalityKtJet interfaces with its recombination and jet resolution schemes via purely abstract base classes called KtRecom and KtDistance respectively. The packaged code comes supplied with 5 Recombination and 3 jet resolution schemes, shown in table 2 along with their angle and recom flags. Users can define their own recombination and jet resolution scheme classes which inherit from the base classes KtRecom and KtDistance and use these instead of the supplied schemes. To use their own scheme the user needs to pass pointers to the base classes, instantiated as their own scheme objects, in the KtEvent constructor instead of the integer flags.As an example, if the user defines a new jet resolution scheme in the class KtDistanceNew, and wishes to use the ![]() ![]() KtDistance* distance_scheme = new KtDistanceNew(2); KtEvent ev(particles, 2, distance_scheme, 1, rparameter);If the user defines a new recombination scheme in the class KtRecomNew, and wishes to use the angle=2 scheme in a ![]() KtRecom* recom_scheme = new KtRecomNew(); KtEvent ev(particles, 4, 2, recom_scheme, rparameter);Users are invited to submit any such additions to the authors for inclusion in future releases. ![]() ![]() ![]() Next: Acknowledgements Up: KtJet Previous: Optimisation issues Jonathan Couchman 2002-10-02 |