23 if(
fDebug>0)
printf(
"QPileUp is being computed from TOY MODEL ... ");
24 float e0 = 8.854187817e-3;
32 if(
fDebug>1)
printf(
"\n2PI*rho(r,z) = a fd (1 - b|z| + c) r^d\n");
39 float dr =
fRho->GetXaxis()->GetBinCenter(
r+1 )/100.0;
41 float dz =
fRho->GetZaxis()->GetBinCenter(
z+1 )/100.0;
43 float dp =
fRho->GetYaxis()->GetBinCenter(
p+1 );
44 float dRho = a*(1-b*TMath::Abs(dz)+
c)*fd*TMath::Power(dr,d);
45 fRho->SetBinContent(
r+1,
p+1,
z+1,dRho);
46 if(
fDebug>2)
printf(
"@{Ir,Ip,Iz}={%d (%f),%d (%f),%d (%f)}, rho %f\n",
r,dr,
p,dp,
z,dz,dRho);