Skip to content

Commit 6b90b1f

Browse files
authored
[ALICE3] IOTOF: update id number to current number of chips
1 parent 1d64083 commit 6b90b1f

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Detectors/Upgrades/ALICE3/IOTOF/macros/CheckDigitsIOTOF.C

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -228,21 +228,21 @@ void CheckDigitsIOTOF(std::string digifile = "tf3digits.root", std::string hitfi
228228
auto canvXY = new TCanvas("canvXY", "", 1600, 800);
229229
canvXY->Divide(2, 1);
230230
canvXY->cd(1);
231-
nt->Draw("y:x>>h_y_vs_x_IOTOF(1000, -100, 100, 1000, -100, 100)", "id >= 0 && id < 53568", "colz");
231+
nt->Draw("y:x>>h_y_vs_x_IOTOF(1000, -100, 100, 1000, -100, 100)", "id >= 0 && id < 55488", "colz");
232232
canvXY->cd(2);
233-
nt->Draw("y:z>>h_y_vs_z_IOTOF(1000, -400, 400, 1000, -100, 100)", "id >= 0 && id < 53568", "colz");
233+
nt->Draw("y:z>>h_y_vs_z_IOTOF(1000, -400, 400, 1000, -100, 100)", "id >= 0 && id < 55488", "colz");
234234
canvXY->SaveAs("tf3digits_y_vs_x_vs_z.pdf");
235235

236236
// z distributions
237237
auto canvZ = new TCanvas("canvZ", "", 800, 800);
238238
canvZ->cd();
239-
nt->Draw("z>>h_z_IOTOF(500, -70, 70)", "id >= 0 && id < 53568 ");
239+
nt->Draw("z>>h_z_IOTOF(500, -70, 70)", "id >= 0 && id < 55488 ");
240240
canvZ->SaveAs("tf3digits_z.pdf");
241241

242242
// dz distributions (difference between local position of digits and hits in x and z)
243243
auto canvdZ = new TCanvas("canvdZ", "", 800, 800);
244244
canvdZ->cd();
245-
nt->Draw("dz>>h_dz_ML(500, -0.05, 0.05)", "id >= 0 && id < 53568 ");
245+
nt->Draw("dz>>h_dz_ML(500, -0.05, 0.05)", "id >= 0 && id < 55488 ");
246246
canvdZ->SaveAs("tf3digits_dz.pdf");
247247
canvdZ->SaveAs("tf3digits_dz.root");
248248

@@ -256,7 +256,7 @@ void CheckDigitsIOTOF(std::string digifile = "tf3digits.root", std::string hitfi
256256
Info("ITOF", "RMS(dx)=%.1f mu", h->GetRMS(2) * 1e4);
257257
Info("ITOF", "RMS(dz)=%.1f mu", h->GetRMS(1) * 1e4);
258258
canvdXdZ->cd(2);
259-
nt->Draw("dx:dz>>h_dx_vs_dz_OTOF(600, -0.03, 0.03, 600, -0.03, 0.03)", "id >= 1920 && id < 53568", "colz");
259+
nt->Draw("dx:dz>>h_dx_vs_dz_OTOF(600, -0.03, 0.03, 600, -0.03, 0.03)", "id >= 1920 && id < 55488", "colz");
260260
addTLines(0.01);
261261
h = (TH2F*)gPad->GetPrimitive("h_dx_vs_dz_OTOF");
262262
Info("OTOF", "RMS(dx)=%.1f mu", h->GetRMS(2) * 1e4);
@@ -275,7 +275,7 @@ void CheckDigitsIOTOF(std::string digifile = "tf3digits.root", std::string hitfi
275275
Info("ITOF", "RMS(dxH)=%.1f mu", h->GetRMS(2) * 1e4);
276276
Info("ITOF", "RMS(dzH)=%.1f mu", h->GetRMS(1) * 1e4);
277277
canvdXdZHit->cd(2);
278-
nt2->Draw("dxH:dzH>>h_dxH_vs_dzH_OTOF(300, -0.03, 0.03, 300, -0.03, 0.03)", "id >= 1920 && id < 53568", "colz");
278+
nt2->Draw("dxH:dzH>>h_dxH_vs_dzH_OTOF(300, -0.03, 0.03, 300, -0.03, 0.03)", "id >= 1920 && id < 55488", "colz");
279279
addTLines(0.01);
280280
h = (TH2F*)gPad->GetPrimitive("h_dxH_vs_dzH_OTOF");
281281
Info("OTOF", "RMS(dxH)=%.1f mu", h->GetRMS(2) * 1e4);

0 commit comments

Comments
 (0)