Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix remaining luminosity combinations #26

Merged
merged 4 commits into from
May 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions src/Vlumifns_LHApdf.C
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ double qqbar_lumi(const pdfArray& X1, const pdfArray& X2, process p, collider c)
+ X1.b * X2.b + X1.bbar * X2.bbar ) ; }
else if (c==piso) { return
pref_u * ( X1.u * (X2.ubar+X2.dbar)/2. + X1.ubar * (X2.u+X2.d)/2.
+ 2. * X1.c * X2.c )
+ X1.c * X2.cbar + X1.cbar * X2.c )
+ pref_d * ( X1.d * (X2.dbar+X2.ubar)/2. + X1.dbar * (X2.d+X2.u)/2.
+ X1.s * X2.sbar + X1.sbar * X2.s
+ X1.b * X2.bbar + X1.bbar * X2.b ) ; }
Expand Down Expand Up @@ -228,7 +228,7 @@ double gq_lumi(const pdfArray& X1, const pdfArray& X2, collider c){
else if ((c==pp) || (c==ppbar)) { return
( vsqasq_u * (X2.u + X2.ubar + X2.c + X2.cbar)
+ vsqasq_d * (X2.d + X2.dbar
+ X2.s + X2.sbar + 2. * X2.b) )
+ X2.s + X2.sbar + X2.b + X2.bbar) )
* X1.gluon;
}
else if (c==piso) { return
Expand Down Expand Up @@ -304,8 +304,8 @@ double qq_22_lumi(const pdfArray& X1, const pdfArray& X2, collider c){
else if ((c==pp) || (c==ppbar)){ return
( vsqasq_u * ( X2.u + X2.ubar + X2.c + X2.cbar )
+ vsqasq_d * ( X2.d + X2.dbar + X2.s + X2.sbar + X2.b + X2.bbar ) )
* ( X1.u + X1.ubar + 2.*X1.c
+ X1.d + X1.dbar + X1.s + X1.sbar + 2.*X1.b );
* ( X1.u + X1.ubar + X1.c + X1.cbar
+ X1.d + X1.dbar + X1.s + X1.sbar + X1.b + X1.bbar );
}
else if (c==piso){ return
( vsqasq_u * ( (X2.u + X2.ubar + X2.d + X2.dbar)/2. + X2.c + X2.cbar )
Expand All @@ -328,18 +328,18 @@ double qq_12_lumi(const pdfArray& X1, const pdfArray& X2, collider c){
return 0.;
}
double temp = - (
vuvu * (X1.u - X1.ubar) * (X2.u - X2.ubar)
+ vuvd * ( (X1.u - X1.ubar) * (X2.d - X2.dbar)
+ (X1.d - X1.dbar) * (X2.u - X2.ubar) )
+ vdvd * (X1.d - X1.dbar) * (X2.d - X2.dbar) ) ;
vuvu * (X1.u - X1.ubar + X1.c - X1.cbar) * (X2.u - X2.ubar + X2.c - X2.cbar)
+ vuvd * ( (X1.u - X1.ubar + X1.c - X1.cbar) * (X2.d - X2.dbar + X2.s - X2.sbar + X2.b - X2.bbar)
+ (X1.d - X1.dbar + X1.s - X1.sbar + X1.b - X1.bbar) * (X2.u - X2.ubar + X2.c - X2.cbar) )
+ vdvd * (X1.d - X1.dbar + X1.s - X1.sbar + X1.b - X1.bbar) * (X2.d - X2.dbar + X2.s - X2.sbar + X2.b - X2.bbar) ) ;
if (c==pp){ return temp; }
else if (c==ppbar) { return - temp; }
else if(c==piso) {
return - (
vuvu * (X1.u - X1.ubar)
cschwan marked this conversation as resolved.
Show resolved Hide resolved
+ vuvd * ( (X1.u - X1.ubar + X1.d - X1.dbar)
+ vdvd * (X1.d - X1.dbar))
* (X2.u - X2.ubar + X2.d - X2.dbar)/2. );
vuvu * (X1.u - X1.ubar + X1.c - X1.cbar) * ((X2.u - X2.ubar + X2.d - X2.dbar)/2.0 + X2.c - X2.cbar)
+ vuvd * ( (X1.u - X1.ubar + X1.c - X1.cbar) * ((X2.u - X2.ubar + X2.d - X2.dbar)/2.0 + X2.s - X2.sbar + X2.b - X2.bbar)
+ (X1.d - X1.dbar + X1.s - X1.sbar + X1.b - X1.bbar) * ((X2.u - X2.ubar + X2.d - X2.dbar)/2.0 + X2.c - X2.cbar) )
+ vdvd * (X1.d - X1.dbar + X1.s - X1.sbar + X1.b - X1.bbar) * ((X2.u - X2.ubar + X2.d - X2.dbar)/2.0 + X2.s - X2.sbar + X2.b - X2.bbar) ) ;
}
else return 0.;
}
Expand Down