Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
1 merge request!6Wfa change get rms
......@@ -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();
......
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