// runs[runi]->analyzeFrame(8319);
// creates or opens .root file, can analyze the RAW data
- runs[runi]->error=runs[runi]->analyzeRun(true); // 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);
// plotAllRuns("");
plotAllRuns("threshold calibrated");
// writeObservableToFile("seed threshold calibrated");
- writeObservableToFile("seed threshold calibrated");
+ writeObservableToFile("seed threshold");
+ writeObservableToFile("seed threshold calibrated");
}
Int_t ReadRunList(std::vector<int>* runlist)
TString headerInfo = "";
for(Int_t runi=0;runi<numberRuns;runi++) // loop over runs read from file
{
- headerInfo+=runs[runi]->runcode+"\t\t\t";
+ TString labbookTempSens=Form("%d",runs[runi]->labbook.tempSens);
+ headerInfo+=runs[runi]->runcode+"\t"+labbookTempSens+"\t";
}
TH1F* plothistogrampointer = *runs[0]->plothistogrampointer;
TString runnumberListe=Form("%s_",plothistogrampointer->GetName());
{
plothistogrampointer = *runs[runi]->plothistogrampointer;
runnumberListe+=Form("%d_",runs[runi]->labbook.runnumber);
- header+=Form("%d\t%s\t", runs[runi]->labbook.runnumber, plothistogrampointer->GetName());
+ header+=Form("%d\t%d_%s\t", runs[runi]->labbook.runnumber, runs[runi]->labbook.runnumber, plothistogrampointer->GetName());
}
}
}
constructUpdateString(&sqlupdatequery, "Avg.Noise-", histogramCalibrated.avgNoiseMinus, 2);
constructUpdateString(&sqlupdatequery, "CCE_1", CCE_in_Perc_1);
constructUpdateString(&sqlupdatequery, "CCE_25", CCE_in_Perc_25);
+ constructUpdateString(&sqlupdatequery, "Avg.NoiseADC", histogram.avgNoise);
if (sqlupdatequery.length()>0)
{