]> jspc29.x-matter.uni-frankfurt.de Git - radhard.git/commitdiff
Run analyzer: Removed limitation to maximum 50 data files in MAPS.c
authorBenjamin Linnik <blinnik@jspc28.x-matter.uni-frankfurt.de>
Fri, 22 May 2015 19:03:45 +0000 (21:03 +0200)
committerBenjamin Linnik <blinnik@jspc28.x-matter.uni-frankfurt.de>
Fri, 22 May 2015 19:03:45 +0000 (21:03 +0200)
MABS_run_analyzer/ChargeSpektrum.c
MABS_run_analyzer/MAPS.c

index c10666157598ee7d0ed924483981b078ad4026c3..4e1d79ce0eab65b61ce2b515728cd43ec377c253 100644 (file)
@@ -178,9 +178,9 @@ void ChargeSpektrum(TString runnumber = "")
                     //         runs[runi]->plotNoise();
                     if (!isBatch)
                         gROOT->SetBatch(kFALSE);
-                    //         runs[runi]->plotAllHistograms();
-//                     runs[runi]->plotAllHistogramsThresholdCluster();
-//                     runs[runi]->plotAllHistogramsThresholdClusterCalibrated();
+//                             runs[runi]->plotAllHistograms();
+                    runs[runi]->plotAllHistogramsThresholdCluster();
+                    runs[runi]->plotAllHistogramsThresholdClusterCalibrated();
             //          runs[runi]->plotAllHistogramsCalibrated(); 
                     runs[runi]->writeAllHistogramsToFile(); 
                 }
@@ -188,7 +188,7 @@ void ChargeSpektrum(TString runnumber = "")
         }
     }
 //     plotAllRuns("");
-    plotAllRuns("threshold calibrated");
+plotAllRuns("threshold");
 //     writeObservableToFile("seed threshold calibrated");
     writeObservableToFile("seed threshold");
 }
index f988e77b02b80f7e8d1705ec815e72b1267ab408..4174f3e2cefa6ffc0ef75e00d9b2d0aa9fe845a8 100644 (file)
@@ -403,11 +403,11 @@ bool MAPS::checkDataFiles( Int_t MaxFiles ) {
     UInt_t     Frames;
     TString    FILENAME;
 
-    if(MaxFiles>50)
-    {
-        cout<<"Expected Nr of Files is too big: " << MaxFiles << " ! Nr of Files reduced to 50!"<<endl;
-        MaxFiles=50;
-    }
+//     if(MaxFiles>100)
+//     {
+//         cout<<"Expected Nr of Files is too big: " << MaxFiles << " ! Nr of Files reduced to 50!"<<endl;
+//         MaxFiles=50;
+//     }
     fEventsSum = 0;
     fEvents    = new Int_t             [MaxFiles];
     fInn       = new ifstream  [MaxFiles];