]> jspc29.x-matter.uni-frankfurt.de Git - radhard.git/commitdiff
Analyzer: Better plot names
authorBenjamin Linnik <blinnik@jspc61.x-matter.uni-frankfurt.de>
Fri, 16 Dec 2016 13:42:09 +0000 (14:42 +0100)
committerBenjamin Linnik <blinnik@jspc61.x-matter.uni-frankfurt.de>
Fri, 16 Dec 2016 13:42:09 +0000 (14:42 +0100)
1  2 
MABS_run_analyzer/ChargeSpektrum.c
MABS_run_analyzer/Run.c

index f85588d18fdac37f7923fefaa234452a12abc044,34deb640c7073a930db6dc046a1047b85dd97eec..fbfb76fe70b0ef57caf2a8d3de326ee8c11180f2
@@@ -101,16 -101,14 +101,16 @@@ void ChargeSpektrum(TString runnumber 
                          gROOT->SetBatch(kFALSE);
                      
                      // Uncomment below to do classical analysis withour RTS
 -                    compareHistogramClassVector2.push_back(runs[runi]->histogram->normalized->calibrated);
 -                     compareHistogramClassVector.push_back(runs[runi]->histogram->normalized);
 +//                     compareHistogramClassVector.push_back(runs[runi]->histogramwoRTS->normalized);
 +//                     compareHistogramClassVector2.push_back(runs[runi]->histogramwoRTS);
 +                    compareHistogramClassVector.push_back(runs[runi]->histogram->normalized);
 +                     //compareHistogramClassVector.push_back(runs[runi]->histogramwoRTS);
  //                     compareHistogramClassVector2.push_back(runs[runi]->histogramthreshold);
 -                     compareHistogramVector.push_back(runs[runi]->histogram->normalized->calibrated->Seed);
 -                     compareHistogramVector2.push_back(runs[runi]->histogram->normalized->Seed);
 +                     //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]->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);
                     runs[runi]->plot1DHistogram(runs[runi]->histogram->normalized, runs[runi]->histogram->normalized->Seed, "gaus", true);
                      
  // //                     Uncomment below to do analysis without RTS pixel
  //                     compareHistogramClassVector2.push_back(runs[runi]->histogramwoRTSthreshold);
index 497cc3bea11f8a32bf15cd1c4ced307fe588bd6a,7c17cb0b146222591f6f9b48c78ed8025d3781b7..6e2380c5d8ddab965a4f1286ec3b87a2d3afcb30
@@@ -2110,8 -2101,9 +2110,7 @@@ TCanvas* Run::plot1DHistogram(Histogram
          if (withOverflow)
              onehistogram=ShowOverflow(onehistogram);
          onehistogram->Draw();
-         
 -        cout << colorcyan << "Harambe died for this" << endlr;
 -
 -        Double_t* parameters = (Double_t *)calloc(9, sizeof(Double_t)); // allocate 9 parameters for safety, maximum 8 used at the moment     
 +        Double_t* parameters = (Double_t *)calloc(10, sizeof(Double_t)); // allocate 10 parameters for safety, maximum 9 used at the moment     
          Float_t maxValue = 0;
          if (fitFuncType!="")
          {