// // ******************************************************************** // * 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: G4Scatterer.hh,v 1.4 2003/06/16 17:08:45 gunter Exp $ // // // // ------------------------------------------------------------------- // GEANT4 Class file // // // File name: G4Scatterer.hh // // Author: Maria Grazia Pia // // Creation date: 1 January 2000 // // Modifications: // // // ---------------------------------------------------------------------- #ifndef G4SCATTERER_HH #define G4SCATTERER_HH #include "globals.hh" #include #include "G4VScatterer.hh" #include "G4VCollision.hh" #include "G4KineticTrackVector.hh" #include "G4CollisionVector.hh" class G4KineticTrack; class G4Scatterer : public G4VScatterer { public: G4Scatterer(); virtual ~G4Scatterer(); virtual G4double GetTimeToInteraction(const G4KineticTrack& trk1, const G4KineticTrack& trk2); G4double GetCrossSection(const G4KineticTrack& trk1, const G4KineticTrack& trk2); virtual G4KineticTrackVector* Scatter(const G4KineticTrack& trk1, const G4KineticTrack& trk2); private: G4VCollision* FindCollision(const G4KineticTrack& trk1, const G4KineticTrack& trk2); G4CollisionVector collisions; }; #endif