36 const char* spectro,
const char* beam,
55 if( !trkifo || !trkifo->
IsOK() )
return 1;
R__EXTERN class THaRunBase * gHaRun
static const Double_t target_mass
static const Double_t electron_mass
const TVector3 & GetPvect() const
THaBeamInfo * GetBeamInfo()
THaTrackingModule * fSpectro
THaRunParameters * GetParameters() const
Double_t GetBeamP() const
virtual Int_t Process(const THaEvData &)
THaSAProtonEP(const char *name, const char *description, const char *spectro="", Double_t target_mass=-1.0)
const TVector3 & GetPvect() const
THaTrackInfo * GetTrackInfo()
Double_t Angle(const TVector3 &v) const
void SetVectM(const TVector3 &spatial, Double_t mass)
void SetXYZM(Double_t x, Double_t y, Double_t z, Double_t m)
RVec< PromoteType< T > > tan(const RVec< T > &v)
RVec< PromoteTypes< T0, T1 > > pow(const RVec< T0 > &v, const T1 &y)