// runs[runi]->analyzeFrame(15684);
// runs[runi]->analyzeFrame(803316);
-// runs[runi]->analyzeFrame(8319);
-
+ // runs[runi]->analyzeFrame(734);
+ // runs[runi]->analyzeFrame(4072);
// creates or opens .root file, can analyze the RAW data
- runs[runi]->error=runs[runi]->analyzeRun(false); // creates or opens .root file, can analyze the RAW data
+ runs[runi]->error=runs[runi]->analyzeRun(false); // creates or opens .root file, can analyze the RAW data
if (!runs[runi]->error)
{
// gROOT->SetBatch(kTRUE);
// runs[runi]->plotNoise();
if (!isBatch)
gROOT->SetBatch(kFALSE);
- runs[runi]->plotAllHistograms();
-// runs[runi]->plotAllHistogramsThresholdCluster();
- runs[runi]->plotAllHistogramsThresholdClusterCalibrated();
- runs[runi]->plotAllHistogramsCalibrated();
+ // runs[runi]->plotAllHistograms();
+ runs[runi]->plotAllHistogramsThresholdCluster();
+// runs[runi]->plotAllHistogramsThresholdClusterCalibrated();
+ // runs[runi]->plotAllHistogramsCalibrated();
runs[runi]->writeAllHistogramsToFile();
}
}
plotAllRuns("seed calibrated");
// writeObservableToFile("seed threshold calibrated");
// writeObservableToFile("seed threshold");
- writeObservableToFile("seed threshold calibrated");
+ writeObservableToFile("seed threshold");
+ writeObservableToFile("sum threshold");
}
}
// if(fFrameInfo.pixelthreshold[fHits]!=0)
// {
-
+ // cout<<"Charge"<<chargesumincluster4<<"must bigger than NOISE"<<noisesumincluster4*6.0<<endl;
// debugStream<>(fHittedPixel, fPixels, fColumns, 1, 1);
// for(Int_t row=0; row<5; row++)
// {
labbook.CCE_in_Perc_1DB = (rowsql->GetField(17) != NULL)?atoi(rowsql->GetField(17)):-1;
labbook.CCE_in_Perc_25DB = (rowsql->GetField(18) != NULL)?atoi(rowsql->GetField(18)):-1;
labbook.frames_foundDB = (rowsql->GetField(19) != NULL)?atoi(rowsql->GetField(19)):-1;
- // labbook.frames_Analyzed = (rowsql->GetField(20) != NULL)?atoi(rowsql->GetField(20)):-1;
delete res;
if (labbook.chip.Length() > 0 && labbook.chipGen.Length() > 0) // versuche infos zum Chip aus der ChipDatenbank zu bekommen
{
processed->InitialDynNoise();
int start = 0;
int nframes = processed->GetNumberFrames();
- // for(int i=0; i<1000000;i++) // TODO remove 100000 run 342272
+ // for(int i=0; i<1000;i++) // TODO remove 100000 run 342272
for(int i=0; i<nframes;i++) // TODO remove 100000 run 342272
{
// cout << "getframe " << i << endl;
histogramthresholdCalibrated.calibrated = histogramCalibrated.calibrated;
cout << colorwhite << "calculateCCE():" << endlr;
calculteCCE();
- /* if (labbook.source.Contains("Sr90")) {
+ if (labbook.source.Contains("Sr90")) {
cout << colorwhite << "integrateSr90Spectra():" << endlr;
integrateSr90Spectra(histogramthresholdCalibrated.Seed);
}
- */
+
cout << colorwhite << "updateDatabase():" << endlr;
updateDatabase();
cout << colorwhite << "delete MAPS class:" << endlr;