From 6c5dc2541eba950ef8c637829ded68306b37abbf Mon Sep 17 00:00:00 2001 From: Stefan Strohauer Date: Mon, 4 Nov 2013 19:47:25 +0100 Subject: [PATCH] Noise plots are now working also with using the same file for analysis and noise. --- PlotGraph/PlotGraph.C | 112 +++----- PlotGraph/RelevantRuns.csv | 10 + ProcessMeasurements/LaborbuchMi29.csv | 320 +++++++++++----------- ProcessMeasurements/LaborbuchMi29.xls | Bin 28160 -> 29184 bytes ProcessMeasurements/ProcessMeasurements.C | 22 +- 5 files changed, 237 insertions(+), 227 deletions(-) diff --git a/PlotGraph/PlotGraph.C b/PlotGraph/PlotGraph.C index 91869d5..e4b5dd6 100644 --- a/PlotGraph/PlotGraph.C +++ b/PlotGraph/PlotGraph.C @@ -35,23 +35,26 @@ #define NUMPIXELS 25 #define RIGHT_BOUNDARY 400 -#define VETO_THRESHOLD 20 +#define VETO_THRESHOLD 10 #define LABORBUCH "RelevantRuns.csv" // #define DATAPATH "/local/sstrohauer/data/data_15.10.2013_11:36/" // #define DATAPATH "/local/sstrohauer/data/data_18.10.2013_16:8/" // #define DATAPATH "/local/sstrohauer/data/data_22.10.2013_14:9/" -#define DATAPATH "/local/sstrohauer/data/data_22.10.2013_18:22/" -#define USE_SEPARATE_NOISE_RUN true +// #define DATAPATH "/local/sstrohauer/data/data_25.10.2013_14:50/" +#define DATAPATH "/local/sstrohauer/data/data_4.11.2013_13:57/" +#define USE_SEPARATE_NOISE_RUN false #define DRAW_SINGLE_HISTOGRAMS true -#define DRAW_SUMMED_HISTOGRAMS true -#define DRAW_VETO_HISTOGRAMS true -#define DRAW_PIXEL_DISTRIBUTION_HISTOGRAMS true +#define DRAW_SUMMED_HISTOGRAMS false +#define DRAW_VETO_HISTOGRAMS false +#define DRAW_SEEDPIXEL_DISTRIBUTION false +#define DRAW_PIXEL_DISTRIBUTION_HISTOGRAMS false // examples for fit functions: gaus, landau -#define FIT_FUNC "gaus" +#define FIT_FUNC "landau" #define DRAW_FITS false -#define DRAW_NOISE_HISTOGRAM false -#define PRINT_HEADER false +#define DRAW_NOISE_HISTOGRAM true +#define PRINT_HEADER true +#define PRINT_EXPECTATION_VALUE_HITS_PER_FRAME false void PlotGraph(Float_t selTemp, Int_t selChip, std::string selSource, Int_t selMatrix6480, Int_t selSubmatrix, Float_t selRadDose) { @@ -80,6 +83,7 @@ void PlotGraph(Float_t selTemp, Int_t selChip, std::string selSource, Int_t selM std::vector histNtupleSum; std::vector histNtupleVeto; std::vector histPixelNumIsSeed; + std::vector histPixelNumIsSeedSelection; std::vector histPixelDistribution1; std::vector histPixelDistribution2; std::vector histNoise; @@ -186,8 +190,9 @@ void PlotGraph(Float_t selTemp, Int_t selChip, std::string selSource, Int_t selM // create histogram histNtuple.push_back(new TH1F(Form("hist%i",nHistNtuple), "Histogram title", 200, 0, RIGHT_BOUNDARY)); histNtupleSum.push_back(new TH1F(Form("histSum%i",nHistNtuple), "Histogram title", 200, 0, RIGHT_BOUNDARY)); - histNtupleVeto.push_back(new TH1F(Form("histVeto%i",nHistNtuple), "Histogram title", 200, 0, RIGHT_BOUNDARY)); + histNtupleVeto.push_back(new TH1F(Form("histVeto%i",nHistNtuple), "Histogram title", 200/2, 0, RIGHT_BOUNDARY)); histPixelNumIsSeed.push_back(new TH1F(Form("histPixelNumIsSeed_%i",nHistNtuple), "Histogram title", totalPixelNum, 0, totalPixelNum)); + histPixelNumIsSeedSelection.push_back(new TH1F(Form("histPixelNumIsSeedSelection_%i",nHistNtuple), "Histogram title", totalPixelNum, 0, totalPixelNum)); histPixelDistribution1.push_back(new TH1F(Form("histPixelDistribution1_%i",nHistNtuple), "Histogram title", totalPixelNum, 0, totalPixelNum)); histPixelDistribution2.push_back(new TH1F(Form("histPixelDistribution2_%i",nHistNtuple), "Histogram title", totalPixelNum, 0, totalPixelNum)); @@ -196,31 +201,15 @@ void PlotGraph(Float_t selTemp, Int_t selChip, std::string selSource, Int_t selM // Double_t meanNotSeedSum=0; // Int_t nhits=0; - - - - cout << "Mittelwert Hits pro frame: " << nentries/50000.0 << endl; - - - - + if (PRINT_EXPECTATION_VALUE_HITS_PER_FRAME) + cout << "Expectation value of hits per frame: " << nentries/50000.0 << endl; for (Int_t cnt=0; cntGetEntry(cnt); histPixelNumIsSeed[nHistNtuple]->Fill(seedPixel); } - Float_t averageBinContent = nentries/totalPixelNum; - - - - - - - - - - + Float_t averageBinContent = nentries/totalPixelNum; @@ -233,32 +222,17 @@ void PlotGraph(Float_t selTemp, Int_t selChip, std::string selSource, Int_t selM // if (frameCounts > 1) // continue; - - - - - // histogram with the single pixel // if (pixel[12] > 20) // continue; if (histPixelNumIsSeed[nHistNtuple]->GetBinContent(histPixelNumIsSeed[nHistNtuple]->GetXaxis()->FindBin(seedPixel)) > 3*averageBinContent) { -// cout << "seed: " << seedPixel << endl; - continue; +// cout << "seed: " << seedPixel << endl; // print broken pixel + continue; // this pixel is broken and produces fake hits. So ignore it! } + histPixelNumIsSeedSelection[nHistNtuple]->Fill(seedPixel); histNtuple[nHistNtuple]->Fill(pixel[12]); -// cout << histPixelNumIsSeed[nHistNtuple]->GetBinContent(seedPixel) << endl; - - - - - - - - - - // histogram with the summed pixels Double_t pixelSum = 0; for (Int_t i=0; iFill(seedPixel); } - - // histogram with the single pixel and with "veto trigger" // for the "histNtupleVeto" take only hits where only the seed pixel contains charge Double_t notSeedSum = 0; @@ -301,6 +273,7 @@ void PlotGraph(Float_t selTemp, Int_t selChip, std::string selSource, Int_t selM histNtupleVeto[nHistNtuple]->SetLineColor(nHistNtuple+1); histNtupleVeto[nHistNtuple]->SetStats(kFALSE); histNtupleVeto[nHistNtuple]->SetLineStyle(3); // make summed graphs dotted + histPixelNumIsSeedSelection[nHistNtuple]->SetLineColor(nHistNtuple+1); histPixelDistribution1[nHistNtuple]->SetLineColor(1); // black line histPixelDistribution2[nHistNtuple]->SetLineColor(2); // red line // TString legendEntry = Form("#splitline{Run %i: T_{set}=%.1f, T_{sens}=%.1f, Chip=%i, }{Source=%s, Matrix=%i, Submatrix=%i, RadDose=%.2E}", runNo, temperature, tempSens, chip, TString(source).Data(), matrix6480, submatrix, radDose); @@ -361,26 +334,22 @@ void PlotGraph(Float_t selTemp, Int_t selChip, std::string selSource, Int_t selM cout << "No corresponding noise run found!\n"; // open the file - TFile* f_N; TString path_N; if (USE_SEPARATE_NOISE_RUN) { path_N = TString(DATAPATH) + Form("%i/%i_0_%i.root", noiseRunNo, noiseRunNo, submatrix); - f_N = TFile::Open(path_N); - if (f_N->IsZombie()) { - // if we cannot open the file, print an error messageForm("hist%i",nHistNtuple) and return immediatly - printf("Error: cannot open %s\n", path_N.Data()); - return; - } } else { - path_N = TString(DATAPATH) + "noise/" + Form("%i/%i_0_%i.root", noiseRunNo, noiseRunNo, submatrix); - f_N = TFile::Open(path_N); - if (f_N->IsZombie()) { - // if we cannot open the file, print an error messageForm("hist%i",nHistNtuple) and return immediatly - printf("Error: cannot open %s\n", path_N.Data()); - return; - } + path_N = TString(DATAPATH) + "noise/" + Form("%i/%i_0_%i.root", runNo, runNo, submatrix); + } + // check wether file exists + TFile f_N_doesItExist(path_N); + if (f_N_doesItExist.IsZombie()) { + // if we cannot open the file, print an error message and return immediatly + printf("Error while loading noise file: cannot open %s\n", path_N.Data()); + return; } + // open file + TFile* f_N = TFile::Open(path_N); // get a pointer to the tree TNtuple* noiseNtuple = (TNtuple*) f_N->Get("noise"); @@ -408,7 +377,8 @@ void PlotGraph(Float_t selTemp, Int_t selChip, std::string selSource, Int_t selM // cout << "q1: " << quantiles[1] - quantiles[0] << "\tq2: " << quantiles[1] << "\tq3: " << quantiles[2] - quantiles[1] << endl; if (DRAW_NOISE_HISTOGRAM) { - new TCanvas(); + TCanvas* c0 = new TCanvas(); + c0->SetTitle("Noise distribution"); histNoise[nHistNtuple]->Draw(); } //------------------------------------------------- @@ -417,9 +387,6 @@ void PlotGraph(Float_t selTemp, Int_t selChip, std::string selSource, Int_t selM - - - nHistNtuple++; // increase } } @@ -579,9 +546,18 @@ void PlotGraph(Float_t selTemp, Int_t selChip, std::string selSource, Int_t selM leg->Draw(); + // plot information about the seed pixel distribution in another histogram + if (DRAW_SEEDPIXEL_DISTRIBUTION){ + TCanvas* c2 = new TCanvas(); + for (std::vector::iterator it = histPixelNumIsSeedSelection.begin(); it != histPixelNumIsSeedSelection.end(); ++it){ + Int_t cnt = std::distance(histPixelNumIsSeedSelection.begin(), it) ; + (*it)->Draw((cnt==0)?"":"same"); + } + } + // plot histogram for analysis of pixel distribution in another histogram if (DRAW_PIXEL_DISTRIBUTION_HISTOGRAMS){ - TCanvas* c2 = new TCanvas(); + TCanvas* c3 = new TCanvas(); for (std::vector::iterator it = histPixelDistribution1.begin(); it != histPixelDistribution1.end(); ++it){ Int_t cnt = std::distance(histPixelDistribution1.begin(), it) ; (*it)->Draw((cnt==0)?"":"same"); diff --git a/PlotGraph/RelevantRuns.csv b/PlotGraph/RelevantRuns.csv index 953f234..44c869e 100644 --- a/PlotGraph/RelevantRuns.csv +++ b/PlotGraph/RelevantRuns.csv @@ -119,3 +119,13 @@ Runnr. Date Temperature T-sensor Events Chip Source 64/80 Radiation dose Vbo Don 29109 2013-10-18 -20 -16.5 50000 1 Fe55,superdimmed 80 0.00E+00 3.12 y BULLSHIT (eingefroren) 29110 2013-10-18 -70 -48.5 50000 1 Fe55,superdimmed 64 0.00E+00 3.18 y BULLSHIT (eingefroren) 29111 2013-10-18 -70 21.5 50000 1 Fe55,superdimmed 80 0.00E+00 3.10 y BULLSHIT (eingefroren) + + Superdimmed measurements have to be added to the labbook (currently they are only in the database) + + the following measurements are for exploring the cause for the very high noise in the previous measurements +29114 31.10.2013 20 21,0 50000 1 Cd109 64 0,00E+00 3,20 y measurement with Cd109 with the same parameters Vba, Vbo and Vdiode like all previous measurements 0,24 2,50 +29115 01.11.2013 20 21,0 50000 1 Cd109 64 0,00E+00 3,20 y 3,31 2,50 +29116 01.11.2013 20 21,0 50000 1 Cd109 64 0,00E+00 2,74 y 3,31 2,50 +29117 01.11.2013 20 21,0 50000 1 Cd109 64 0,00E+00 2,74 y 3,31 2,34 +29118 04.11.2013 20 21,0 50000 1 Cd109 64 0,00E+00 2,74 y 3,31 2,59 + diff --git a/ProcessMeasurements/LaborbuchMi29.csv b/ProcessMeasurements/LaborbuchMi29.csv index 6b9b508..a1ab020 100644 --- a/ProcessMeasurements/LaborbuchMi29.csv +++ b/ProcessMeasurements/LaborbuchMi29.csv @@ -1,156 +1,164 @@ -Runnr. Date Temperature T-sensor Events Chip Source 64/80 Radiation dose Vbo Done? Allowed T-range Comment -29008 4/23/2013 -20 -15.0 5000 1 Fe55 64 0.00E+00 y -29009 4/23/2013 -20 -15.0 5000 1 none 64 0.00E+00 y -29010 4/23/2013 -20 -15.0 5000 1 Fe55 80 0.00E+00 y -29011 4/23/2013 -20 -15.0 5000 1 none 80 0.00E+00 - - -29012 5/17/2013 20 21.5 50000 1 Fe55 64 0.00E+00 3.20 y 19 … 21 All the yellow marked measurements were made with a baseline in the range between 500 and 3500 for -20°C and were not modified for the other highlighted measurements. -29013 5/17/2013 20 21.5 50000 1 Fe55 80 0.00E+00 3.12 y -29014 5/17/2013 -20 -15.5 50000 1 Fe55 64 0.00E+00 3.19 y -12 … -19 -29015 5/17/2013 -20 -16.0 50000 1 Fe55 80 0.00E+00 3.12 y -29016 5/18/2013 -70 -58.0 50000 1 Fe55 64 0.00E+00 3.18 y -30 … -60 -29017 5/18/2013 -70 -58.0 50000 1 Fe55 80 0.00E+00 3.10 y - -29018 5/16/2013 20 20.0 50000 1 none 64 0.00E+00 3.20 y -29019 5/16/2013 20 20.5 50000 1 none 80 0.00E+00 3.12 y -29020 5/16/2013 -20 -16.5 50000 1 none 64 0.00E+00 3.19 y -29021 5/16/2013 -20 -17.0 50000 1 none 80 0.00E+00 3.12 y -29022 5/16/2013 -70 -57.5 50000 1 none 64 0.00E+00 3.18 y -29023 5/16/2013 -70 -59.5 50000 1 none 80 0.00E+00 3.10 y - -29024 5/21/2013 20 21.5 50000 1 Sr90 64 0.00E+00 3.20 y -29025 5/21/2013 20 21.5 50000 1 Sr90 80 0.00E+00 3.12 y -29026 5/21/2013 -20 -14.0 50000 1 Sr90 64 0.00E+00 3.19 y -29027 5/21/2013 -20 -14.5 50000 1 Sr90 80 0.00E+00 3.12 y -29028 5/21/2013 -70 -53.5 50000 1 Sr90 64 0.00E+00 3.18 y -29029 5/21/2013 -70 -54.5 50000 1 Sr90 80 0.00E+00 3.10 y - -29030 5/27/2013 20 21.0 50000 1 Fe55,dimmed 64 0.00E+00 3.20 y same as run 29012, but dimmed -29031 5/27/2013 20 21.0 50000 1 Fe55,dimmed 80 0.00E+00 3.12 y same as run 29013, but dimmed -29032 5/28/2013 -20 -16.5 50000 1 Fe55,dimmed 64 0.00E+00 3.19 y same as run 29014, but dimmed -29033 5/28/2013 -20 -16.5 50000 1 Fe55,dimmed 80 0.00E+00 3.12 y same as run 29015, but dimmed - - -29034 5/29/2013 20 21.5 50000 2 Fe55,dimmed 64 1.50E+05 3.15 y 19 … 21 -29035 5/29/2013 20 21.0 50000 2 Fe55,dimmed 80 1.50E+05 3.15 y -29036 5/29/2013 -20 -16.0 50000 2 Fe55,dimmed 64 1.50E+05 3.15 y -12 … -19 -29037 5/30/2013 -20 -16.0 50000 2 Fe55,dimmed 80 1.50E+05 3.15 y -29038 5/30/2013 -70 -57.0 50000 2 Fe55,dimmed 64 1.50E+05 3.15 y -30 … -60 -29039 5/30/2013 -70 -56.5 50000 2 Fe55,dimmed 80 1.50E+05 3.15 y - -29040 5/28/2013 20 21.0 50000 2 none 64 1.50E+05 3.08 y -29041 5/28/2013 20 21.0 50000 2 none 80 1.50E+05 3.08 y -29042 5/28/2013 -20 -13.5 50000 2 none 64 1.50E+05 3.08 y -29043 5/28/2013 -20 -14.5 50000 2 none 80 1.50E+05 3.08 y -29044 5/29/2013 -70 -52.5 50000 2 none 64 1.50E+05 3.08 y -29045 5/29/2013 -70 -53.5 50000 2 none 80 1.50E+05 3.08 y - -29046 5/31/2013 20 21.6 50000 2 Sr90 64 1.50E+05 3.15 y -29047 5/31/2013 20 21.0 50000 2 Sr90 80 1.50E+05 3.15 y -29048 5/31/2013 -20 -15.5 50000 2 Sr90 64 1.50E+05 3.15 y -29049 6/2/2013 -20 -16.0 50000 2 Sr90 80 1.50E+05 3.15 y -29050 6/2/2013 -70 -54.5 50000 2 Sr90 64 1.50E+05 3.15 y -29051 6/2/2013 -70 -54.5 50000 2 Sr90 80 1.50E+05 3.15 y - - -29052 6/7/2013 20 21.0 50000 4 Fe55,dimmed 64 1.00E+12 1.52 y 19 … 21 -29053 6/7/2013 20 21.0 50000 4 Fe55,dimmed 80 1.00E+12 1.52 y -29054 6/7/2013 -20 -15.5 50000 4 Fe55,dimmed 64 1.00E+12 1.52 y -12 … -19 -29055 6/7/2013 -20 -16.5 50000 4 Fe55,dimmed 80 1.00E+12 1.52 y -29056 6/7/2013 -70 -58.0 50000 4 Fe55,dimmed 64 1.00E+12 1.52 y -30 … -60 -29057 6/7/2013 -70 -58.0 50000 4 Fe55,dimmed 80 1.00E+12 1.52 y - -29058 6/6/2013 20 21.5 50000 4 none 64 1.00E+12 1.52 y -29059 6/6/2013 20 21.0 50000 4 none 80 1.00E+12 1.52 y -29060 6/6/2013 -20 -15.5 50000 4 none 64 1.00E+12 1.52 y -29061 6/6/2013 -20 -15.5 50000 4 none 80 1.00E+12 1.52 y -29062 6/6/2013 -70 -54.5 50000 4 none 64 1.00E+12 1.52 y -29063 6/6/2013 -70 -56.0 50000 4 none 80 1.00E+12 1.52 y - -29064 6/10/2013 20 22.0 50000 4 Sr90 64 1.00E+12 1.52 y -29065 6/10/2013 20 21.5 50000 4 Sr90 80 1.00E+12 1.52 y -29066 6/10/2013 -20 -13.5 50000 4 Sr90 64 1.00E+12 1.52 y -29067 6/10/2013 -20 -14.0 50000 4 Sr90 80 1.00E+12 1.52 y -29068 6/10/2013 -70 -53.0 50000 4 Sr90 64 1.00E+12 1.52 y -29069 6/10/2013 -70 -54.0 50000 4 Sr90 80 1.00E+12 1.52 y - - -29070 6/14/2013 20 21.5 50000 5 Fe55,dimmed 64 3.00E+12 1.57 y 19 … 21 -29071 6/14/2013 20 21.0 50000 5 Fe55,dimmed 80 3.00E+12 1.55 y -29072 6/14/2013 -20 -16.0 50000 5 Fe55,dimmed 64 3.00E+12 1.57 y -12 … -19 -29073 6/14/2013 -20 -16.5 50000 5 Fe55,dimmed 80 3.00E+12 1.55 y -29074 6/14/2013 -70 -58.5 50000 5 Fe55,dimmed 64 3.00E+12 1.57 y -30 … -60 -29075 6/14/2013 -70 -58.5 50000 5 Fe55,dimmed 80 3.00E+12 1.55 y - -29076 6/13/2013 20 20.5 50000 5 none 64 3.00E+12 1.57 y -29077 6/13/2013 20 20.5 50000 5 none 80 3.00E+12 1.55 y -29078 6/13/2013 -20 -16.5 50000 5 none 64 3.00E+12 1.57 y -29079 6/13/2013 -20 -17.0 50000 5 none 80 3.00E+12 1.55 y -29080 6/13/2013 -70 -57.0 50000 5 none 64 3.00E+12 1.57 y -29081 6/13/2013 -70 -59.5 50000 5 none 80 3.00E+12 1.55 y - -29082 6/17/2013 20 21.5 50000 5 Sr90 64 3.00E+12 1.57 y -29083 6/17/2013 20 21.0 50000 5 Sr90 80 3.00E+12 1.55 y -29084 6/17/2013 -20 -14.0 50000 5 Sr90 64 3.00E+12 1.57 y -29085 6/17/2013 -20 -15.0 50000 5 Sr90 80 3.00E+12 1.55 y -29086 6/17/2013 -70 -54.0 50000 5 Sr90 64 3.00E+12 1.57 y -29087 6/17/2013 -70 -54.5 50000 5 Sr90 80 3.00E+12 1.55 y - - -29088 6/20/2013 20 21.0 50000 6 Fe55,dimmed 64 1.00E+13 1.54 y 19 … 21 -29089 6/20/2013 20 21.0 50000 6 Fe55,dimmed 80 1.00E+13 1.53 y -29090 6/20/2013 -20 -16.5 50000 6 Fe55,dimmed 64 1.00E+13 1.54 y -12 … -19 -29091 6/20/2013 -20 -16.5 50000 6 Fe55,dimmed 80 1.00E+13 1.53 y -29092 6/20/2013 -70 -58.5 50000 6 Fe55,dimmed 64 1.00E+13 1.54 y -30 … -60 -29093 6/20/2013 -70 -59.5 50000 6 Fe55,dimmed 80 1.00E+13 1.53 y - -29094 6/18/2013 20 20.5 50000 6 none 64 1.00E+13 1.54 y -29095 6/18/2013 20 20.5 50000 6 none 80 1.00E+13 1.53 y -29096 6/18/2013 -20 -15.5 50000 6 none 64 1.00E+13 1.54 y -29097 6/18/2013 -20 -15.5 50000 6 none 80 1.00E+13 1.53 y -29098 6/19/2013 -70 -60.0 50000 6 none 64 1.00E+13 1.54 y -29099 6/19/2013 -70 -60.0 50000 6 none 80 1.00E+13 1.53 y - -29100 6/24/2013 20 21.0 50000 6 Sr90 64 1.00E+13 1.54 y -29101 6/24/2013 20 21.0 50000 6 Sr90 80 1.00E+13 1.53 y -29102 6/24/2013 -20 -15.0 50000 6 Sr90 64 1.00E+13 1.54 y -29103 6/24/2013 -20 -16.0 50000 6 Sr90 80 1.00E+13 1.53 y -29104 6/24/2013 -70 -54.5 50000 6 Sr90 64 1.00E+13 1.54 y -29105 6/24/2013 -70 -55.5 50000 6 Sr90 80 1.00E+13 1.53 y - End of first measurement phase. - -29106 20 50000 1 Fe55,superdimmed 64 0.00E+00 3.20 -29107 20 50000 1 Fe55,superdimmed 80 0.00E+00 3.12 -29090 -20 50000 1 Fe55,superdimmed 64 0.00E+00 3.19 -29091 -20 50000 1 Fe55,superdimmed 80 0.00E+00 3.12 -29092 -70 50000 1 Fe55,superdimmed 64 0.00E+00 3.18 -29093 -70 50000 1 Fe55,superdimmed 80 0.00E+00 3.10 - -29094 20 50000 2 Fe55,superdimmed 64 1.50E+05 3.15 -29095 20 50000 2 Fe55,superdimmed 80 1.50E+05 3.15 -29096 -20 50000 2 Fe55,superdimmed 64 1.50E+05 3.15 -29097 -20 50000 2 Fe55,superdimmed 80 1.50E+05 3.15 -29098 -70 50000 2 Fe55,superdimmed 64 1.50E+05 3.15 -29099 -70 50000 2 Fe55,superdimmed 80 1.50E+05 3.15 - -29100 20 50000 4 Fe55,superdimmed 64 1.00E+12 1.52 -29101 20 50000 4 Fe55,superdimmed 80 1.00E+12 1.52 -29102 -20 50000 4 Fe55,superdimmed 64 1.00E+12 1.52 -29103 -20 50000 4 Fe55,superdimmed 80 1.00E+12 1.52 -29104 -70 50000 4 Fe55,superdimmed 64 1.00E+12 1.52 -29105 -70 50000 4 Fe55,superdimmed 80 1.00E+12 1.52 - -29106 20 50000 5 Fe55,superdimmed 64 3.00E+12 1.57 -29107 20 50000 5 Fe55,superdimmed 80 3.00E+12 1.55 -29108 -20 50000 5 Fe55,superdimmed 64 3.00E+12 1.57 -29109 -20 50000 5 Fe55,superdimmed 80 3.00E+12 1.55 -29110 -70 50000 5 Fe55,superdimmed 64 3.00E+12 1.57 -29111 -70 50000 5 Fe55,superdimmed 80 3.00E+12 1.55 - -29112 20 50000 6 Fe55,superdimmed 64 1.00E+13 1.54 -29113 20 50000 6 Fe55,superdimmed 80 1.00E+13 1.53 -29114 -20 50000 6 Fe55,superdimmed 64 1.00E+13 1.54 -29115 -20 50000 6 Fe55,superdimmed 80 1.00E+13 1.53 -29116 -70 50000 6 Fe55,superdimmed 64 1.00E+13 1.54 -29117 -70 50000 6 Fe55,superdimmed 80 1.00E+13 1.53 +Runnr. Date Temperature T-sensor Events Chip Source 64/80 Radiation dose Vbo Done? Allowed T-range Comment +29008 4/23/2013 -20 -15.0 5000 1 Fe55 64 0.00E+00 y +29009 4/23/2013 -20 -15.0 5000 1 none 64 0.00E+00 y +29010 4/23/2013 -20 -15.0 5000 1 Fe55 80 0.00E+00 y +29011 4/23/2013 -20 -15.0 5000 1 none 80 0.00E+00 + + +29012 5/17/2013 20 21.5 50000 1 Fe55 64 0.00E+00 3.20 y 19 … 21 All the yellow marked measurements were made with a baseline in the range between 500 and 3500 for -20°C and were not modified for the other highlighted measurements. +29013 5/17/2013 20 21.5 50000 1 Fe55 80 0.00E+00 3.12 y +29014 5/17/2013 -20 -15.5 50000 1 Fe55 64 0.00E+00 3.19 y -12 … -19 +29015 5/17/2013 -20 -16.0 50000 1 Fe55 80 0.00E+00 3.12 y +29016 5/18/2013 -70 -58.0 50000 1 Fe55 64 0.00E+00 3.18 y -30 … -60 +29017 5/18/2013 -70 -58.0 50000 1 Fe55 80 0.00E+00 3.10 y + +29018 5/16/2013 20 20.0 50000 1 none 64 0.00E+00 3.20 y +29019 5/16/2013 20 20.5 50000 1 none 80 0.00E+00 3.12 y +29020 5/16/2013 -20 -16.5 50000 1 none 64 0.00E+00 3.19 y +29021 5/16/2013 -20 -17.0 50000 1 none 80 0.00E+00 3.12 y +29022 5/16/2013 -70 -57.5 50000 1 none 64 0.00E+00 3.18 y +29023 5/16/2013 -70 -59.5 50000 1 none 80 0.00E+00 3.10 y + +29024 5/21/2013 20 21.5 50000 1 Sr90 64 0.00E+00 3.20 y +29025 5/21/2013 20 21.5 50000 1 Sr90 80 0.00E+00 3.12 y +29026 5/21/2013 -20 -14.0 50000 1 Sr90 64 0.00E+00 3.19 y +29027 5/21/2013 -20 -14.5 50000 1 Sr90 80 0.00E+00 3.12 y +29028 5/21/2013 -70 -53.5 50000 1 Sr90 64 0.00E+00 3.18 y +29029 5/21/2013 -70 -54.5 50000 1 Sr90 80 0.00E+00 3.10 y + +29030 5/27/2013 20 21.0 50000 1 Fe55,dimmed 64 0.00E+00 3.20 y same as run 29012, but dimmed +29031 5/27/2013 20 21.0 50000 1 Fe55,dimmed 80 0.00E+00 3.12 y same as run 29013, but dimmed +29032 5/28/2013 -20 -16.5 50000 1 Fe55,dimmed 64 0.00E+00 3.19 y same as run 29014, but dimmed +29033 5/28/2013 -20 -16.5 50000 1 Fe55,dimmed 80 0.00E+00 3.12 y same as run 29015, but dimmed + + +29034 5/29/2013 20 21.5 50000 2 Fe55,dimmed 64 1.50E+05 3.15 y 19 … 21 +29035 5/29/2013 20 21.0 50000 2 Fe55,dimmed 80 1.50E+05 3.15 y +29036 5/29/2013 -20 -16.0 50000 2 Fe55,dimmed 64 1.50E+05 3.15 y -12 … -19 +29037 5/30/2013 -20 -16.0 50000 2 Fe55,dimmed 80 1.50E+05 3.15 y +29038 5/30/2013 -70 -57.0 50000 2 Fe55,dimmed 64 1.50E+05 3.15 y -30 … -60 +29039 5/30/2013 -70 -56.5 50000 2 Fe55,dimmed 80 1.50E+05 3.15 y + +29040 5/28/2013 20 21.0 50000 2 none 64 1.50E+05 3.08 y +29041 5/28/2013 20 21.0 50000 2 none 80 1.50E+05 3.08 y +29042 5/28/2013 -20 -13.5 50000 2 none 64 1.50E+05 3.08 y +29043 5/28/2013 -20 -14.5 50000 2 none 80 1.50E+05 3.08 y +29044 5/29/2013 -70 -52.5 50000 2 none 64 1.50E+05 3.08 y +29045 5/29/2013 -70 -53.5 50000 2 none 80 1.50E+05 3.08 y + +29046 5/31/2013 20 21.6 50000 2 Sr90 64 1.50E+05 3.15 y +29047 5/31/2013 20 21.0 50000 2 Sr90 80 1.50E+05 3.15 y +29048 5/31/2013 -20 -15.5 50000 2 Sr90 64 1.50E+05 3.15 y +29049 6/2/2013 -20 -16.0 50000 2 Sr90 80 1.50E+05 3.15 y +29050 6/2/2013 -70 -54.5 50000 2 Sr90 64 1.50E+05 3.15 y +29051 6/2/2013 -70 -54.5 50000 2 Sr90 80 1.50E+05 3.15 y + + +29052 6/7/2013 20 21.0 50000 4 Fe55,dimmed 64 1.00E+12 1.52 y 19 … 21 +29053 6/7/2013 20 21.0 50000 4 Fe55,dimmed 80 1.00E+12 1.52 y +29054 6/7/2013 -20 -15.5 50000 4 Fe55,dimmed 64 1.00E+12 1.52 y -12 … -19 +29055 6/7/2013 -20 -16.5 50000 4 Fe55,dimmed 80 1.00E+12 1.52 y +29056 6/7/2013 -70 -58.0 50000 4 Fe55,dimmed 64 1.00E+12 1.52 y -30 … -60 +29057 6/7/2013 -70 -58.0 50000 4 Fe55,dimmed 80 1.00E+12 1.52 y + +29058 6/6/2013 20 21.5 50000 4 none 64 1.00E+12 1.52 y +29059 6/6/2013 20 21.0 50000 4 none 80 1.00E+12 1.52 y +29060 6/6/2013 -20 -15.5 50000 4 none 64 1.00E+12 1.52 y +29061 6/6/2013 -20 -15.5 50000 4 none 80 1.00E+12 1.52 y +29062 6/6/2013 -70 -54.5 50000 4 none 64 1.00E+12 1.52 y +29063 6/6/2013 -70 -56.0 50000 4 none 80 1.00E+12 1.52 y + +29064 6/10/2013 20 22.0 50000 4 Sr90 64 1.00E+12 1.52 y +29065 6/10/2013 20 21.5 50000 4 Sr90 80 1.00E+12 1.52 y +29066 6/10/2013 -20 -13.5 50000 4 Sr90 64 1.00E+12 1.52 y +29067 6/10/2013 -20 -14.0 50000 4 Sr90 80 1.00E+12 1.52 y +29068 6/10/2013 -70 -53.0 50000 4 Sr90 64 1.00E+12 1.52 y +29069 6/10/2013 -70 -54.0 50000 4 Sr90 80 1.00E+12 1.52 y + + +29070 6/14/2013 20 21.5 50000 5 Fe55,dimmed 64 3.00E+12 1.57 y 19 … 21 +29071 6/14/2013 20 21.0 50000 5 Fe55,dimmed 80 3.00E+12 1.55 y +29072 6/14/2013 -20 -16.0 50000 5 Fe55,dimmed 64 3.00E+12 1.57 y -12 … -19 +29073 6/14/2013 -20 -16.5 50000 5 Fe55,dimmed 80 3.00E+12 1.55 y +29074 6/14/2013 -70 -58.5 50000 5 Fe55,dimmed 64 3.00E+12 1.57 y -30 … -60 +29075 6/14/2013 -70 -58.5 50000 5 Fe55,dimmed 80 3.00E+12 1.55 y + +29076 6/13/2013 20 20.5 50000 5 none 64 3.00E+12 1.57 y +29077 6/13/2013 20 20.5 50000 5 none 80 3.00E+12 1.55 y +29078 6/13/2013 -20 -16.5 50000 5 none 64 3.00E+12 1.57 y +29079 6/13/2013 -20 -17.0 50000 5 none 80 3.00E+12 1.55 y +29080 6/13/2013 -70 -57.0 50000 5 none 64 3.00E+12 1.57 y +29081 6/13/2013 -70 -59.5 50000 5 none 80 3.00E+12 1.55 y + +29082 6/17/2013 20 21.5 50000 5 Sr90 64 3.00E+12 1.57 y +29083 6/17/2013 20 21.0 50000 5 Sr90 80 3.00E+12 1.55 y +29084 6/17/2013 -20 -14.0 50000 5 Sr90 64 3.00E+12 1.57 y +29085 6/17/2013 -20 -15.0 50000 5 Sr90 80 3.00E+12 1.55 y +29086 6/17/2013 -70 -54.0 50000 5 Sr90 64 3.00E+12 1.57 y +29087 6/17/2013 -70 -54.5 50000 5 Sr90 80 3.00E+12 1.55 y + + +29088 6/20/2013 20 21.0 50000 6 Fe55,dimmed 64 1.00E+13 1.54 y 19 … 21 +29089 6/20/2013 20 21.0 50000 6 Fe55,dimmed 80 1.00E+13 1.53 y +29090 6/20/2013 -20 -16.5 50000 6 Fe55,dimmed 64 1.00E+13 1.54 y -12 … -19 +29091 6/20/2013 -20 -16.5 50000 6 Fe55,dimmed 80 1.00E+13 1.53 y +29092 6/20/2013 -70 -58.5 50000 6 Fe55,dimmed 64 1.00E+13 1.54 y -30 … -60 +29093 6/20/2013 -70 -59.5 50000 6 Fe55,dimmed 80 1.00E+13 1.53 y + +29094 6/18/2013 20 20.5 50000 6 none 64 1.00E+13 1.54 y +29095 6/18/2013 20 20.5 50000 6 none 80 1.00E+13 1.53 y +29096 6/18/2013 -20 -15.5 50000 6 none 64 1.00E+13 1.54 y +29097 6/18/2013 -20 -15.5 50000 6 none 80 1.00E+13 1.53 y +29098 6/19/2013 -70 -60.0 50000 6 none 64 1.00E+13 1.54 y +29099 6/19/2013 -70 -60.0 50000 6 none 80 1.00E+13 1.53 y + +29100 6/24/2013 20 21.0 50000 6 Sr90 64 1.00E+13 1.54 y +29101 6/24/2013 20 21.0 50000 6 Sr90 80 1.00E+13 1.53 y +29102 6/24/2013 -20 -15.0 50000 6 Sr90 64 1.00E+13 1.54 y +29103 6/24/2013 -20 -16.0 50000 6 Sr90 80 1.00E+13 1.53 y +29104 6/24/2013 -70 -54.5 50000 6 Sr90 64 1.00E+13 1.54 y +29105 6/24/2013 -70 -55.5 50000 6 Sr90 80 1.00E+13 1.53 y + End of first measurement phase. + +29106 20 50000 1 Fe55,superdimmed 64 0.00E+00 3.20 y +29107 20 50000 1 Fe55,superdimmed 80 0.00E+00 3.12 y +29090 -20 50000 1 Fe55,superdimmed 64 0.00E+00 3.19 y +29091 -20 50000 1 Fe55,superdimmed 80 0.00E+00 3.12 y +29092 -70 50000 1 Fe55,superdimmed 64 0.00E+00 3.18 y (eingefroren) +29093 -70 50000 1 Fe55,superdimmed 80 0.00E+00 3.10 y (eingefroren) + +29114 31.10.2013 20 21,0 50000 1 Cd109 64 0,00E+00 3,20 y measurement with Cd109 with the same parameters Vba, Vbo and Vdiode like all previous measurements 0,24 2,50 +29115 01.11.2013 20 21,0 50000 1 Cd109 64 0,00E+00 3,20 y 3,31 2,50 +29116 01.11.2013 20 21,0 50000 1 Cd109 64 0,00E+00 2,74 y 3,31 2,50 +29117 01.11.2013 20 21,0 50000 1 Cd109 64 0,00E+00 2,74 y 3,31 2,34 + + + + + 20 50000 2 Fe55,superdimmed 64 1.50E+05 3.15 + 20 50000 2 Fe55,superdimmed 80 1.50E+05 3.15 + -20 50000 2 Fe55,superdimmed 64 1.50E+05 3.15 + -20 50000 2 Fe55,superdimmed 80 1.50E+05 3.15 + -70 50000 2 Fe55,superdimmed 64 1.50E+05 3.15 + -70 50000 2 Fe55,superdimmed 80 1.50E+05 3.15 + + 20 50000 4 Fe55,superdimmed 64 1.00E+12 1.52 + 20 50000 4 Fe55,superdimmed 80 1.00E+12 1.52 + -20 50000 4 Fe55,superdimmed 64 1.00E+12 1.52 + -20 50000 4 Fe55,superdimmed 80 1.00E+12 1.52 + -70 50000 4 Fe55,superdimmed 64 1.00E+12 1.52 + -70 50000 4 Fe55,superdimmed 80 1.00E+12 1.52 + + 20 50000 5 Fe55,superdimmed 64 3.00E+12 1.57 + 20 50000 5 Fe55,superdimmed 80 3.00E+12 1.55 + -20 50000 5 Fe55,superdimmed 64 3.00E+12 1.57 + -20 50000 5 Fe55,superdimmed 80 3.00E+12 1.55 + -70 50000 5 Fe55,superdimmed 64 3.00E+12 1.57 + -70 50000 5 Fe55,superdimmed 80 3.00E+12 1.55 + + 20 50000 6 Fe55,superdimmed 64 1.00E+13 1.54 + 20 50000 6 Fe55,superdimmed 80 1.00E+13 1.53 + -20 50000 6 Fe55,superdimmed 64 1.00E+13 1.54 + -20 50000 6 Fe55,superdimmed 80 1.00E+13 1.53 + -70 50000 6 Fe55,superdimmed 64 1.00E+13 1.54 + -70 50000 6 Fe55,superdimmed 80 1.00E+13 1.53 diff --git a/ProcessMeasurements/LaborbuchMi29.xls b/ProcessMeasurements/LaborbuchMi29.xls index 3c5f8fe470334555ca00dab54ab8e2721d9212ea..727cfe88232321f6abf6379357a6facc5e83800e 100755 GIT binary patch delta 3696 zcmZvfTWpk75XWb?^x{Ih1uc+XWI+X1SNyi+5;kH8glI$)1Et|kx9vyS(hKPYB9|`g zw}_Oswmn^YTe>$NjERZ1i4P|F$b;cUO*An)_@FO5Xo3k38m%+uyY1|^+ibft=bZoi z&di*%UvEBg-Tcipp;Yb$<5dl?^UHmA+%=8pXu|h@D=RDJd(ZOs?rpB6RRe2YzFtKO zDxf*srgnF$!P`&`PgIUi+3iS_!aSjr4Y^=llEm)n2~` zBL#N^l^u;ruxS-QV=$nU0vzlJDtjvclz^ffdPPxiq$$v-v;p*};enxkwMXq8^j(Pz zUhv7O`p3Zws&63Nqxvp|`|;19+CSiHX$uGNSD!E3+u>_D(GltEP<`Ezi>fc&-R-;7 zuU?My4GsA6WCt*q5@_5>G=W_T5-La-GzpsmO+h)dN1xHOa|JxOJ?+^aT;-oo7QnlF zy5{qsx*Fw? z*cQvG#Ol6aSyedmMYIT!suzMk4E&hHf5{rl$B!}m7{kXl)%jz%7n?r@`TQ}wPi+1e zq{aXO)V{HQrqpFqde^zgs>IGtQBV9xS@%UuR{XXV_jvE(j`!iU zN9SfE+!gQnH*BO?BT|LRK7v^c$#W*ooUE0LM%bbep`55Iy(eWKoYZCSu^IPBc0I|C zTC$^3c4aRQv@&FWg(fD2^s5)(|*@F@yqFkDBTPt?kbqTvcG|2ke#mWIY1eiz|!x9 zb~oOF7=2PIkblz3lww&e|F(;v7OF_^{7Icb&iu4(R z{qBqnJLQ0#V(WwjD~$Z>sSqKpI`EnQOJXb*L1 N?x*d`e|MFY{0|jlNtFNq delta 2241 zcmZXSUuau(6vxlK>7SW(UFuRd)_{mG=qA|AI&j$H28BMXinYlU+oa95Y}R%%?2zHC zZIYYj?{0EWP1AG}EJILGXo5b7^TCHc4CliH1rb5%WDHT9{_e>yzwU4o?vMQL z&G&OY_jk_RhBo($R_NK$3-aRuIJnlgpm#jj+}vzj&x(f+)?PlKRh!;!+yBW9`@h>@ zWFm5EYU-5V01uoSW%mx+_wJ416_3?Aq`Nc#U+qxGpx(R*Zt*kdy{WZcwiD1^d-}1@ z{J0VHXz${0!Cls16K&qJH`=VdHoq_a=dK+Y?AwmHSEANP6lcVBTU?WYDE=AnQ6ff( zIIRg<4O)}5F5o|bU04Vb9j^w@;J*QnX4=oN=XiZrqTScW$8qXa?-P}E4Q6#W%!3Yx zVOTh5dW+b(;CZ+PkHS25jCJmuhZg9AF7fml>=F0;-MbIishGHP7(SGY7-Pf~BSwrE zW5n>I{dGp17^{*ICq`AY#rB9RMw}RN#)vDA1Tj9Aj09sO6eB^51Y;zWhe3=_CBq=b z9WfiWhoKk-F$~5qlt+>npG!uPF_MarBu0`kl6Y>k%fBGkYVr)Q_VQw83xZ1{2QTK93|D^ETd(a zYSux^GFpyk-%8b-Y?U?UBhMTo=a^^CLC!I9p2+LMGcZP;(|JbAGtaz(mRB@;^ezcn zeI!icUYEuu8wpd5go)uu=YYv7n#|vn73VJe{ewXxVN%6+ilYv@EI-u-~PqEQ_`!UJrTwjX^CsxJ71V5%))7wLMH$!xno- zi=C?FpjpfkiT1O!MA?1Jg?;qG)$o=WI#9^O776vM5W80w!+qo4*BZyQ=twUr5&K9! z5b1h*OT_tIDwSA!OX}cC*m1IRpu}Fi#M)bu6<@e@xo4HyTcV0@$_6b_oj-){t?_R3 zopj@#iLLf7Inqm%J}uK_O5c%|W!B!ZvMiHjnOT;ZW!X`u%q*9w&R@dv#spbf5pRFv zP?sIyWhPmn@LefcX>|9+h>zZPCbHGtiUU<)9xH^pFFd}8)KBYn#M{*nS#hLSa4330 z3*cJR+kO$+L|TK3;@j4SKfUod&YZbh+c@ph@lw+vEHw3sYj<_>m`m%$q3NfZd!Xq0 W4rizDYtP{MvvK`=xc1-K7T5pE?B>(} diff --git a/ProcessMeasurements/ProcessMeasurements.C b/ProcessMeasurements/ProcessMeasurements.C index 81efa4c..eff2e22 100644 --- a/ProcessMeasurements/ProcessMeasurements.C +++ b/ProcessMeasurements/ProcessMeasurements.C @@ -23,6 +23,8 @@ #define LABORBUCH "RelevantRuns.csv" #define INPUTDATAPATH "/jspc12_F/Mi29/" #define OUTPUTDATAPATH_MAINFOLDER "/local/sstrohauer/data/" +// use this #define for processing to a specific file +#define OUTPUTDATAPATH_FIXED_PATH "/local/sstrohauer/data/data_4.11.2013_13:57/" using std::cout; using std::endl; @@ -63,13 +65,27 @@ void ProcessMeasurements(Bool_t overwrite = false, Bool_t useSeperateNoiseRun = logfile.close(); // ---------------- - + #ifndef OUTPUTDATAPATH_FIXED_PATH std::string outputDataPath = std::string(OUTPUTDATAPATH_MAINFOLDER) + "data_" + timeSS.str() + "/"; + #else + std::string outputDataPath = OUTPUTDATAPATH_FIXED_PATH; + #endif cout << "Working directory: " << outputDataPath << endl; Int_t mkdirReturnValue = mkdir(outputDataPath.c_str(), 0755); + struct stat dirStat; if (mkdirReturnValue != 0) { - cout << "Can not create directory (mkdir returns " << mkdirReturnValue << ")! Possible error source: No disk space available or directory already existent.\n"; // create directory for this evaluation if not existent and raise error if directory is full - return; + if (stat(outputDataPath.c_str(), &dirStat) == 0) { + if (overwrite == true) { + cout << "Directory already exists! Overwriting content...\n"; + } + else { + cout << "Directory already exists! Overwrite flag not set, so evaluating only non existent files...\n"; + } + } + else { + cout << "Can not create directory (mkdir returns " << mkdirReturnValue << ")! Possible error source: No disk space available or directory already existent and overwrite flag set to zero.\n"; // create directory for this evaluation if not existent and raise error if directory is full + return; + } } // 1. case: Process one single run, chosen by the user while calling main() -- 2.43.0