diff --git a/macros/CCEScan/landauFit.C b/macros/CCEScan/landauFit.C index e6268e0..6a4a17e 100755 --- a/macros/CCEScan/landauFit.C +++ b/macros/CCEScan/landauFit.C @@ -180,7 +180,6 @@ sector,fill,(int)radius, (int)caliStep)); } - Printf("ci so, 0"); // Set the radius to an irrelevant value if (radius<0.0) { @@ -216,12 +215,10 @@ lay.Data())); - Printf("ci so, 1"); TFile* f_data = TFile::Open(fn_data.Data()); - Printf("ci so, 2"); if (!f_data) { Error("landauFit","Data file does not exist!"); @@ -243,7 +240,6 @@ return EXIT_FAILURE; } - Printf("ci so, 3"); TH1F* h_sig = new TH1F("h_sig","Signal histo", @@ -270,7 +266,6 @@ // Get full selection for signal tracks/hits including radius TCut cu_sig = cu_bkg && cu_sel && TCut(Form("(TMath::Sqrt(xHit*xHit+yHit*yHit)<%f)",radius)); - Printf("ci so, 4"); // Fill Histograms @@ -315,7 +310,6 @@ RooArgList(*nG1,*nG2), RooArgList(*nFrac)); - Printf("ci so, 5"); // Fit and plot noise sample @@ -336,7 +330,7 @@ // PDF for signal // Constrain parameters fixed in the noise fit - nMu->setConstant(kTRUE); + //nMu->setConstant(kTRUE); //nSig1->setConstant(kTRUE); //nSig2->setConstant(kTRUE); nFrac->setConstant(kTRUE);