diff --git a/Projects/S034/macro/CheckMinos.cxx b/Projects/S034/macro/CheckMinos.cxx index db7d95f2a41292394f76d07de41ef777a6af01d5..ffc1060c76124e75c6768147fe58d9091c6945e2 100644 --- a/Projects/S034/macro/CheckMinos.cxx +++ b/Projects/S034/macro/CheckMinos.cxx @@ -4,17 +4,25 @@ void CheckMinos(){ auto tree1 = (TTree*) f1->FindObjectAny("PhysicsTree"); auto f2 = new TFile("root/analysis/run824CheckMinos.root","READ"); auto tree2 = (TTree*) f2->FindObjectAny("PhysicsTree"); + auto f3 = new TFile("root/analysis/run570CheckMinos.root","READ"); + auto tree3 = (TTree*) f3->FindObjectAny("PhysicsTree"); + auto c = new TCanvas(); - c->Divide(2,2); + c->Divide(2,3); c->cd(1); tree1->Draw("Minos.Z_Vertex>>h1(500,-150,250)","sqrt(X_Vertex*X_Vertex+Y_Vertex*Y_Vertex)<15"); c->cd(2); - tree1->Draw("Minos.Delta_Vertex>>h2(100,0,10)"); + tree1->Draw("Minos.Delta_Vertex>>h2(100,0,30)","Minos.Delta_Vertex>-1000"); c->cd(3); tree2->Draw("Minos.Z_Vertex>>h3(500,-150,250)","sqrt(X_Vertex*X_Vertex+Y_Vertex*Y_Vertex)<15"); c->cd(4); - tree2->Draw("Minos.Delta_Vertex>>h4(100,0,10)"); + tree2->Draw("Minos.Delta_Vertex>>h4(100,0,30)","Minos.Delta_Vertex>-1000"); + c->cd(5); + tree3->Draw("Minos.Z_Vertex>>h5(500,-150,250)","sqrt(X_Vertex*X_Vertex+Y_Vertex*Y_Vertex)<15"); + c->cd(6); + tree3->Draw("Minos.Delta_Vertex>>h6(100,0,30)","Minos.Delta_Vertex>-1000"); + diff --git a/Projects/S034/macro/CheckMinos.sh b/Projects/S034/macro/CheckMinos.sh index 05fd58771974126110c6a5809b5449231479b7a4..998deb8b684b9d0f2f5a9210d71ad5a3c613d32d 100755 --- a/Projects/S034/macro/CheckMinos.sh +++ b/Projects/S034/macro/CheckMinos.sh @@ -1,9 +1,12 @@ # convert physics run -ridf2nptool raw/run0582.ridf.gz root/mrdc/run582.root db/s034_list.txt +ridf2nptool -l raw/run0582.ridf.gz root/mrdc/run582.root db/s034_list.txt # convert an empty target run -ridf2nptool raw/run0824.ridf.gz root/mrdc/run824.root db/s034_list.txt +ridf2nptool -l raw/run0824.ridf.gz root/mrdc/run824.root db/s034_list.txt +# convert another physics run +ridf2nptool -l raw/run0570.ridf.gz root/mrdc/run570.root db/s034_list.txt # analysis of both run -npcompilation -l && npanalysis -D s034.detector -C calibration.txt -T root/mrdc/run582.root RawTree -O run582CheckMinos -L 100000 -npcompilation -l && npanalysis -D s034.detector -C calibration.txt -T root/mrdc/run824.root RawTree -O run824CheckMinos -L 100000 +npcompilation -l && npanalysis -D s034.detector -C calibration.txt -T root/mrdc/run582.root RawTree -O run582CheckMinos +npcompilation -l && npanalysis -D s034.detector -C calibration.txt -T root/mrdc/run824.root RawTree -O run824CheckMinos +npcompilation -l && npanalysis -D s034.detector -C calibration.txt -T root/mrdc/run570.root RawTree -O run570CheckMinos # Plot the results root macro/CheckMinos.cxx