#if !defined(GAMMAPTONPARTP) #define GAMMAPTONPARTP /* * GammaPToNPartP.h * by Igor Senderovich * structure based on GammaToXYZP * written by Matthew Shepherd */ #include "AMPTOOLS_MCGEN/ProductionMechanism.h" #include "CLHEP/Vector/LorentzVector.h" class Kinematics; class AmpVecs; class GammaPToNPartP { public: GammaPToNPartP( float lowMass, float highMass, vector &ChildMass, ProductionMechanism::Type type, float tcoef=4.0, float Ebeam=9.0/*GeV*/); Kinematics* generate(); void addResonance( float mass, float width, float bf ); private: ProductionMechanism m_prodMech; HepLorentzVector m_beam; HepLorentzVector m_target; //double m_ChildMass[12]; vector m_ChildMass; unsigned int m_Npart; }; #endif