diff --git a/data/rawDataDSR4/README.md b/data/rawDataDSR4/README.md index a0eea58ef41913feb0aa66dcbcc6a6c0c0d0c7ad..d4ac709a96e1e45d025c5c47149333c657e7d51e 100644 --- a/data/rawDataDSR4/README.md +++ b/data/rawDataDSR4/README.md @@ -4,18 +4,18 @@ Logbook File name | Num of events | Comment ------------------------|---------------|---------------------------------------------------------------------| -NeuRad_test_071216_1.dat| 500 | -NeuRad_test_071216_2.dat| 500 | collimated gamma source; ch0 and ch1 have coincidence; ?trigger ch0?| +NeuRad_test_071216_1.dat| 500 | collimated gamma source; ch0 and ch1 have coincidence; trigger ch0 | +NeuRad_test_071216_2.dat| 5000 | collimated gamma source; ch0 and ch1 have coincidence; trigger ch0 | NeuRad_test_071216_3.dat| | neutron source Cf | -NeuRad_test_071216_4.dat| 2000 | source 60Co; trigger ch1; ch1-front, ch2,ch3,ch4 - back | -NeuRad_test_071216_5.dat| 2000 | source 60Co; trigger ch1; ch1-front, ch2,ch3,ch4 - back | -NeuRad_test_071216_6.dat| 2000 | source 60Co; trigger ch1; ch1-front, ch2,ch3,ch4 - back | -NeuRad_test_071216_7.dat| 2000 | source 60Co; trigger ch1; ch1-front, ch2,ch3,ch4 - back | +NeuRad_test_071216_4.dat| 2000 | source 60Co; trigger ch0; ch0-front, ch1,ch2,ch3 - back | +NeuRad_test_071216_5.dat| 2000 | source 60Co; trigger ch0; ch0-front, ch1,ch2,ch3 - back | +NeuRad_test_071216_6.dat| 2000 | source 60Co; trigger ch0; ch0-front, ch1,ch2,ch3 - back | +NeuRad_test_071216_7.dat| 2000 | source 60Co; trigger ch0; ch0-front, ch1,ch2,ch3 - back | ------------------------|---------------|---------------------------------------------------------------------| Change of PMT amplification: increasing voltage up to 1100 mV, threshold 25 mV ------------------------|---------------|---------------------------------------------------------------------| -NeuRad_test_071216_8.dat| 10000 | source 60Co; trigger ch1; ch1-front, ch2,ch3,ch4 - back ????? | -NeuRad_test_081216_1.dat| | trigger ch3 ????? | -NeuRad_test_081216_2.dat| | collimated gamma source; two channels only: ch1 and ch2 | +NeuRad_test_071216_8.dat| 10000 | source 60Co; trigger ch0; ch0-front, ch1,ch2,ch3 - back | +NeuRad_test_081216_1.dat| | trigger ch2 ????? | +NeuRad_test_081216_2.dat| 10000 | collimated gamma source; two channels only: ch0 and ch1 | diff --git a/macros/analyse.C b/macros/analyse.C index 4921699575da20fa6afc6a9799d1ab39cd91fbb8..02d13c606c53fb1015ddb2376d565ea1d418294f 100644 --- a/macros/analyse.C +++ b/macros/analyse.C @@ -2,7 +2,7 @@ void analyse() { gSystem->Load("../libData.so"); - TFile *f = new TFile("../data/rawDataDSR4/NeuRad_test_07_8.root"); + TFile *f = new TFile("../data/rawDataDSR4/NeuRad_test_08_2.root"); TTree *tr = (TTree*)f->Get("rtree"); const Int_t noBranches = 4; @@ -19,7 +19,7 @@ void analyse() // tr->SetMakeClass(1); - TFile *fw = new TFile("../data/dataDSR4/analysis_07_8.root", "RECREATE"); //create .root file with somehow analyzed data + TFile *fw = new TFile("../data/dataDSR4/analysis_08_2.root", "RECREATE"); //create .root file with somehow analyzed data TTree *tw = new TTree("atree", "title of drs4 analysis tree"); //create analysis tree atree in it AEvent *wevent[noBranches]; // pointer to the array (of AEvent class) in which analyzed data for each channel will be put diff --git a/macros/histCFDf7_8.C b/macros/histCFDf7_8.C new file mode 100644 index 0000000000000000000000000000000000000000..f4bf1e3c87765c4a25a278fd9e2259617c1d17fc --- /dev/null +++ b/macros/histCFDf7_8.C @@ -0,0 +1,16 @@ +void histCFDf7_8() +{ + gSystem->Load("../libData.so"); + TFile *f = new TFile("../data/dataDSR4/analysis_07_8.root"); + TTree *t = (TTree*)f->Get("atree"); + TCanvas *c = new TCanvas("CFD canvas"); + c->Divide(2,2); + c->cd(1); + t->Draw("Ach0.fTimeCFD","",""); + c->cd(2); + t->Draw("Ach2.fTimeCFD","",""); + c->cd(3); + t->Draw("Ach0.fTimeCFD - Ach2.fTimeCFD","",""); + c->cd(4); + +} diff --git a/macros/histCFDf8_2.C b/macros/histCFDf8_2.C new file mode 100644 index 0000000000000000000000000000000000000000..f10cfdbab84eeb100d3389ca1f71c2a68da4c258 --- /dev/null +++ b/macros/histCFDf8_2.C @@ -0,0 +1,16 @@ +void histCFDf8_2() +{ + gSystem->Load("../libData.so"); + TFile *f = new TFile("../data/dataDSR4/analysis_08_2.root"); + TTree *t = (TTree*)f->Get("atree"); + TCanvas *c = new TCanvas("CFD canvas"); + c->Divide(2,2); + c->cd(1); + t->Draw("Ach0.fTimeCFD","",""); + c->cd(2); + t->Draw("Ach1.fTimeCFD","",""); + c->cd(3); + t->Draw("Ach0.fTimeCFD - Ach1.fTimeCFD","",""); + c->cd(4); + +}