// // ******************************************************************** // * DISCLAIMER * // * * // * The following disclaimer summarizes all the specific disclaimers * // * of contributors to this software. The specific disclaimers,which * // * govern, are listed with their locations in: * // * http://cern.ch/geant4/license * // * * // * Neither the authors of this software system, nor their employing * // * institutes,nor the agencies providing financial support for this * // * work make any representation or warranty, express or implied, * // * regarding this software system or assume any liability for its * // * use. * // * * // * This code implementation is the intellectual property of the * // * GEANT4 collaboration. * // * By copying, distributing or modifying the Program (or any work * // * based on the Program) you indicate your acceptance of this * // * statement, and all its terms. * // ******************************************************************** // // // $Id: G4VSamplerConfigurator.hh,v 1.6 2003/11/26 14:51:49 gcosmo Exp $ // GEANT4 tag $Name: geant4-06-00-patch-01 $ // // ---------------------------------------------------------------------- // Class G4VSamplerConfigurator // // Class description: // // This is an interface for configurators setting up processes // needed for importance sampling and scoring. // The Configurator may be given a pointer to another Configurator. // If a configurator will be given a pointer to another configurator // it may obtain a G4VTrackTerminator from the given Configurator. // This way it is possible to delegate the killing of a track. // Author: Michael Dressel (Michael.Dressel@cern.ch) // ---------------------------------------------------------------------- #ifndef G4VSamplerConfigurator_hh #define G4VSamplerConfigurator_hh G4VSamplerConfigurator_hh #include "G4Types.hh" #include class G4VTrackTerminator; class G4VSamplerConfigurator { public: // with description G4VSamplerConfigurator(); virtual ~G4VSamplerConfigurator(); virtual void Configure(G4VSamplerConfigurator *preConf) = 0; // Do the configuration, if preConf is given a // G4VTrackTerminator may be obtained from it. virtual const G4VTrackTerminator *GetTrackTerminator() const = 0; // Return a G4VTrackTerminator or 0. }; typedef std::vector G4Configurators; #endif