Commit ba92ca08 authored by Riccardo Longo's avatar Riccardo Longo
Browse files

Merge branch 'WFA_Change_GetRMS' into 'master'

Wfa change get rms

See merge request !6
parents 537ada34 b52eeca2
......@@ -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();
......
......@@ -146,19 +146,19 @@ int main(int argc, char *argv[]){
//ATLAS ZDC
ZDC *zdc1 = new ZDC(1);
zdc1->SetWFAthresholds( 5, 30 );
zdc1->SetWFAthresholds( 5, 20 );
zdc1->SetMedianFilter( 4 );
r->AddDetector( zdc1 );
//ATLAS ZDC
ZDC *zdc2 = new ZDC(2);
zdc2->SetWFAthresholds( 5, 30 );
zdc2->SetWFAthresholds( 5, 20 );
zdc2->SetMedianFilter( 4 );
r->AddDetector( zdc2 );
//ATLAS ZDC
ZDC *zdc3 = new ZDC(3);
zdc3->SetWFAthresholds( 5, 30 );
zdc3->SetWFAthresholds( 5, 20 );
zdc3->SetMedianFilter( 4 );
r->AddDetector( zdc3 );
......
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