Commit 26a58edb authored by ymoyal's avatar ymoyal
Browse files

Update GetRMS() to cut on third of max and min values of the first derivative.

parent 537ada34
......@@ -329,7 +329,7 @@ double WFAnalysis::GetRMS( Channel* Ch ){
hDiffHisto->Reset();
hDiffHisto->ResetStats();
hDiffHisto->SetBins( (xmax - xmin)/12, xmin, xmax);
hDiffHisto->SetBins( (xmax - xmin)/36, xmin/3, xmax/3);
//Loop over the histogram excluding the window used for differentiating to fill hRMS
Int_t nbins = Ch->FirstDerivative->GetNbinsX();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment