21 for(
int i=0; i<4; i++){
55 double cos_theta = (incMom[0]*prodMom[0]+incMom[1]*prodMom[1]+incMom[2]*prodMom[2])/(
Inc_P*
Prod_P);
56 double sin_theta = std::sqrt(1.-
pow(cos_theta,2.0));
81 double prod_E_lab = std::sqrt(Prod_P*Prod_P +
pow(
Prod_Mass,2));
88 for(
int i=0; i<3; i++) {
Inc_P4[i]=incMom[i];
Prod_P4[i]=prodMom[i];}
98 for(
int i=0; i<3; i++)
Vtx[i]=vtx[i];
111 for(
int i=0; i<3; i++) {
116 for(
int i=0; i<3; i++) {
120 for(
int i=0; i<3; i++) {
123 os<<
"xF,pT:"<<
xF<<
","<<
Pt;
double Ecm
Center of mass energy of the collision indident particle - nuclear proton.
int Prod_pdg
pdg code of the produced particle
double Pt
Transversal momentum (GeV/c) of the produced particle.
double Vtx[3]
Location of the interaction.
double Pz
Longitudinal momentum (GeV/c) of the produced particle.
std::ostream & print(std::ostream &os) const
double Inc_P4[4]
Momentum 4 vector of the incident particle, E=p[3].
double Prod_P
Momentum magnitude of the produced particle.
Q_EXPORT QTSManip setprecision(int p)
double xF
Feynmann-x of the produced particle: .
double Prod_P4[4]
Momentum 4 vector of the produced particle, E=p[3].
virtual ~InteractionData()
std::string Proc
Interaction process.
double Inc_P
Momentum magnitude of the incident particle.
std::string Vol
Interaction volume.
double Theta
Angle (rad) of the produced particle.
double Inc_Mass
Mass of the incident particle.
Q_EXPORT QTSManip setw(int w)
InteractionData()
Default Constructor.
int Inc_pdg
pdg code of the incident particle
QTextStream & endl(QTextStream &s)
double Prod_Mass
Mass of the produced particle.