bug in numbering fixed
authoralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 15 Feb 2008 11:45:06 +0000 (11:45 +0000)
committeralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 15 Feb 2008 11:45:06 +0000 (11:45 +0000)
T0/T0Laserda.cxx

index 85b8a2f277e9e3e7c052a488afd766d1b2e85ada..51881daaade48ac414b6b7bf90f2c73774662430 100644 (file)
@@ -240,8 +240,8 @@ int main(int argc, char **argv) {
                 if((allData[cc+45][iHt]-allData[0][0]+5000)!=0 && allData[cc+45][iHt]>0){
                  hCFD[cc]->Fill(allData[cc+45][iHt]-allData[0][0]+5000);
                 }
-                if(allData[ik+69][iHt]!=0 && allData[ik+70][iHt]!=0 && allData[cc+45][iHt]!=0){
-                 hCFD_QTC[cc]->Fill(allData[ik+70][iHt]-allData[ik+69][iHt],allData[cc+45][iHt]-allData[0][0]+5000);
+                if(allData[ik+57][iHt]!=0 && allData[ik+58][iHt]!=0 && allData[cc+45][iHt]!=0){
+                 hCFD_QTC[cc]->Fill(allData[ik+57][iHt]-allData[ik+58][iHt],allData[cc+45][iHt]-allData[0][0]+5000);
                }
                 if(allData[cc+57][iHt]!=0 && allData[cc+45][iHt]!=0){
                  hCFD_LED[cc]->Fill(allData[cc+57][iHt]-allData[cc+45][iHt],allData[cc+45][iHt]-allData[0][0]+5000);