--- quicklook/tof/src/TofScan.cpp 2007/10/08 12:28:54 1.4 +++ quicklook/tof/src/TofScan.cpp 2014/01/17 15:10:36 1.5 @@ -33,7 +33,9 @@ #include #include #include - +#include +#include +#include #include #include @@ -185,15 +187,16 @@ // find hitted paddle by looking for ADC values on both sides // since we looking for helium this gives decent results -Int_t tof11_i,tof12_i,tof21_i,tof22_i,tof31_i,tof32_i; +//Int_t tof11_i,tof12_i,tof21_i,tof22_i,tof31_i,tof32_i; +Int_t tof11_i,tof12_i,tof31_i,tof32_i; Float_t a1,a2; Int_t jj; // reset values tof11_i = -1; tof12_i = -1; -tof21_i = -1; -tof22_i = -1; +//tof21_i = -1; +//tof22_i = -1; tof31_i = -1; tof32_i = -1; @@ -207,16 +210,16 @@ a2 = adca[16+2*jj+1]; if ((a1 < 3000) && (a2 < 3000)) tof12_i = jj; } - for(jj=0; jj<2; jj++){ + /* for(jj=0; jj<2; jj++){ a1 = adca[28+2*jj]; a2 = adca[28+2*jj+1]; - if ((a1 < 3000) && (a2 < 3000)) tof21_i = jj; + // if ((a1 < 3000) && (a2 < 3000)) tof21_i = jj; } for(jj=0; jj<2; jj++){ a1 = adca[32+2*jj]; a2 = adca[32+2*jj+1]; - if ((a1 < 3000) && (a2 < 3000)) tof22_i = jj; - } + // if ((a1 < 3000) && (a2 < 3000)) tof22_i = jj; + }*/ for(jj=0; jj<3; jj++){ a1 = adca[36+2*jj]; a2 = adca[36+2*jj+1];