//////////////////////////////////////////////////////////////////// ///\class RAT::VertexGen_ProtonES ///\author Christopher Jones -- contact person ///\date 24-Apr-2013 /// ///\brief Vertex generator for neutrino-proton elastic scattering. /// /// \details /// This class generates a vertex of a neutrino-electron elastic scattering. /// It is strongly based in an initial implementation by Christopher Jones and adapted from the neutrino-electron elastic scattering vertex /// generator. /// /// REVISION HISTORY: /// - 30/04/2013 C. Jones (Oxford): /// -# Original implementation /// - 26/11/2014 Matt Strait: Doxygen fixes //////////////////////////////////////////////////////////////////// #ifndef __RAT_VertexGen_ProtonES__ #define __RAT_VertexGen_ProtonES__ #include /// - RAT includes #include #include namespace RAT { class GLG4TimeGen; class VertexGen_ProtonES : public GLG4VertexGen { public: VertexGen_ProtonES(const char *arg_dbname="proton_es"); virtual ~VertexGen_ProtonES(); virtual void GeneratePrimaryVertex(G4Event* argEvent,G4ThreeVector& nudir, G4double nTime); virtual void SetState( G4String newValues ); virtual G4String GetState(); private: G4ParticleDefinition *fProton,*fNu; ProtonESgen fProtonESgen; G4ThreeVector fNuDir; }; } // namespace RAT #endif