Compute the cross section for the input interaction.
62 double E2 = TMath::Power(E,2);
63 double Q2 = kinematics.
Q2();
64 double W = kinematics.
W();
66 double MN2 = TMath::Power(MN,2);
70 LOG(
"PaschLal",
pDEBUG) <<
"Input kinematics: W = " << W <<
", Q2 = " <<
Q2;
75 double MR2 = TMath::Power(MR,2);
76 double MR3 = TMath::Power(MR,3);
80 const double kPlRes_f3_P1232_V = 1.95/MN;
81 const double kPlRes_f4_P1232_V = -1.95/MN;
82 const double kPlRes_f5_P1232_V = 0;
83 const double kPlRes_f5_P1232_A = 1.2;
84 const double kPlRes_f4_P1232_A = -0.3/MN2;
85 const double kPlRes_f3_P1232_A = 0;
86 const double kPlRes_f6_P1232_A = kPlRes_f5_P1232_A;
88 double MA2 = TMath::Power(
fMa, 2 );
89 double MV2 = TMath::Power(
fMv, 2 );
90 double ftmp1a = TMath::Power( 1 + Q2/MA2, 2 );
91 double ftmp1v = TMath::Power( 1 + Q2/MA2, 2 );
92 double ftmp2a = 1 + Q2/3/MA2;
93 double ftmp2v = 1 + Q2/4/MV2;
94 double f3A = kPlRes_f3_P1232_A/ftmp1a/ftmp2a;
95 double f4A = kPlRes_f4_P1232_A/ftmp1a/ftmp2a;
96 double f5A = kPlRes_f5_P1232_A/ftmp1a/ftmp2a;
97 double f6A = kPlRes_f6_P1232_A/ftmp1a/ftmp2a/(Q2+Mpi2);
98 double f3V = kPlRes_f3_P1232_V/ftmp1v/ftmp2v;
99 double f4V = kPlRes_f4_P1232_V/ftmp1v/ftmp2v/
W;
100 double f5V = kPlRes_f5_P1232_V/ftmp1v/ftmp2v;
101 double f3V4A = f3V*f4A;
102 double f3V5A = f3V*f5A;
103 double f4V4A = f4V*f4A;
104 double f4V5A = f4V*f5A;
105 double f3A2 = TMath::Power( f3A, 2 );
106 double f4A2 = TMath::Power( f4A, 2 );
107 double f5A2 = TMath::Power( f5A, 2 );
108 double f6A2 = TMath::Power( f6A, 2 );
109 double f3V2 = TMath::Power( f3V, 2 );
110 double f4V2 = TMath::Power( f4V, 2 );
111 double f5V2 = TMath::Power( f5V, 2 );
120 if (
GetConfig().Exists(
"running-gamma") ) {
124 if ( gamma_model.find(
"Hagiwara") != string::npos )
129 if ( gamma_model.find(
"Galster") != string::npos )
132 double gtmp1 = TMath::Power( this->
PPiStar(W,MN) / this->
PPiStar(MR,MN), 3);
133 double gtmp2 = TMath::Power( this->
PPiStar(W,MN) / this->
PPiStar(MR,MN), 2);
134 Gamma_R = Gamma_R0*gtmp1/(1+gtmp2);
137 double Breit_Wigner = TMath::Power(W*W-MR2,2) + MR2 * TMath::Power(Gamma_R,2);
144 double nu = this->
Nu(Q2,W,MN);
146 double qk = -(Q2+Mmu2)/2.;
148 double pq2 = TMath::Power(pq,2);
149 double pq3 = TMath::Power(pq,3);
150 double Q4 = TMath::Power(Q2,2);
153 double W1=0, W2=0, W3=0, W4=0, W5=0;
155 W1 = 3.*(2*f5A2*MN2*MR2+2*f5A2*MN*MR3+2*f3A*f5A*MN2*MR*pq+2*f5A2*MR2*pq
156 +4*f3A*f5A*MN*MR2*pq+4*f4A*f5A*MN2*MR2*pq+2*f3A*f5A*MR3*pq
157 +4*f4A*f5A*MN*MR3*pq+2*f3A2*MN2*pq2+2*f3V2*MN2*pq2+2*f3A*f5A*MR*pq2
158 +2*f3A*f4A*MN2*MR*pq2+2*f3V*f4V*MN2*MR*pq2+2*f3V*f5V*MN2*MR*pq2
159 +2*f3A2*MR2*pq2+2*f3V2*MR2*pq2+4*f4A*f5A*MR2*pq2+4*f3A*f4A*MN*MR2*pq2
160 -4*f3V*f4V*MN*MR2*pq2-4*f3V*f5V*MN*MR2*pq2+2*f4A2*MN2*MR2*pq2+2*f4V2*MN2*MR2*pq2
161 +4*f4V*f5V*MN2*MR2*pq2+2*f5V2*MN2*MR2*pq2+2*f3A*f4A*MR3*pq2+2*f3V*f4V*MR3*pq2
162 +2*f3V*f5V*MR3*pq2+2*f4A2*MN*MR3*pq2-2*f4V2*MN*MR3*pq2-4*f4V*f5V*MN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4V*f5V*MR2*pq2+2*f5V2*MR2*pq2-2*f5A*f6A*MN2*Q2+f3A*f5A*MR*Q2
229 -2*f5A*f6A*MN*MR*Q2-f3A*f6A*MN2*MR*Q2-2*f3A*f6A*MN*MR2*Q2
230 -2*f4A*f6A*MN2*MR2*Q2-f3A*f6A*MR3*Q2-2*f4A*f6A*MN*MR3*Q2
231 -2*f5A*f6A*pq*Q2+2*f5V2*MN2*pq*Q2+2*f3V*f5V*MR*pq*Q2
232 -2*f5V2*MN*MR*pq*Q2-2*f4A*f6A*MR2*pq*Q2+2*f5V2*pq2*Q2-f3A*f6A*MR*Q4)/(3.*MR2);
234 double s1 = W1 * (Q2+Mmu2)
235 + W2 * (2*pk*pk-2*pq*pk+MN*qk)
237 + W4 * Mmu2*(Q2+Mmu2)/2.
254 int NNucl = (isp) ? target.
Z() : target.
N();
bool fTurnOnPauliCorrection
double W(bool selected=false) const
double J(double q0, double q3, double Enu, double ml)
double PPiStar(double W, double MN) const
...
double Q2(const Interaction *const i)
int HitNucPdg(void) const
double HitNucMass(void) const
Generated/set kinematical variables for an event.
double Mass(Resonance_t res)
resonance mass (GeV)
double Width(Resonance_t res)
resonance width (GeV)
virtual const Registry & GetConfig(void) const
double Nu(double Q2, double W, double MN) const
kinematic variables
double Pauli(double Q2, double W, double MN) const
Pauli suppression for D2.
virtual bool ValidKinematics(const Interaction *i) const
Is the input kinematical point a physically allowed one?
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
static const double kMuonMass2
A Neutrino Interaction Target. Is a transparent encapsulation of quite different physical systems suc...
RgStr GetString(RgKey key) const
bool ValidProcess(const Interaction *i) const
Can this cross section algorithm handle the input process?
const UInt_t kIAssumeFreeNucleon
double Jacobian(const Interaction *const i, KinePhaseSpace_t f, KinePhaseSpace_t t)
double Q2(bool selected=false) const
const Target & Tgt(void) const
double ProbeE(RefFrame_t rf) const
Initial State information.
static const double kPionMass2