Commit 566d128b authored by Daniel Hynds's avatar Daniel Hynds
Browse files

improved residual plot range


Former-commit-id: 52f015c6f58b7880a13af346cb8e834c96936e33
parent 1f311099
......@@ -32,9 +32,9 @@ void BasicTracking::initialise(Parameters* par){
string detectorID = parameters->detectors[det];
if(parameters->detector[detectorID]->type() != "Timepix3") continue;
string name = "residualsX_"+detectorID;
residualsX[detectorID] = new TH1F(name.c_str(),name.c_str(),400,-0.2,0.2);
residualsX[detectorID] = new TH1F(name.c_str(),name.c_str(),100,-0.02,0.02);
name = "residualsY_"+detectorID;
residualsY[detectorID] = new TH1F(name.c_str(),name.c_str(),400,-0.2,0.2);
residualsY[detectorID] = new TH1F(name.c_str(),name.c_str(),100,-0.02,0.02);
}
nTracksTotal = 0.;
......
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