Skip to content

Commit

Permalink
adjust precision in MB computation
Browse files Browse the repository at this point in the history
  • Loading branch information
noferini authored and gconesab committed Feb 25, 2022
1 parent 564a213 commit 7beef78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MC/MaterialBudget/doStep.C
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ void doStep(Int_t prec=1, Int_t iMin=0, Int_t iMax=100, Float_t zMax=5., float s

double rMin =iMin*stepsize;
double rMax =iMax*stepsize;
Int_t nThetaBins = 1; // Y
Int_t nThetaBins = prec*45; // Y
Double_t thetaMin = 85;
Double_t thetaMax = 95;
Int_t nPhiBins = 1; //X
Int_t nPhiBins = prec*45; //X
Double_t phiMin = 0;
Double_t phiMax = 360;

Expand Down

0 comments on commit 7beef78

Please sign in to comment.