]> jspc29.x-matter.uni-frankfurt.de Git - radhard.git/commitdiff
Analyzer: Push sync
authorBenjamin Linnik <blinnik@jspc61.x-matter.uni-frankfurt.de>
Thu, 16 Mar 2017 11:52:28 +0000 (12:52 +0100)
committerBenjamin Linnik <blinnik@jspc61.x-matter.uni-frankfurt.de>
Thu, 16 Mar 2017 11:52:28 +0000 (12:52 +0100)
MABS_run_analyzer/ChargeSpektrum.c
MABS_run_analyzer/Run.c

index 70f31f7a49a37d46598b32913631c4ba644c826c..068b0a7cd8bcc6f854693addcc48c3fe5b8315e8 100644 (file)
@@ -110,7 +110,10 @@ void ChargeSpektrum(TString runnumber = "")
 //                     compareHistogramClassVector2.push_back(runs[runi]->histogramthreshold);
                      //compareHistogramVector.push_back(runs[runi]->histogram->normalized->calibrated->Seed);
                      //compareHistogramVector2.push_back(runs[runi]->histogram->normalized->Seed);
-                    //runs[runi]->plot1DHistogram(runs[runi]->histogram->normalized->calibrated, runs[runi]->histogram->normalized->calibrated->Seed, "landau", 1);
+                    
+//                  runs[runi]->plot1DHistogram(runs[runi]->histogram->normalized->calibrated, runs[runi]->processed->fNoiseInfo.fPedestals, "", 1);
+                    runs[runi]->plot1DHistogram(runs[runi]->histogram->normalized->calibrated, runs[runi]->histogram->normalized->calibrated->Seed, "landau", 1);
+             runs[runi]->plot1DHistogram(runs[runi]->histogram, runs[runi]->histogramwoRTS->pixeltimefiredsorted, "", 0);
 //                     runs[runi]->plot1DHistogram(runs[runi]->histogramwoRTS->normalized->calibrated, runs[runi]->histogramwoRTS->normalized->calibrated->Seed, "landau", true);
 //                     runs[runi]->plot1DHistogram(runs[runi]->histogramwoRTS->normalized->calibrated, runs[runi]->histogramwoRTS->normalized->calibrated->Sum, "gaus", true);
                     
@@ -129,7 +132,7 @@ void ChargeSpektrum(TString runnumber = "")
 //                     
 //                     // RTS Hit analysis
 //                     runs[runi]->plot1DHistogram(runs[runi]->histogram, runs[runi]->histogramwoRTSthreshold->pixeltimefired, "", 0);
-// //                     runs[runi]->plot1DHistogram(runs[runi]->histogram, runs[runi]->histogramwoRTSthreshold->pixeltimefiredsorted, "", 0);
+//                      runs[runi]->plot1DHistogram(runs[runi]->histogram, runs[runi]->histogramwoRTSthreshold->pixeltimefiredsorted, "", 0);
 // //                     compareHistogramVector3.push_back(runs[runi]->histogramwoRTSthreshold->pixeltimefiredsorted);
 //                     compareHistogramVector6.push_back(runs[runi]->histogramwoRTSthreshold->calibrated->pixeltimefiredsorted);
                     
index 714d5ee8d8d089a5865947a248f3e615c9957ab0..e97d715d3be9d8d0817c5f3017aff69806e2e61e 100644 (file)
@@ -995,8 +995,8 @@ void Run::updateDatabase() {
         }
     }
     if (histogramthreshold->normalized->calibrated != 0)
-        if (histogramfixedthreshold != 0)
-            constructUpdateString(&sqlupdatequery, "Sr90IntegralVal", histogramfixedthreshold->normalized->calibrated->sr90IntegralVal,1000000000);
+//         if (histogramfixedthreshold != 0)
+            constructUpdateString(&sqlupdatequery, "Sr90IntegralVal", histogramthreshold->normalized->calibrated->sr90IntegralVal,1000000000);
   
     if (sqlupdatequery.length()>0)
     {