Skip to content
Snippets Groups Projects
Commit d0d1bc05 authored by Lorenzo Moneta's avatar Lorenzo Moneta
Browse files

update for change of enumeration name

git-svn-id: http://root.cern.ch/svn/root/trunk@24434 27541ba8-7e3a-0410-8455-c3a389f83636
parent 406fbf76
No related branches found
No related tags found
No related merge requests found
......@@ -113,7 +113,7 @@ void DrawCumulative(double x1, double x2, int n = 100){
// alternative method using ROOT::Math::Functor class
ROOT::Math::Functor1D f1(& TMath::BreitWigner);
ROOT::Math::Integrator ig(f1, ROOT::Math::IntegrationOneDim::ADAPTIVE,1.E-12,1.E-12);
ROOT::Math::Integrator ig(f1, ROOT::Math::IntegrationOneDim::kADAPTIVE,1.E-12,1.E-12);
TH1D *cum1 = new TH1D("cum1", "", n, x1, x2);
for (int i = 1; i <= n; ++i) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment