From 6fdd01976f187cdf36262ad036bbf8c72d4a0d27 Mon Sep 17 00:00:00 2001 From: Gabriella Gaudio <62577055+gaudio74@users.noreply.github.com> Date: Tue, 1 Mar 2022 23:32:05 +0100 Subject: [PATCH 1/4] Update README.md --- TBDataPreparation/README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/TBDataPreparation/README.md b/TBDataPreparation/README.md index 0802920..4a1fa4d 100644 --- a/TBDataPreparation/README.md +++ b/TBDataPreparation/README.md @@ -12,7 +12,10 @@ For every relevant software version we release the corresponding test beam data | v1.3 | /eos/user/i/ideadr/TB2021_H8/CERNDATA/v1.3/ | Data produced starting from .bz2 files from PMT DAQ and from .root files from SiPM DAQ as available at the end of the CERN test beam. Produced by Lorenzo on 26/11/2021. | ### Testbeam at DESY -To be written. +| SW version | Path | Comments | +| ------------- | ------------- | ------------- | +| v1.3.1 | /eos/user/i/ideadr/TB2021_H8/CERNDATA/v1.3.1/ | Data produced with v1.3.1 i.e. with new calibration constants. Only PhysicsConverter was updated, so data production starts from mergedNtuples/ as copied from v1.3. Only reconNtuple/ files are stored. | + ## Data production From 3f41dfd28db2095570f95b66ee5cb85b4d09765d Mon Sep 17 00:00:00 2001 From: Gabriella Gaudio <62577055+gaudio74@users.noreply.github.com> Date: Wed, 2 Mar 2022 00:47:02 +0100 Subject: [PATCH 2/4] Update README.md --- TBDataPreparation/README.md | 63 ++++++++++++++++++++++++++++++++++--- 1 file changed, 59 insertions(+), 4 deletions(-) diff --git a/TBDataPreparation/README.md b/TBDataPreparation/README.md index 4a1fa4d..e469905 100644 --- a/TBDataPreparation/README.md +++ b/TBDataPreparation/README.md @@ -14,7 +14,7 @@ For every relevant software version we release the corresponding test beam data ### Testbeam at DESY | SW version | Path | Comments | | ------------- | ------------- | ------------- | -| v1.3.1 | /eos/user/i/ideadr/TB2021_H8/CERNDATA/v1.3.1/ | Data produced with v1.3.1 i.e. with new calibration constants. Only PhysicsConverter was updated, so data production starts from mergedNtuples/ as copied from v1.3. Only reconNtuple/ files are stored. | +| v1.3.1 | /eos/user/i/ideadr/TB2021_Desy/DESYDATA/v1.3.1/ | Data produced with v1.3.1: unique calibration for PMTs and SiPMs| ## Data production @@ -43,7 +43,7 @@ The following are instructions to handle raw test-beam data taken at the CERN SP 4. Copy the raw data from SiPM DAQ, and create directory for merged files ```sh cp -r /eos/user/i/ideadr/TB2021_H8/rawNtupleSiPM/ . - mkdir mergedNtupe + mkdir mergedNtuple ``` 4. Merge the information from the two DAQs. Edit the ```DREMTubes/TBDataPreparation/202108_SPS/scripts/DR_BlendedDaq2Root.py``` and make sure that the ```SiPMFileDir```, ```DaqFileDir``` and ```MergedFileDir``` point to the correct directories. Then ```sh @@ -56,5 +56,60 @@ The following are instructions to handle raw test-beam data taken at the CERN SP ``` ### 202106_DESY: Testbeam at DESY. -The following are instructions to handle raw test-beam data taken at the DESY 2021 test beam. -To be written. + +The following are instructions to handle raw test-beam data taken at the DESY 2021 test beam. The entire production takes about 4 hours. +1. Git clone the test-beam sw on lxplus + ```sh + git@github.com:lopezzot/DREMTubes.git + ``` +2. Raw data for PMT-read-out towers are in the /eos space. Create the rawNtuple folder for data rootification + ```sh + ls /eos/user/i/ideadr/TB2021_Desy/rawData/ + mkdir rawNtuple/ + ``` + One file is saved per each run and named desydata.runNo.txt.bz2, with run numbers from 400 to 743. Therefore the entire data collection goes from ```sps2021.data.run19.txt.bz2``` to ```sps2021.data.run396.txt.bz2```. +3. Transform ASCII files to root files. Edit ```DREMTubes/TBDataPreparation/202106_DESY/scripts/DRrootify.py``` so that ```datapath``` and ```ntuplepath``` variables point to the ```rawData/``` and the ```rawNtuples/``` folders respectively. Then rootify the data + ```sh + python DREMTubes/TBDataPreparation/202106_DESY/scripts/DRrootify.py + ``` + Hint: if something goes wrong just re-run the command, it will check for already produced .root files and skip them. +4. Raw data from SiPM DAQ are copied in the /eos space; create rawNtuple folder for data rootification + ```sh + ls /eos/user/i/ideadr/TB2021_Desy/rawDataSiPM/ + mkdir rawNtupleSiPM + ``` +5. Transform data files to root files. Edit ```DREMTubes/TBDataPreparation/202106_DESY/SIPM/convert.py``` so that ```datapath``` and ```ntuplepath``` variables point to the ```rawData/``` and the ```rawNtuples/``` folders respectively. Then rootify the data + ```sh + python DREMTubes/TBDataPreparation/202106_DESY/SIPM/convert.py + ``` +6. Merge the information from the two DAQs. Edit the ```DREMTubes/TBDataPreparation/202108_SPS/scripts/DR_BlendedDaq2Root.py``` and make sure that the ```SiPMFileDir```, ```DaqFileDir``` and ```MergedFileDir``` point to the correct directories. Then + ```sh + mkdir /eos/user/i/ideadr/TB2021_Desy/mergedNtuple/ + python DREMTubes/TBDataPreparation/202106_DESY/scripts/DR_BlendedDaq2Root.py --newFiles + ``` +7. Perform calibration on the PMTs + * Edit the macro ```DREMTubes/TBDataPreparation/202106_DESY/PMT/DoCalibration.cxx``` and make sure the paths are correct. + * There are three distinct calibrations for the PMTs, depending on the HW configuration (see here https://twiki.cern.ch/twiki/bin/view/DREAM/GoodRunList the good run list for details + * myconf= 0 : // yellow filter + * myconf= 1 : // no yellow filter + * myconf= 2 : // no yellow filter and PMT_C ampliefied + * Run the macro in root + ```sh + root + .x DoCalibration.cxx(myconf) + ``` + * it produce three output files in /eos/user/i/ideadr/TB2021_Desy/PMT_calibration/ + * equal_myconf.txt + * pedestal_myconf.txt + * pmt_json_myconf.txt + where myconf is 0,1 or 2 + * copy the pmt_json_myconf.txt last part to the json file in the ```DREMTubes/TBDataPreparation/202106_DESY/scripts/Run_myconf.json``` directory. Also here you will need three files. Both the PMT and the PhetoGeVS (C) parts need to be updated +8. Create folder for reconstrcuted files. Edit ```DREMTubes/TBDataPreparation/202108_SPS/scripts/DoPhysicsConverter.py``` so that ```mrgpath``` and ```recpath``` point to the correct repositories. Also edit ```DREMTubes/TBDataPreparation/202108_SPS/scripts/PhysicsConverter.C``` and modify the ```infile``` and ```outfile``` variables so that ther points to the correct directories. Then, apply calibration constants and high-level objects abstaction + ```sh + cd DREMTubes/TBDataPreparation/202106_Desy/scripts/ + python DoPhysicsConverter.py myconf + ``` + + + + From 66dc6b2e88f34e24f0c7a3843af61f3f9e81c454 Mon Sep 17 00:00:00 2001 From: gaudio74 Date: Tue, 29 Mar 2022 14:21:03 +0200 Subject: [PATCH 3/4] new calibration for Desy data --- TBDataAnalysis/202106_DESY/PhysicsAnalysis.C | 20 +- .../202106_DESY/PMT/RunXXXcalib.json | 1301 +---------------- .../202106_DESY/scripts/DoPhysicsConverter.py | 4 +- .../202106_DESY/scripts/Run_0.json | 8 +- .../202106_DESY/scripts/Run_1.json | 1271 +--------------- .../202106_DESY/scripts/Run_2.json | 8 +- 6 files changed, 46 insertions(+), 2566 deletions(-) diff --git a/TBDataAnalysis/202106_DESY/PhysicsAnalysis.C b/TBDataAnalysis/202106_DESY/PhysicsAnalysis.C index d046081..ac4ea6f 100644 --- a/TBDataAnalysis/202106_DESY/PhysicsAnalysis.C +++ b/TBDataAnalysis/202106_DESY/PhysicsAnalysis.C @@ -26,7 +26,8 @@ ClassImp(EventOut) void PhysicsAnalysis(const string run){ - string infile = "/eos/user/i/ideadr/TB2021_Desy/recoNtuple/physics_desy2021_run"+run+".root"; + //string infile = "/eos/user/i/ideadr/TB2021_Desy/recoNtuple/physics_desy2021_run"+run+".root"; + string infile = "/eos/user/i/ideadr/TB2021_Desy/recoNtuple_20220307/physics_desy2021_run"+run+".root"; std::cout<<"Using file: "<GetEntry(i); energyS = evt->totSiPMSene + evt->SPMTenergy; //Energy unit is GeV energyC = evt->totSiPMCene + evt->CPMTenergy; - enesplot->Fill(energyS, energyC); - E_S->Fill(energyS); - E_C->Fill(energyC); - E_pmtS->Fill(evt->SPMTenergy); - E_pmtC->Fill(evt->CPMTenergy); - E_SiPMS->Fill(evt->totSiPMSene); - E_SiPMC->Fill(evt->totSiPMCene); - + if(energyS > 1 && energyC >1 ){ + enesplot->Fill(energyS, energyC); + E_S->Fill(energyS); + E_C->Fill(energyC); + E_pmtS->Fill(evt->SPMTenergy); + E_pmtC->Fill(evt->CPMTenergy); + E_SiPMS->Fill(evt->totSiPMSene); + E_SiPMC->Fill(evt->totSiPMCene); + } } enesplot->Draw("COLZ"); diff --git a/TBDataPreparation/202106_DESY/PMT/RunXXXcalib.json b/TBDataPreparation/202106_DESY/PMT/RunXXXcalib.json index 921d436..1b50017 100644 --- a/TBDataPreparation/202106_DESY/PMT/RunXXXcalib.json +++ b/TBDataPreparation/202106_DESY/PMT/RunXXXcalib.json @@ -1,1294 +1,13 @@ { - "Calibrations": { - "SiPM": { - "highGainPedestal": [ - 65.0812301, - 59.2502632, - 60.0310745, - 60.2687873, - 60.2502555, - 60.9550933, - 61.1609191, - 60.632801, - 63.260498, - 61.4729232, - 60.2604827, - 60.7285385, - 59.6098289, - 61.0361404, - 59.526786, - 59.6733055, - 64.1957931, - 63.584873, - 64.38385, - 64.9047851, - 64.4836349, - 64.590332, - 64.9312133, - 64.9663925, - 68.9604568, - 65.4278411, - 64.5032119, - 64.4184188, - 65.5806198, - 65.932373, - 65.2285995, - 65.2642288, - 61.0829238, - 60.3246307, - 60.938755, - 61.0819549, - 61.6120872, - 60.806659, - 60.9972534, - 61.447025, - 61.511486, - 60.5652313, - 60.4999504, - 60.6424751, - 60.9717025, - 61.8367233, - 60.8078079, - 59.6759681, - 64.3934173, - 64.424118, - 64.7236633, - 64.5929412, - 63.8094062, - 75.5970001, - 64.152511, - 63.9215621, - 64.7850341, - 63.3323669, - 64.2547302, - 64.1059951, - 65.3754119, - 64.4723129, - 65.0950241, - 65.5182495, - 57.931034, - 54.6756782, - 55.3939323, - 55.8759384, - 54.3453254, - 54.8412704, - 55.593776, - 55.0477981, - 55.2020416, - 55.751461, - 54.4559898, - 55.2699661, - 55.5765457, - 54.4823608, - 54.2068595, - 56.1063423, - 57.0851936, - 57.1026725, - 57.0599632, - 56.818756, - 56.7219657, - 57.2658081, - 57.569637, - 56.8002204, - 59.4532585, - 56.2317619, - 56.4398803, - 56.2845916, - 56.595775, - 57.4362335, - 56.849304, - 57.9839477, - 55.9228744, - 55.0002403, - 55.7335853, - 55.7582244, - 56.86063, - 60.073532, - 55.3275184, - 56.250061, - 55.8240051, - 56.371376, - 55.7757148, - 54.2052497, - 54.5755729, - 54.3551063, - 51.8221397, - 54.094326, - 55.2591438, - 55.9042053, - 56.4132766, - 56.7407531, - 56.5666427, - 57.0813674, - 57.0533561, - 55.9713287, - 55.3058242, - 56.9868965, - 56.4304122, - 56.458847, - 58.2631988, - 58.2973327, - 58.7913322, - 58.539196, - 65.5698776, - 62.7863578, - 60.274372, - 62.4294471, - 62.6804275, - 62.3549804, - 62.5745391, - 61.1005363, - 64.4499969, - 63.5751075, - 62.9896621, - 61.4320793, - 62.1335029, - 62.6861991, - 61.3987731, - 60.2844009, - 65.2192382, - 65.4661941, - 64.4033584, - 65.1759643, - 65.0953216, - 65.1003875, - 65.678909, - 65.1431579, - 69.308425, - 65.7752914, - 64.8997802, - 65.3634185, - 66.6297531, - 66.4141464, - 67.013549, - 65.9307327, - 62.164894, - 62.5749511, - 61.6566848, - 62.2681961, - 62.6449394, - 63.0143318, - 61.7523803, - 63.0355186, - 64.9040374, - 61.7909927, - 63.2255363, - 62.6746749, - 61.7949714, - 60.5661735, - 60.482791, - 62.2331047, - 66.511177, - 64.8953094, - 66.2206344, - 64.0143814, - 64.1770477, - 64.9919509, - 65.2191238, - 66.421302, - 64.956733, - 64.1427688, - 64.2405548, - 63.6240463, - 66.8626251, - 65.683761, - 66.2747039, - 66.8495788, - 53.1641006, - 48.7578086, - 50.1274948, - 49.8383369, - 49.9723815, - 50.958679, - 51.440509, - 50.0290412, - 51.0586891, - 51.1091384, - 50.930828, - 49.699295, - 49.4970016, - 49.6882972, - 48.950241, - 49.4281463, - 53.587574, - 53.9669609, - 53.688713, - 52.9364585, - 51.5662231, - 53.0591735, - 53.0507278, - 53.4333801, - 57.270977, - 53.2780723, - 54.0436935, - 53.5619888, - 53.8034515, - 55.747795, - 53.531223, - 57.4791641, - 49.3256797, - 50.687046, - 49.8006935, - 51.2650871, - 50.8797073, - 50.804531, - 50.6531028, - 49.7301406, - 51.7511024, - 50.6571502, - 49.744003, - 49.6076126, - 49.6536827, - 49.3789253, - 48.9785652, - 48.076889, - 53.8576278, - 53.1031494, - 53.9770622, - 52.3420867, - 52.6996078, - 53.8429756, - 53.0034637, - 53.6407928, - 51.8469505, - 52.168476, - 52.4201431, - 53.0401039, - 53.0075035, - 54.1969566, - 55.0232543, - 53.9440498, - 45.1313056, - 40.1001014, - 39.6710891, - 40.2098121, - 40.1949348, - 40.8044815, - 41.175991, - 40.9353752, - 40.662376, - 40.78244, - 41.0223617, - 40.1674728, - 40.3273124, - 39.2272911, - 38.4772834, - 38.7221107, - 43.722763, - 43.7683258, - 43.5072326, - 43.1445617, - 43.9795112, - 42.92229, - 44.120407, - 43.4214515, - 47.3842773, - 44.2319717, - 43.2122917, - 43.5382041, - 43.7581825, - 44.3045425, - 44.6408729, - 44.8701248, - 39.2753944, - 38.5502586, - 39.3551254, - 40.5338783, - 41.100601, - 39.4132728, - 40.3082923, - 40.2126007, - 40.2099609, - 39.212387, - 40.3988189, - 40.2584037, - 39.8794975, - 39.4274139, - 39.448867, - 38.3165473, - 44.2202072, - 44.056652, - 42.8205604, - 43.377674, - 43.354209, - 43.8452987, - 42.5505371, - 43.6035804, - 43.255577, - 42.875778, - 42.5746917, - 43.3331031, - 43.880825, - 43.9402351, - 44.7442321, - 43.17211533 - ], - "lowGainPedestal": [ - 59.75643735, - 66.91208005, - 67.27655012, - 60.6730728, - 58.70665774, - 60.59670887, - 61.4406795, - 60.68363343, - 60.4797152, - 62.43183196, - 61.34760479, - 56.15146854, - 60.43441886, - 61.56411325, - 55.4064213, - 58.25231598, - 65.0205467, - 66.60645296, - 65.51115127, - 64.61603433, - 61.22909735, - 60.95209173, - 65.51622505, - 64.65017301, - 70.03441659, - 62.79561756, - 65.65356319, - 62.42679477, - 64.55993366, - 64.31827731, - 64.01111386, - 61.54885411, - 59.16615027, - 64.20836868, - 59.52280576, - 59.9956162, - 62.07759453, - 58.71813505, - 60.73908585, - 60.15739652, - 59.88803351, - 62.99144354, - 59.70353951, - 61.16888153, - 61.83149209, - 61.49682767, - 59.03213788, - 58.77003647, - 66.30448822, - 65.42034328, - 64.05436443, - 65.87661648, - 64.08758859, - 60.50125282, - 65.39255767, - 64.32995717, - 61.17637476, - 65.18179925, - 62.33276272, - 62.4113819, - 63.36209831, - 64.17988842, - 62.34342672, - 63.24241013, - 52.4052589, - 55.19962244, - 50.32665739, - 54.30718426, - 52.08984832, - 51.48724171, - 50.90008296, - 52.15504078, - 49.95480498, - 53.13313646, - 53.14139409, - 52.15932161, - 53.41642076, - 52.24832054, - 50.1840993, - 49.37092624, - 55.55355634, - 56.20992903, - 57.10978851, - 56.95677929, - 55.63128313, - 55.63962464, - 53.33448323, - 56.83193053, - 61.88788699, - 56.59005953, - 56.26713192, - 56.93428494, - 56.19162159, - 56.959027, - 54.92859801, - 55.18702054, - 49.87757466, - 52.56549306, - 51.73847722, - 51.43494462, - 53.39340264, - 52.12959664, - 52.52315568, - 52.10034828, - 51.06790549, - 51.76167872, - 54.13853079, - 51.54760615, - 52.20119765, - 50.70927969, - 52.38400685, - 49.57622001, - 56.00768464, - 56.07385311, - 57.2871113, - 56.76335598, - 54.40066894, - 55.70382943, - 55.72738087, - 56.56705491, - 57.04698004, - 57.15455509, - 56.01855681, - 56.93008636, - 56.2320258, - 55.09734994, - 56.03108762, - 54.11239363, - 67.54417708, - 64.87572045, - 59.0258118, - 61.10203779, - 59.20133643, - 60.52528388, - 58.91770131, - 60.53639696, - 60.69184016, - 61.905373, - 58.51400703, - 61.17300346, - 60.08849707, - 58.38108916, - 58.53979106, - 60.63307154, - 68.29776292, - 67.1260802, - 65.38705184, - 65.40010901, - 65.43387209, - 63.81989364, - 67.06748628, - 65.57983888, - 70.92288477, - 68.04442878, - 66.82696501, - 65.1903407, - 64.5387065, - 66.79978318, - 65.48528522, - 63.38075155, - 60.04071283, - 61.75391813, - 60.90769149, - 62.00022311, - 61.12856502, - 60.49822565, - 59.72905477, - 60.26940669, - 59.6676363, - 62.44681504, - 61.57903298, - 61.39752652, - 62.11152726, - 60.45268764, - 58.95448161, - 59.99622148, - 67.31809292, - 63.72086546, - 66.12581384, - 66.20089463, - 67.66597725, - 65.56586447, - 65.42879703, - 64.2830086, - 68.47057668, - 65.84377915, - 66.89919581, - 65.55307119, - 65.50805435, - 65.09986988, - 66.61918395, - 65.94789464, - 57.11974291, - 45.77379757, - 47.21133429, - 47.2989489, - 48.84814675, - 46.65604884, - 47.02060028, - 43.99388947, - 48.03012488, - 49.02098841, - 47.5715593, - 48.0991004, - 46.19968697, - 47.56966097, - 45.37618572, - 44.09906605, - 51.4571875, - 51.91579408, - 52.7203571, - 51.75480406, - 48.87313173, - 51.67504848, - 49.50582201, - 51.31844729, - 55.98278226, - 53.24504966, - 51.23145402, - 52.41763674, - 52.06715629, - 50.55130172, - 48.93360444, - 50.22328297, - 49.8692648, - 48.85115986, - 48.92021258, - 47.18485819, - 48.8675119, - 44.93471534, - 46.93418152, - 46.78124762, - 47.71300494, - 48.67671952, - 48.18206949, - 49.83479986, - 47.58170119, - 44.65604623, - 46.68044056, - 48.36254893, - 52.3825448, - 52.67219547, - 51.72636806, - 53.89673056, - 48.26573754, - 52.17044405, - 52.61563106, - 52.39383536, - 53.04222362, - 51.18018454, - 52.78285449, - 51.51083301, - 46.45930676, - 51.98820365, - 51.08582798, - 48.83729794, - 34.14547789, - 35.68128606, - 34.66482688, - 38.27081518, - 34.06456486, - 31.17566436, - 33.55289036, - 32.71248376, - 36.45295779, - 36.66798388, - 39.4225882, - 35.26866274, - 34.48289705, - 36.76130505, - 34.60885774, - 32.01657561, - 45.63895791, - 43.83540107, - 42.84029853, - 40.93401976, - 40.62517964, - 44.05797073, - 42.76749251, - 38.92765318, - 45.40880561, - 45.01226406, - 42.79530898, - 41.56878536, - 40.809346, - 41.23119886, - 39.8576415, - 36.40722783, - 32.18545202, - 35.53326255, - 35.76415916, - 37.27788006, - 37.39409242, - 32.56448139, - 34.1148262, - 31.95872305, - 38.32300771, - 33.41379309, - 35.57203697, - 36.09176281, - 35.91095294, - 35.82421965, - 35.07270354, - 35.2500875, - 43.40754262, - 42.59137763, - 42.42791057, - 43.46425356, - 44.39378015, - 43.78106357, - 41.16461706, - 41.81303505, - 45.27447635, - 41.09725593, - 43.70769914, - 41.26360525, - 41.72904706, - 40.92519427, - 40.1400405, - 41.72932476 - ], - "highGainDpp": [ - 25.64813385, - 26.41562422, - 26.14165665, - 24.96697634, - 25.39158332, - 24.93392525, - 25.46332228, - 25.8593905, - 29.06055639, - 25.77835028, - 25.004733, - 25.75941781, - 24.97124755, - 24.47887698, - 26.10147, - 24.49573258, - 26.56806748, - 27.79200256, - 26.37547091, - 26.56503502, - 25.89710424, - 25.70015175, - 26.17304838, - 26.22333132, - 26.25507157, - 25.634639, - 25.91423159, - 25.70478469, - 25.95683127, - 25.41717049, - 26.73696446, - 25.45029181, - 25.01819856, - 26.51092887, - 24.66600401, - 25.66351482, - 24.47396056, - 24.90449402, - 25.12282027, - 23.69882064, - 25.24579115, - 26.01563631, - 26.30021294, - 25.33869464, - 24.52309062, - 23.84278218, - 24.90973849, - 25.00340882, - 26.55025542, - 26.79945661, - 25.13922638, - 26.23177275, - 25.55570829, - 26.74851165, - 26.58166401, - 25.1208154, - 25.41311253, - 26.00857731, - 25.7838661, - 26.42939641, - 25.94574137, - 26.18043076, - 26.00308337, - 25.11980916, - 26.78103413, - 26.06725496, - 26.40341706, - 25.91557984, - 26.24765076, - 26.89002475, - 26.56874815, - 26.88275577, - 26.43112125, - 25.72166084, - 26.94735375, - 26.65732434, - 25.88352745, - 26.70150786, - 27.4656668, - 27.0391977, - 27.14817478, - 26.65330455, - 25.60868221, - 26.86120633, - 27.11227005, - 27.09714348, - 27.25097709, - 26.70489809, - 26.44553897, - 25.84833223, - 26.36886884, - 26.83020169, - 26.96837637, - 26.52886136, - 26.42591739, - 27.1628166, - 25.53177168, - 26.05539887, - 26.45474926, - 26.52182595, - 24.41360996, - 25.4337578, - 27.17469697, - 25.87540147, - 26.87187423, - 26.53151972, - 26.69744829, - 26.4318582, - 25.88707982, - 26.37813169, - 27.94778607, - 27.01094728, - 28.67772405, - 26.59533657, - 27.18079383, - 27.50090036, - 26.47130231, - 26.89580167, - 26.85733656, - 26.73153278, - 27.05721121, - 26.99119091, - 27.28937815, - 26.34005397, - 25.94465108, - 27.24249296, - 25.94972864, - 27.06806094, - 21.30183028, - 23.26679505, - 26.58059713, - 24.70576474, - 25.07595319, - 24.5219598, - 24.78675781, - 25.16439571, - 23.92287801, - 22.57782565, - 24.47325001, - 25.48521573, - 24.56577202, - 24.59006564, - 25.40967545, - 26.36539814, - 26.56870051, - 26.16747727, - 26.62068266, - 26.0248235, - 26.41499951, - 26.72812289, - 26.85993462, - 27.09467931, - 25.65078238, - 25.69953747, - 26.81776554, - 26.18484094, - 26.12230458, - 26.27592235, - 25.69198385, - 27.54019186, - 23.16205033, - 24.40625377, - 25.77363801, - 25.13388536, - 25.17561293, - 24.84893234, - 24.61757119, - 24.68223139, - 24.36186552, - 24.67334491, - 23.86667194, - 24.96852231, - 25.10496284, - 25.54792113, - 24.70108443, - 24.19056932, - 26.40757745, - 27.09179404, - 25.60205269, - 27.39748464, - 27.38738625, - 27.32741696, - 26.43594428, - 26.3309601, - 25.00373893, - 25.50337781, - 25.74772201, - 27.33380026, - 26.46101372, - 27.0691841, - 26.73540588, - 27.33972291, - 22.58174434, - 25.41498294, - 25.5152563, - 26.05218926, - 25.1603767, - 24.96385611, - 24.59043986, - 25.56051915, - 23.74914822, - 23.42871678, - 24.69908546, - 25.71066149, - 26.47085857, - 25.77441803, - 25.52357631, - 24.84836273, - 26.31944678, - 25.34958663, - 25.37468209, - 25.8136688, - 26.35627213, - 25.95485568, - 26.22807567, - 25.0632682, - 24.32487399, - 25.53499284, - 24.30279126, - 26.13801394, - 26.23554397, - 25.49870787, - 26.25956563, - 24.99730889, - 24.30751902, - 22.70344809, - 25.28895239, - 23.78324271, - 24.97462909, - 25.10213077, - 24.04372867, - 24.93367772, - 23.49565953, - 24.77710419, - 25.37814934, - 25.01019855, - 26.38426951, - 25.96383069, - 25.81918794, - 25.80094613, - 25.92817183, - 25.66487252, - 24.45289472, - 25.47020171, - 26.1743294, - 26.40099913, - 24.61581809, - 25.82097342, - 25.3245808, - 26.67309909, - 25.52152042, - 25.46177974, - 26.17314264, - 26.30485691, - 26.06017604, - 27.39407401, - 25.09898831, - 24.54528655, - 23.95451347, - 23.17081686, - 25.32701451, - 26.72539424, - 25.99493096, - 24.12047117, - 24.90597211, - 24.35332465, - 23.54142136, - 23.96699196, - 23.98674273, - 24.78343745, - 25.65910875, - 26.28666461, - 25.97785565, - 25.54613594, - 24.88536237, - 25.98164334, - 26.32696577, - 26.28044188, - 25.16657641, - 25.30459122, - 24.72657833, - 25.47867117, - 26.20157137, - 26.15692053, - 25.62870145, - 26.82704353, - 25.9558331, - 26.1504751, - 25.94817463, - 25.44615764, - 24.75221681, - 24.43042468, - 24.15962494, - 25.99223753, - 25.79979294, - 25.92891314, - 25.36681844, - 24.82285968, - 23.38882775, - 25.27475215, - 24.84948551, - 24.82042594, - 24.54007454, - 24.58478487, - 26.50307554, - 25.64664863, - 26.25472325, - 24.03321703, - 25.78281397, - 26.6363719, - 25.53730512, - 24.76301129, - 25.67960238, - 26.41755088, - 26.18540222, - 25.27814571, - 25.59592457, - 26.24924728, - 24.78170707, - 26.51521098 - ], - "lowGainDpp": [ - 0.99322891, - 0.86313068, - 0.78670598, - 0.98456431, - 0.8995152, - 0.99656471, - 0.88840705, - 0.9553049, - 0.99177633, - 0.93615081, - 0.92604019, - 1.07254255, - 0.9484431, - 0.88153259, - 1.13472766, - 0.97479907, - 1.0097968, - 1.07789036, - 1.02659973, - 1.04905134, - 0.98260127, - 0.99127055, - 0.96703899, - 0.99460541, - 0.99912239, - 0.96518352, - 0.99230331, - 0.98341803, - 1.00017743, - 0.99316463, - 1.02141711, - 0.97768105, - 0.9874262, - 0.86819013, - 0.97672839, - 1.01065828, - 0.92678448, - 0.95580582, - 0.98831816, - 0.93006362, - 0.96857613, - 0.87785951, - 1.01102266, - 0.9614847, - 0.90352045, - 0.96734161, - 1.04257812, - 0.97616476, - 0.96318057, - 1.0236791, - 0.98390018, - 1.04981461, - 0.97419812, - 1.05215759, - 0.98379803, - 0.95107362, - 0.95441015, - 1.03533954, - 1.01485107, - 1.00928182, - 1.00999977, - 1.01677804, - 1.00449476, - 1.01305735, - 1.16800408, - 0.9233469, - 1.08004833, - 1.0219956, - 1.02188759, - 1.05326165, - 1.02999966, - 1.08426266, - 1.06529604, - 1.06879835, - 1.03696675, - 1.06135257, - 0.97880563, - 1.04327741, - 1.00041965, - 1.04169138, - 0.74170411, - 1.00106777, - 0.97415359, - 1.04927939, - 0.9711853, - 1.02977455, - 1.02302081, - 1.04510671, - 1.02252369, - 0.935031, - 0.99320667, - 1.04575014, - 1.02782346, - 0.99056286, - 1.03439335, - 1.05450918, - 0.99303509, - 1.05321977, - 1.00095725, - 1.09775996, - 0.99754072, - 0.9907877, - 1.03787307, - 1.00221255, - 1.07091518, - 1.04732842, - 0.97354326, - 0.9935531, - 1.06497796, - 1.00725687, - 0.91153438, - 1.09477613, - 1.0842961, - 0.97755481, - 1.00981952, - 1.07586016, - 1.0984342, - 1.00429431, - 1.01737318, - 1.09892672, - 1.05389611, - 1.06011647, - 0.99648445, - 1.04197209, - 1.0008951, - 1.0339451, - 0.98330914, - 1.048468, - 0.84057374, - 0.88486423, - 1.08697529, - 1.0745454, - 1.05293371, - 0.94151458, - 0.99552461, - 1.04211419, - 1.04577804, - 0.92156151, - 1.01447311, - 1.02009577, - 1.03035384, - 1.01911108, - 1.03203411, - 1.11842048, - 1.09332013, - 1.09936229, - 1.08893688, - 1.08706369, - 1.06423628, - 1.02318101, - 0.99793622, - 1.11374627, - 1.05078949, - 1.09632353, - 1.11029325, - 1.07835301, - 0.99711222, - 1.01977988, - 0.98557759, - 1.09161398, - 1.02136867, - 1.00399708, - 1.06498259, - 1.03975258, - 1.02984152, - 1.04973089, - 1.05385229, - 1.0888921, - 1.11441231, - 0.99470587, - 1.00335494, - 0.984203, - 1.03445746, - 1.0096063, - 1.06435106, - 1.06300188, - 1.02638644, - 1.02102643, - 1.02293747, - 1.12925108, - 1.09719551, - 1.15354756, - 1.05552197, - 1.04868381, - 1.05788579, - 1.03745459, - 1.06191196, - 1.09650334, - 1.01751857, - 1.06656184, - 1.02172428, - 1.02222101, - 0.69679812, - 1.01870217, - 1.02647292, - 0.93669925, - 0.9578316, - 0.8460037, - 0.90685074, - 0.87734013, - 0.9116572, - 0.91183248, - 0.97880707, - 0.93741078, - 1.00585208, - 0.90590954, - 0.87816483, - 0.92685321, - 0.95832955, - 0.96808169, - 0.96630981, - 0.9702869, - 0.93810638, - 1.00017904, - 1.00113846, - 0.96280727, - 0.94479044, - 0.93291556, - 0.93630395, - 0.96595869, - 1.01577049, - 0.95885156, - 1.01822086, - 0.90557615, - 0.81676121, - 0.80578497, - 0.85695873, - 0.88804868, - 0.89091631, - 0.88595439, - 0.87409431, - 0.99545848, - 0.96618848, - 0.86813367, - 0.93933431, - 0.9445463, - 0.91371626, - 0.93216578, - 0.91024009, - 0.91376496, - 0.93162046, - 0.92984542, - 0.94187849, - 0.96044343, - 0.9793663, - 0.99685876, - 0.93085197, - 0.99636541, - 0.99414986, - 0.95348897, - 0.94451326, - 0.97486873, - 0.92408828, - 0.97765193, - 0.94382829, - 1.00924277, - 0.95628369, - 0.98225613, - 0.89261497, - 0.89576982, - 1.00720492, - 1.1213654, - 1.06485235, - 0.86402627, - 0.97114625, - 0.91139802, - 0.88555804, - 0.99879892, - 0.91910074, - 0.93172779, - 0.96184131, - 1.08042857, - 1.00121898, - 0.98567765, - 1.03104765, - 1.04482328, - 1.03171062, - 1.04960458, - 1.07549809, - 1.00845934, - 0.95427563, - 1.06582565, - 1.01481921, - 1.02806384, - 1.03866156, - 1.09409776, - 1.01688868, - 1.02635082, - 1.12793373, - 1.12886966, - 0.8946223, - 0.93388145, - 0.87259705, - 0.98022847, - 0.91728105, - 1.01100258, - 0.93766835, - 1.02619182, - 0.96667548, - 0.99332492, - 1.00352321, - 0.92510994, - 0.98344273, - 0.92251881, - 1.04197696, - 0.97586181, - 1.05584713, - 0.98240808, - 1.05894725, - 1.07365198, - 1.0375301, - 1.05032968, - 0.99482081, - 0.98876489, - 1.05877565, - 0.95526579, - 1.01641318, - 1.06782386, - 0.96917949, - 1.01379149 - ], + "Calibrations" : + { + "SiPM" : + { + "highGainPedestal" : [65.10,59.09,59.92,60.17,59.94,60.72,60.96,60.56,63.62,61.27,60.05,60.60,59.50,60.96,59.63,59.58,64.36,63.80,64.51,65.06,64.69,64.82,65.19,65.18,69.20,65.70,64.71,64.56,65.72,66.02,65.37,65.45,60.95,60.10,60.59,60.93,61.27,60.53,60.67,60.94,61.08,60.23,60.16,60.44,60.66,61.71,60.68,59.67,64.45,64.52,64.84,64.80,63.97,73.99,64.29,64.17,64.96,63.57,64.35,64.29,65.62,64.58,65.14,65.68,57.22,53.63,54.13,54.76,52.95,53.55,54.43,53.85,53.78,54.45,53.32,54.20,54.77,53.63,53.62,55.59,55.98,56.56,56.26,56.21,56.40,56.91,57.42,56.70,59.21,55.63,56.13,55.65,56.05,56.59,56.26,57.12,54.73,53.81,54.41,54.34,55.32,60.11,53.66,54.44,54.07,54.51,54.19,53.11,53.43,53.22,50.78,53.45,54.34,55.12,55.55,56.19,56.37,56.83,56.64,55.87,55.13,56.60,55.72,55.85,57.32,57.57,57.60,57.55,65.38,62.24,59.79,61.77,62.15,61.83,62.03,60.24,63.67,62.77,62.49,60.95,61.77,62.27,61.16,59.99,64.96,64.99,64.03,64.68,64.99,64.80,65.70,65.39,69.48,65.65,64.81,65.04,65.92,66.07,66.29,65.63,61.84,61.88,61.12,61.51,61.94,62.64,60.88,62.53,64.17,61.19,62.71,62.16,61.21,60.16,60.15,62.11,66.10,64.57,65.63,63.80,64.08,64.76,65.05,66.39,65.03,64.02,64.06,63.27,66.48,65.22,65.66,66.50,52.05,47.08,48.34,47.57,47.49,48.20,48.65,46.72,48.30,48.23,48.61,47.47,47.65,48.30,47.66,48.61,52.07,52.25,51.97,51.05,50.60,51.87,52.47,52.27,56.67,52.20,52.53,52.12,52.55,53.38,52.03,55.10,48.08,49.03,47.77,49.39,48.69,48.52,48.20,47.28,49.32,48.18,47.42,47.61,47.89,47.97,47.81,47.07,52.28,51.39,52.38,50.95,51.75,52.41,51.76,52.70,51.23,51.26,51.34,51.33,51.51,52.50,53.28,51.95,43.45,37.72,37.01,37.41,37.12,37.43,37.79,37.48,37.17,37.51,38.02,37.43,37.94,37.15,36.75,37.29,42.28,42.16,42.08,41.79,42.90,41.86,43.01,42.57,46.08,43.14,41.93,42.57,42.36,43.17,43.06,43.00,37.64,36.82,37.16,38.19,38.76,36.88,37.75,37.56,37.60,36.54,37.92,38.00,37.80,37.64,37.90,37.02,42.83,42.69,41.58,42.13,42.41,42.39,41.67,41.61,42.29,41.78,41.41,41.84,42.92,42.65,42.88,41.29], + "lowGainPedestal" : [66.06,64.24,63.12,63.82,62.07,63.02,63.72,63.06,61.29,64.33,64.81,62.71,61.68,62.48,61.13,62.08,64.35,65.67,64.82,63.63,60.85,60.49,64.55,63.80,69.31,62.57,65.09,61.98,63.94,64.07,63.45,61.57,63.56,65.64,64.21,64.04,64.45,62.22,63.00,62.59,63.29,64.03,63.03,63.49,62.62,64.35,63.15,59.68,65.56,64.71,63.63,64.85,63.53,59.87,64.41,63.68,60.96,64.42,62.07,62.10,62.77,63.54,61.81,63.14,60.12,56.70,54.93,56.57,55.23,55.03,54.35,56.04,54.31,56.17,55.94,55.45,54.96,54.42,53.07,54.33,55.72,55.81,56.63,56.24,55.12,54.99,52.60,56.06,61.34,56.29,55.71,56.22,55.61,56.46,54.57,54.83,55.62,56.96,53.85,55.16,55.61,54.55,54.44,54.16,54.00,55.36,57.07,53.89,55.08,52.84,53.95,52.61,55.40,55.55,56.70,55.92,53.80,55.12,55.12,55.78,56.33,56.55,55.44,56.07,55.65,54.68,55.65,53.74,68.94,65.31,63.01,64.55,62.20,62.86,61.82,63.04,64.31,63.67,61.22,64.17,62.72,61.34,62.02,63.39,67.76,66.36,64.76,64.77,64.77,63.36,66.47,64.78,70.32,67.37,66.16,64.75,64.17,66.39,65.26,63.04,64.63,64.42,64.63,64.59,63.76,63.73,62.73,63.72,63.48,64.91,64.28,63.94,63.95,62.81,61.90,62.65,66.64,63.25,65.66,65.41,66.83,64.59,64.89,63.73,67.76,65.30,66.33,65.00,64.80,64.43,66.12,65.56,54.29,49.96,50.48,48.53,49.61,47.63,48.23,46.07,49.66,51.03,49.30,49.86,49.20,48.39,46.05,46.37,51.32,51.52,52.19,51.33,48.59,51.12,49.18,50.85,55.67,52.90,50.99,52.14,51.81,50.35,48.61,50.06,49.36,50.46,49.48,49.40,49.82,46.95,48.63,48.40,50.20,50.59,49.20,51.55,49.44,47.13,48.36,48.35,52.15,52.38,51.39,53.31,47.84,51.62,52.14,51.64,52.48,50.69,52.30,51.20,46.38,51.43,50.72,48.63,37.76,38.54,36.53,38.94,37.39,35.19,38.52,33.63,39.18,38.22,40.58,38.03,35.96,36.92,36.65,36.37,45.30,43.35,42.51,40.52,40.08,43.34,42.04,38.40,45.18,44.36,42.37,41.32,40.50,40.95,39.67,36.46,38.02,42.50,37.82,39.97,37.70,35.53,36.27,35.17,39.96,38.05,38.29,39.31,38.95,37.07,37.35,36.95,43.14,42.17,41.73,43.05,43.60,42.99,40.52,41.45,44.74,40.85,43.13,40.89,41.40,40.31,39.95,41.32], + "highGainDpp" : +[25.12,25.81,25.70,24.82,24.33,24.10,24.68,25.25,27.69,24.51,24.82,25.40,23.69,24.32,25.04,24.47,27.65,27.52,24.85,26.87,25.77,25.06,25.57,25.64,26.40,26.40,24.88,25.21,25.74,25.61,26.17,26.39,25.06,25.80,24.49,24.67,23.97,24.62,24.00,23.47,24.63,25.74,25.84,24.84,24.27,23.47,24.18,24.89,26.71,26.68,24.95,25.42,25.62,26.30,25.48,25.05,25.27,26.02,25.36,26.14,24.85,25.52,25.24,25.55,25.83,25.44,26.15,25.87,25.93,26.76,26.26,26.21,26.34,25.20,26.63,26.52,25.67,26.26,27.43,27.26,23.08,29.87,27.72,27.65,28.71,28.55,26.78,25.99,28.80,27.75,27.89,28.02,28.98,28.98,28.95,29.74,25.41,25.94,25.92,26.05,24.72,27.45,27.24,25.97,26.37,25.86,26.00,27.02,25.41,26.45,28.66,27.00,28.35,28.04,29.58,29.06,27.78,29.37,29.14,27.32,27.85,28.11,28.64,27.67,27.40,30.45,28.47,30.42,22.34,23.41,25.83,25.03,24.54,24.47,24.50,25.37,22.45,22.98,24.01,24.91,24.50,25.00,25.11,25.92,26.73,27.00,27.64,26.77,27.69,27.18,29.40,28.41,25.73,25.99,26.76,25.69,24.76,27.36,27.27,29.06,23.20,23.93,24.48,24.91,24.43,24.30,24.68,24.45,22.42,23.93,23.97,24.76,24.79,25.74,24.93,24.51,26.58,28.04,27.04,28.77,28.42,28.02,27.82,27.15,25.37,26.26,26.58,28.98,27.28,28.10,28.09,28.59,23.48,25.24,25.30,25.52,25.18,25.19,25.12,25.78,24.02,24.08,24.78,25.49,26.04,26.05,25.61,25.46,28.48,26.35,25.79,26.08,28.48,25.98,29.03,25.00,24.42,25.57,24.77,28.13,27.54,26.27,25.99,27.94,24.46,24.15,24.88,24.18,25.53,25.10,24.84,24.85,23.59,24.75,25.03,25.36,25.77,25.76,25.60,25.46,28.09,27.75,24.82,26.92,26.10,27.49,25.90,25.71,27.49,26.44,26.62,27.08,28.22,26.39,25.10,28.54,23.93,25.23,24.27,24.71,25.14,24.20,24.41,25.00,24.98,24.72,24.48,24.28,24.64,24.86,25.68,25.94,27.36,26.01,25.01,25.65,26.16,25.42,24.96,25.38,24.46,24.85,25.67,25.56,25.63,26.36,26.03,25.43,25.10,24.83,24.39,25.02,24.88,25.40,25.55,25.40,25.16,25.01,24.07,25.00,25.41,24.92,25.22,25.59,27.86,26.21,26.77,24.75,25.89,26.05,25.62,24.19,25.72,26.65,25.80,26.49,27.03,26.93,26.42,27.47], + "lowGainDpp" : [0.78,0.91,0.86,0.88,0.75,0.88,0.80,0.85,0.77,0.84,0.87,0.86,0.82,0.82,0.86,0.81,1.05,1.08,0.96,1.06,0.93,0.92,0.94,0.96,1.02,0.96,0.94,0.93,0.97,0.96,0.97,0.95,0.88,0.86,0.84,0.86,0.83,0.81,0.84,0.81,0.84,0.84,0.88,0.87,0.83,0.86,0.85,0.83,0.98,1.02,0.95,1.01,0.96,0.99,0.93,0.93,0.90,1.03,0.96,0.95,0.93,0.96,0.93,0.98,0.90,0.85,0.90,0.92,0.87,0.90,0.86,0.91,0.87,0.93,0.92,0.93,0.89,0.88,0.83,0.86,0.63,1.11,1.05,1.07,1.01,1.07,0.98,1.01,1.12,0.99,1.04,1.08,1.09,1.06,1.10,1.12,0.82,0.92,0.86,0.92,0.90,0.93,0.90,0.87,0.90,0.87,0.85,0.89,0.92,0.86,0.82,0.91,1.07,1.03,1.10,1.13,1.12,1.08,1.08,1.10,1.08,1.09,1.02,1.07,1.03,1.12,1.04,1.14,0.86,0.88,0.91,0.95,0.88,0.81,0.85,0.92,0.87,0.85,0.86,0.89,0.90,0.88,0.87,0.94,1.11,1.14,1.12,1.11,1.10,1.01,1.08,1.16,1.06,1.11,1.10,1.02,0.91,1.02,1.01,1.11,0.92,0.88,0.90,0.93,0.89,0.89,0.91,0.94,0.91,0.89,0.92,0.87,0.94,0.89,0.93,0.92,1.05,1.04,1.07,1.18,1.13,1.17,1.09,1.05,1.07,1.05,1.08,1.13,1.02,1.07,1.04,1.04,0.79,0.85,0.89,0.80,0.87,0.74,0.81,0.71,0.82,0.85,0.88,0.83,0.85,0.82,0.74,0.79,1.02,0.99,0.97,0.96,0.97,0.97,1.06,0.93,0.93,0.92,0.92,1.01,1.03,0.94,0.95,0.97,0.80,0.79,0.79,0.80,0.83,0.73,0.79,0.87,0.87,0.79,0.85,0.89,0.79,0.77,0.79,0.83,1.01,1.00,0.94,1.01,0.93,1.02,0.96,0.98,1.08,0.93,0.97,1.00,0.93,0.95,0.87,1.00,0.79,0.89,0.80,0.91,0.86,0.82,0.83,0.74,0.87,0.84,0.88,0.90,0.84,0.86,0.83,0.86,1.05,0.99,1.02,1.00,0.99,0.99,1.04,0.96,0.92,1.03,0.96,0.97,0.99,1.03,0.96,0.92,0.90,0.97,0.80,0.87,0.87,0.77,0.77,0.81,0.88,0.89,0.88,0.88,0.91,0.82,0.88,0.82,1.09,0.99,1.07,1.00,1.05,1.04,1.01,1.01,1.00,0.97,1.03,0.97,1.04,1.06,0.99,1.01], "PhetoGeVS": [1], "PhetoGeVC": [1] }, @@ -1299,4 +18,4 @@ "PMTC_pk": [796, 754, 837, 753, 736, 831, 729, 791] } } -} +} diff --git a/TBDataPreparation/202106_DESY/scripts/DoPhysicsConverter.py b/TBDataPreparation/202106_DESY/scripts/DoPhysicsConverter.py index 933055a..3423719 100644 --- a/TBDataPreparation/202106_DESY/scripts/DoPhysicsConverter.py +++ b/TBDataPreparation/202106_DESY/scripts/DoPhysicsConverter.py @@ -3,14 +3,14 @@ import sys mrgpath = "/eos/user/i/ideadr/TB2021_Desy/mergedNtuple/" -recpath = "/eos/user/i/ideadr/TB2021_Desy/recoNtuple/" +recpath = "/eos/user/i/ideadr/TB2021_Desy/recoNtuple_20220307/" myconf = str(sys.argv[1]) print myconf my_list0 = ["71","73","74","75","76","77","78","79","80","81","82","83","84","85","86"] -my_list1 = ["108","113","116","117","118","119","120","121","122","132","180","182", "183", "184","185","186","187","188","189", "190","191","192","193","194","195","196","197","198","199","200","201","202","203","204","205","206","207","208","209","228","229","230","211","212","213","214","215","216","217","218","219","220","221","222","223","224","225","226","227","228","229","230"] +my_list1 = ["108","113","116","117","118","119","120","121","122","132","180","182", "183", "184","185","186","187","188","189", "190","191","192","193","194","195","196","197","198","199","200","201","202","203","204","205","207","208","209","228","229","230","211","212","213","214","215","216","217","218","219","220","221","222","223","224","225","226","227","228","229","230"] my_list2 = ["266","267","268","269","298","271","272","273","274","275","276","277","278","279","280","281","290","291","292","293","294","295","296","389","390","391","392","393","394","395","396"] diff --git a/TBDataPreparation/202106_DESY/scripts/Run_0.json b/TBDataPreparation/202106_DESY/scripts/Run_0.json index f7829d4..445948e 100644 --- a/TBDataPreparation/202106_DESY/scripts/Run_0.json +++ b/TBDataPreparation/202106_DESY/scripts/Run_0.json @@ -1248,15 +1248,15 @@ 0.96917949, 1.01379149 ], - "PhetoGeVS": [15.4255], - "PhetoGeVC": [42.7305] + "PhetoGeVS": [14.7163], + "PhetoGeVC": [46.6312] }, "PMT": { "PMTS_pd": [250.799, 261.802, 219.093, 282.637, 261.849, 261.684, 279.878, 120.47], - "PMTS_pk": [77.473, 57.9033, 103.489, 95.8916, 34.6499, 103.029, 78.6242, 93.1288], + "PMTS_pk": [73.911, 55.2411, 98.7311, 91.4827, 33.0568, 98.2918, 75.0093, 88.847], "PMTC_pd": [274.777, 262.964, 252.131, 260.373, 240.533, 277.429, 261.148, 231.199], - "PMTC_pk": [25.4348, 17.7479, 66.5827, 44.4262, 11.1913, 55.9566, 15.7131, 49.6262] + "PMTC_pk": [26.9026, 18.7721, 70.4251, 46.9899, 11.8372, 59.1858, 16.6198, 52.49] } } } diff --git a/TBDataPreparation/202106_DESY/scripts/Run_1.json b/TBDataPreparation/202106_DESY/scripts/Run_1.json index 4305f52..a926bb3 100644 --- a/TBDataPreparation/202106_DESY/scripts/Run_1.json +++ b/TBDataPreparation/202106_DESY/scripts/Run_1.json @@ -1,1262 +1,21 @@ { - "Calibrations": + "Calibrations" : { - "SiPM": + "SiPM" : { - "highGainPedestal" : [65.0812301,59.2502632,60.0310745,60.2687873,60.2502555,60.9550933,61.1609191,60.632801,63.260498,61.4729232,60.2604827,60.7285385,59.6098289,61.0361404,59.526786,59.6733055,64.1957931,63.584873,64.38385,64.9047851,64.4836349,64.590332,64.9312133,64.9663925,68.9604568,65.4278411,64.5032119,64.4184188,65.5806198,65.932373,65.2285995,65.2642288,61.0829238,60.3246307,60.938755,61.0819549,61.6120872,60.806659,60.9972534,61.447025,61.511486,60.5652313,60.4999504, - 60.6424751, - 60.9717025, - 61.8367233, - 60.8078079, - 59.6759681, - 64.3934173, - 64.424118, - 64.7236633, - 64.5929412, - 63.8094062, - 75.5970001, - 64.152511, - 63.9215621, - 64.7850341, - 63.3323669, - 64.2547302, - 64.1059951, - 65.3754119, - 64.4723129, - 65.0950241, - 65.5182495, - 57.931034, - 54.6756782, - 55.3939323, - 55.8759384, - 54.3453254, - 54.8412704, - 55.593776, - 55.0477981, - 55.2020416, - 55.751461, - 54.4559898, - 55.2699661, - 55.5765457, - 54.4823608, - 54.2068595, - 56.1063423, - 57.0851936, - 57.1026725, - 57.0599632, - 56.818756, - 56.7219657, - 57.2658081, - 57.569637, - 56.8002204, - 59.4532585, - 56.2317619, - 56.4398803, - 56.2845916, - 56.595775, - 57.4362335, - 56.849304, - 57.9839477, - 55.9228744, - 55.0002403, - 55.7335853, - 55.7582244, - 56.86063, - 60.073532, - 55.3275184, - 56.250061, - 55.8240051, - 56.371376, - 55.7757148, - 54.2052497, - 54.5755729, - 54.3551063, - 51.8221397, - 54.094326, - 55.2591438, - 55.9042053, - 56.4132766, - 56.7407531, - 56.5666427, - 57.0813674, - 57.0533561, - 55.9713287, - 55.3058242, - 56.9868965, - 56.4304122, - 56.458847, - 58.2631988, - 58.2973327, - 58.7913322, - 58.539196, - 65.5698776, - 62.7863578, - 60.274372, - 62.4294471, - 62.6804275, - 62.3549804, - 62.5745391, - 61.1005363, - 64.4499969, - 63.5751075, - 62.9896621, - 61.4320793, - 62.1335029, - 62.6861991, - 61.3987731, - 60.2844009, - 65.2192382, - 65.4661941, - 64.4033584, - 65.1759643, - 65.0953216, - 65.1003875, - 65.678909, - 65.1431579, - 69.308425, - 65.7752914, - 64.8997802, - 65.3634185, - 66.6297531, - 66.4141464, - 67.013549, - 65.9307327, - 62.164894, - 62.5749511, - 61.6566848, - 62.2681961, - 62.6449394, - 63.0143318, - 61.7523803, - 63.0355186, - 64.9040374, - 61.7909927, - 63.2255363, - 62.6746749, - 61.7949714, - 60.5661735, - 60.482791, - 62.2331047, - 66.511177, - 64.8953094, - 66.2206344, - 64.0143814, - 64.1770477, - 64.9919509, - 65.2191238, - 66.421302, - 64.956733, - 64.1427688, - 64.2405548, - 63.6240463, - 66.8626251, - 65.683761, - 66.2747039, - 66.8495788, - 53.1641006, - 48.7578086, - 50.1274948, - 49.8383369, - 49.9723815, - 50.958679, - 51.440509, - 50.0290412, - 51.0586891, - 51.1091384, - 50.930828, - 49.699295, - 49.4970016, - 49.6882972, - 48.950241, - 49.4281463, - 53.587574, - 53.9669609, - 53.688713, - 52.9364585, - 51.5662231, - 53.0591735, - 53.0507278, - 53.4333801, - 57.270977, - 53.2780723, - 54.0436935, - 53.5619888, - 53.8034515, - 55.747795, - 53.531223, - 57.4791641, - 49.3256797, - 50.687046, - 49.8006935, - 51.2650871, - 50.8797073, - 50.804531, - 50.6531028, - 49.7301406, - 51.7511024, - 50.6571502, - 49.744003, - 49.6076126, - 49.6536827, - 49.3789253, - 48.9785652, - 48.076889, - 53.8576278, - 53.1031494, - 53.9770622, - 52.3420867, - 52.6996078, - 53.8429756, - 53.0034637, - 53.6407928, - 51.8469505, - 52.168476, - 52.4201431, - 53.0401039, - 53.0075035, - 54.1969566, - 55.0232543, - 53.9440498, - 45.1313056, - 40.1001014, - 39.6710891, - 40.2098121, - 40.1949348, - 40.8044815, - 41.175991, - 40.9353752, - 40.662376, - 40.78244, - 41.0223617, - 40.1674728, - 40.3273124, - 39.2272911, - 38.4772834, - 38.7221107, - 43.722763, - 43.7683258, - 43.5072326, - 43.1445617, - 43.9795112, - 42.92229, - 44.120407, - 43.4214515, - 47.3842773, - 44.2319717, - 43.2122917, - 43.5382041, - 43.7581825, - 44.3045425, - 44.6408729, - 44.8701248, - 39.2753944, - 38.5502586, - 39.3551254, - 40.5338783, - 41.100601, - 39.4132728, - 40.3082923, - 40.2126007, - 40.2099609, - 39.212387, - 40.3988189, - 40.2584037, - 39.8794975, - 39.4274139, - 39.448867, - 38.3165473, - 44.2202072, - 44.056652, - 42.8205604, - 43.377674, - 43.354209, - 43.8452987, - 42.5505371, - 43.6035804, - 43.255577, - 42.875778, - 42.5746917, - 43.3331031, - 43.880825, - 43.9402351, - 44.7442321, - 43.17211533 - ], - "lowGainPedestal": [ - 59.75643735, - 66.91208005, - 67.27655012, - 60.6730728, - 58.70665774, - 60.59670887, - 61.4406795, - 60.68363343, - 60.4797152, - 62.43183196, - 61.34760479, - 56.15146854, - 60.43441886, - 61.56411325, - 55.4064213, - 58.25231598, - 65.0205467, - 66.60645296, - 65.51115127, - 64.61603433, - 61.22909735, - 60.95209173, - 65.51622505, - 64.65017301, - 70.03441659, - 62.79561756, - 65.65356319, - 62.42679477, - 64.55993366, - 64.31827731, - 64.01111386, - 61.54885411, - 59.16615027, - 64.20836868, - 59.52280576, - 59.9956162, - 62.07759453, - 58.71813505, - 60.73908585, - 60.15739652, - 59.88803351, - 62.99144354, - 59.70353951, - 61.16888153, - 61.83149209, - 61.49682767, - 59.03213788, - 58.77003647, - 66.30448822, - 65.42034328, - 64.05436443, - 65.87661648, - 64.08758859, - 60.50125282, - 65.39255767, - 64.32995717, - 61.17637476, - 65.18179925, - 62.33276272, - 62.4113819, - 63.36209831, - 64.17988842, - 62.34342672, - 63.24241013, - 52.4052589, - 55.19962244, - 50.32665739, - 54.30718426, - 52.08984832, - 51.48724171, - 50.90008296, - 52.15504078, - 49.95480498, - 53.13313646, - 53.14139409, - 52.15932161, - 53.41642076, - 52.24832054, - 50.1840993, - 49.37092624, - 55.55355634, - 56.20992903, - 57.10978851, - 56.95677929, - 55.63128313, - 55.63962464, - 53.33448323, - 56.83193053, - 61.88788699, - 56.59005953, - 56.26713192, - 56.93428494, - 56.19162159, - 56.959027, - 54.92859801, - 55.18702054, - 49.87757466, - 52.56549306, - 51.73847722, - 51.43494462, - 53.39340264, - 52.12959664, - 52.52315568, - 52.10034828, - 51.06790549, - 51.76167872, - 54.13853079, - 51.54760615, - 52.20119765, - 50.70927969, - 52.38400685, - 49.57622001, - 56.00768464, - 56.07385311, - 57.2871113, - 56.76335598, - 54.40066894, - 55.70382943, - 55.72738087, - 56.56705491, - 57.04698004, - 57.15455509, - 56.01855681, - 56.93008636, - 56.2320258, - 55.09734994, - 56.03108762, - 54.11239363, - 67.54417708, - 64.87572045, - 59.0258118, - 61.10203779, - 59.20133643, - 60.52528388, - 58.91770131, - 60.53639696, - 60.69184016, - 61.905373, - 58.51400703, - 61.17300346, - 60.08849707, - 58.38108916, - 58.53979106, - 60.63307154, - 68.29776292, - 67.1260802, - 65.38705184, - 65.40010901, - 65.43387209, - 63.81989364, - 67.06748628, - 65.57983888, - 70.92288477, - 68.04442878, - 66.82696501, - 65.1903407, - 64.5387065, - 66.79978318, - 65.48528522, - 63.38075155, - 60.04071283, - 61.75391813, - 60.90769149, - 62.00022311, - 61.12856502, - 60.49822565, - 59.72905477, - 60.26940669, - 59.6676363, - 62.44681504, - 61.57903298, - 61.39752652, - 62.11152726, - 60.45268764, - 58.95448161, - 59.99622148, - 67.31809292, - 63.72086546, - 66.12581384, - 66.20089463, - 67.66597725, - 65.56586447, - 65.42879703, - 64.2830086, - 68.47057668, - 65.84377915, - 66.89919581, - 65.55307119, - 65.50805435, - 65.09986988, - 66.61918395, - 65.94789464, - 57.11974291, - 45.77379757, - 47.21133429, - 47.2989489, - 48.84814675, - 46.65604884, - 47.02060028, - 43.99388947, - 48.03012488, - 49.02098841, - 47.5715593, - 48.0991004, - 46.19968697, - 47.56966097, - 45.37618572, - 44.09906605, - 51.4571875, - 51.91579408, - 52.7203571, - 51.75480406, - 48.87313173, - 51.67504848, - 49.50582201, - 51.31844729, - 55.98278226, - 53.24504966, - 51.23145402, - 52.41763674, - 52.06715629, - 50.55130172, - 48.93360444, - 50.22328297, - 49.8692648, - 48.85115986, - 48.92021258, - 47.18485819, - 48.8675119, - 44.93471534, - 46.93418152, - 46.78124762, - 47.71300494, - 48.67671952, - 48.18206949, - 49.83479986, - 47.58170119, - 44.65604623, - 46.68044056, - 48.36254893, - 52.3825448, - 52.67219547, - 51.72636806, - 53.89673056, - 48.26573754, - 52.17044405, - 52.61563106, - 52.39383536, - 53.04222362, - 51.18018454, - 52.78285449, - 51.51083301, - 46.45930676, - 51.98820365, - 51.08582798, - 48.83729794, - 34.14547789, - 35.68128606, - 34.66482688, - 38.27081518, - 34.06456486, - 31.17566436, - 33.55289036, - 32.71248376, - 36.45295779, - 36.66798388, - 39.4225882, - 35.26866274, - 34.48289705, - 36.76130505, - 34.60885774, - 32.01657561, - 45.63895791, - 43.83540107, - 42.84029853, - 40.93401976, - 40.62517964, - 44.05797073, - 42.76749251, - 38.92765318, - 45.40880561, - 45.01226406, - 42.79530898, - 41.56878536, - 40.809346, - 41.23119886, - 39.8576415, - 36.40722783, - 32.18545202, - 35.53326255, - 35.76415916, - 37.27788006, - 37.39409242, - 32.56448139, - 34.1148262, - 31.95872305, - 38.32300771, - 33.41379309, - 35.57203697, - 36.09176281, - 35.91095294, - 35.82421965, - 35.07270354, - 35.2500875, - 43.40754262, - 42.59137763, - 42.42791057, - 43.46425356, - 44.39378015, - 43.78106357, - 41.16461706, - 41.81303505, - 45.27447635, - 41.09725593, - 43.70769914, - 41.26360525, - 41.72904706, - 40.92519427, - 40.1400405, - 41.72932476 - ], - "highGainDpp": [ - 25.64813385, - 26.41562422, - 26.14165665, - 24.96697634, - 25.39158332, - 24.93392525, - 25.46332228, - 25.8593905, - 29.06055639, - 25.77835028, - 25.004733, - 25.75941781, - 24.97124755, - 24.47887698, - 26.10147, - 24.49573258, - 26.56806748, - 27.79200256, - 26.37547091, - 26.56503502, - 25.89710424, - 25.70015175, - 26.17304838, - 26.22333132, - 26.25507157, - 25.634639, - 25.91423159, - 25.70478469, - 25.95683127, - 25.41717049, - 26.73696446, - 25.45029181, - 25.01819856, - 26.51092887, - 24.66600401, - 25.66351482, - 24.47396056, - 24.90449402, - 25.12282027, - 23.69882064, - 25.24579115, - 26.01563631, - 26.30021294, - 25.33869464, - 24.52309062, - 23.84278218, - 24.90973849, - 25.00340882, - 26.55025542, - 26.79945661, - 25.13922638, - 26.23177275, - 25.55570829, - 26.74851165, - 26.58166401, - 25.1208154, - 25.41311253, - 26.00857731, - 25.7838661, - 26.42939641, - 25.94574137, - 26.18043076, - 26.00308337, - 25.11980916, - 26.78103413, - 26.06725496, - 26.40341706, - 25.91557984, - 26.24765076, - 26.89002475, - 26.56874815, - 26.88275577, - 26.43112125, - 25.72166084, - 26.94735375, - 26.65732434, - 25.88352745, - 26.70150786, - 27.4656668, - 27.0391977, - 27.14817478, - 26.65330455, - 25.60868221, - 26.86120633, - 27.11227005, - 27.09714348, - 27.25097709, - 26.70489809, - 26.44553897, - 25.84833223, - 26.36886884, - 26.83020169, - 26.96837637, - 26.52886136, - 26.42591739, - 27.1628166, - 25.53177168, - 26.05539887, - 26.45474926, - 26.52182595, - 24.41360996, - 25.4337578, - 27.17469697, - 25.87540147, - 26.87187423, - 26.53151972, - 26.69744829, - 26.4318582, - 25.88707982, - 26.37813169, - 27.94778607, - 27.01094728, - 28.67772405, - 26.59533657, - 27.18079383, - 27.50090036, - 26.47130231, - 26.89580167, - 26.85733656, - 26.73153278, - 27.05721121, - 26.99119091, - 27.28937815, - 26.34005397, - 25.94465108, - 27.24249296, - 25.94972864, - 27.06806094, - 21.30183028, - 23.26679505, - 26.58059713, - 24.70576474, - 25.07595319, - 24.5219598, - 24.78675781, - 25.16439571, - 23.92287801, - 22.57782565, - 24.47325001, - 25.48521573, - 24.56577202, - 24.59006564, - 25.40967545, - 26.36539814, - 26.56870051, - 26.16747727, - 26.62068266, - 26.0248235, - 26.41499951, - 26.72812289, - 26.85993462, - 27.09467931, - 25.65078238, - 25.69953747, - 26.81776554, - 26.18484094, - 26.12230458, - 26.27592235, - 25.69198385, - 27.54019186, - 23.16205033, - 24.40625377, - 25.77363801, - 25.13388536, - 25.17561293, - 24.84893234, - 24.61757119, - 24.68223139, - 24.36186552, - 24.67334491, - 23.86667194, - 24.96852231, - 25.10496284, - 25.54792113, - 24.70108443, - 24.19056932, - 26.40757745, - 27.09179404, - 25.60205269, - 27.39748464, - 27.38738625, - 27.32741696, - 26.43594428, - 26.3309601, - 25.00373893, - 25.50337781, - 25.74772201, - 27.33380026, - 26.46101372, - 27.0691841, - 26.73540588, - 27.33972291, - 22.58174434, - 25.41498294, - 25.5152563, - 26.05218926, - 25.1603767, - 24.96385611, - 24.59043986, - 25.56051915, - 23.74914822, - 23.42871678, - 24.69908546, - 25.71066149, - 26.47085857, - 25.77441803, - 25.52357631, - 24.84836273, - 26.31944678, - 25.34958663, - 25.37468209, - 25.8136688, - 26.35627213, - 25.95485568, - 26.22807567, - 25.0632682, - 24.32487399, - 25.53499284, - 24.30279126, - 26.13801394, - 26.23554397, - 25.49870787, - 26.25956563, - 24.99730889, - 24.30751902, - 22.70344809, - 25.28895239, - 23.78324271, - 24.97462909, - 25.10213077, - 24.04372867, - 24.93367772, - 23.49565953, - 24.77710419, - 25.37814934, - 25.01019855, - 26.38426951, - 25.96383069, - 25.81918794, - 25.80094613, - 25.92817183, - 25.66487252, - 24.45289472, - 25.47020171, - 26.1743294, - 26.40099913, - 24.61581809, - 25.82097342, - 25.3245808, - 26.67309909, - 25.52152042, - 25.46177974, - 26.17314264, - 26.30485691, - 26.06017604, - 27.39407401, - 25.09898831, - 24.54528655, - 23.95451347, - 23.17081686, - 25.32701451, - 26.72539424, - 25.99493096, - 24.12047117, - 24.90597211, - 24.35332465, - 23.54142136, - 23.96699196, - 23.98674273, - 24.78343745, - 25.65910875, - 26.28666461, - 25.97785565, - 25.54613594, - 24.88536237, - 25.98164334, - 26.32696577, - 26.28044188, - 25.16657641, - 25.30459122, - 24.72657833, - 25.47867117, - 26.20157137, - 26.15692053, - 25.62870145, - 26.82704353, - 25.9558331, - 26.1504751, - 25.94817463, - 25.44615764, - 24.75221681, - 24.43042468, - 24.15962494, - 25.99223753, - 25.79979294, - 25.92891314, - 25.36681844, - 24.82285968, - 23.38882775, - 25.27475215, - 24.84948551, - 24.82042594, - 24.54007454, - 24.58478487, - 26.50307554, - 25.64664863, - 26.25472325, - 24.03321703, - 25.78281397, - 26.6363719, - 25.53730512, - 24.76301129, - 25.67960238, - 26.41755088, - 26.18540222, - 25.27814571, - 25.59592457, - 26.24924728, - 24.78170707, - 26.51521098 - ], - "lowGainDpp": [ - 0.99322891, - 0.86313068, - 0.78670598, - 0.98456431, - 0.8995152, - 0.99656471, - 0.88840705, - 0.9553049, - 0.99177633, - 0.93615081, - 0.92604019, - 1.07254255, - 0.9484431, - 0.88153259, - 1.13472766, - 0.97479907, - 1.0097968, - 1.07789036, - 1.02659973, - 1.04905134, - 0.98260127, - 0.99127055, - 0.96703899, - 0.99460541, - 0.99912239, - 0.96518352, - 0.99230331, - 0.98341803, - 1.00017743, - 0.99316463, - 1.02141711, - 0.97768105, - 0.9874262, - 0.86819013, - 0.97672839, - 1.01065828, - 0.92678448, - 0.95580582, - 0.98831816, - 0.93006362, - 0.96857613, - 0.87785951, - 1.01102266, - 0.9614847, - 0.90352045, - 0.96734161, - 1.04257812, - 0.97616476, - 0.96318057, - 1.0236791, - 0.98390018, - 1.04981461, - 0.97419812, - 1.05215759, - 0.98379803, - 0.95107362, - 0.95441015, - 1.03533954, - 1.01485107, - 1.00928182, - 1.00999977, - 1.01677804, - 1.00449476, - 1.01305735, - 1.16800408, - 0.9233469, - 1.08004833, - 1.0219956, - 1.02188759, - 1.05326165, - 1.02999966, - 1.08426266, - 1.06529604, - 1.06879835, - 1.03696675, - 1.06135257, - 0.97880563, - 1.04327741, - 1.00041965, - 1.04169138, - 0.74170411, - 1.00106777, - 0.97415359, - 1.04927939, - 0.9711853, - 1.02977455, - 1.02302081, - 1.04510671, - 1.02252369, - 0.935031, - 0.99320667, - 1.04575014, - 1.02782346, - 0.99056286, - 1.03439335, - 1.05450918, - 0.99303509, - 1.05321977, - 1.00095725, - 1.09775996, - 0.99754072, - 0.9907877, - 1.03787307, - 1.00221255, - 1.07091518, - 1.04732842, - 0.97354326, - 0.9935531, - 1.06497796, - 1.00725687, - 0.91153438, - 1.09477613, - 1.0842961, - 0.97755481, - 1.00981952, - 1.07586016, - 1.0984342, - 1.00429431, - 1.01737318, - 1.09892672, - 1.05389611, - 1.06011647, - 0.99648445, - 1.04197209, - 1.0008951, - 1.0339451, - 0.98330914, - 1.048468, - 0.84057374, - 0.88486423, - 1.08697529, - 1.0745454, - 1.05293371, - 0.94151458, - 0.99552461, - 1.04211419, - 1.04577804, - 0.92156151, - 1.01447311, - 1.02009577, - 1.03035384, - 1.01911108, - 1.03203411, - 1.11842048, - 1.09332013, - 1.09936229, - 1.08893688, - 1.08706369, - 1.06423628, - 1.02318101, - 0.99793622, - 1.11374627, - 1.05078949, - 1.09632353, - 1.11029325, - 1.07835301, - 0.99711222, - 1.01977988, - 0.98557759, - 1.09161398, - 1.02136867, - 1.00399708, - 1.06498259, - 1.03975258, - 1.02984152, - 1.04973089, - 1.05385229, - 1.0888921, - 1.11441231, - 0.99470587, - 1.00335494, - 0.984203, - 1.03445746, - 1.0096063, - 1.06435106, - 1.06300188, - 1.02638644, - 1.02102643, - 1.02293747, - 1.12925108, - 1.09719551, - 1.15354756, - 1.05552197, - 1.04868381, - 1.05788579, - 1.03745459, - 1.06191196, - 1.09650334, - 1.01751857, - 1.06656184, - 1.02172428, - 1.02222101, - 0.69679812, - 1.01870217, - 1.02647292, - 0.93669925, - 0.9578316, - 0.8460037, - 0.90685074, - 0.87734013, - 0.9116572, - 0.91183248, - 0.97880707, - 0.93741078, - 1.00585208, - 0.90590954, - 0.87816483, - 0.92685321, - 0.95832955, - 0.96808169, - 0.96630981, - 0.9702869, - 0.93810638, - 1.00017904, - 1.00113846, - 0.96280727, - 0.94479044, - 0.93291556, - 0.93630395, - 0.96595869, - 1.01577049, - 0.95885156, - 1.01822086, - 0.90557615, - 0.81676121, - 0.80578497, - 0.85695873, - 0.88804868, - 0.89091631, - 0.88595439, - 0.87409431, - 0.99545848, - 0.96618848, - 0.86813367, - 0.93933431, - 0.9445463, - 0.91371626, - 0.93216578, - 0.91024009, - 0.91376496, - 0.93162046, - 0.92984542, - 0.94187849, - 0.96044343, - 0.9793663, - 0.99685876, - 0.93085197, - 0.99636541, - 0.99414986, - 0.95348897, - 0.94451326, - 0.97486873, - 0.92408828, - 0.97765193, - 0.94382829, - 1.00924277, - 0.95628369, - 0.98225613, - 0.89261497, - 0.89576982, - 1.00720492, - 1.1213654, - 1.06485235, - 0.86402627, - 0.97114625, - 0.91139802, - 0.88555804, - 0.99879892, - 0.91910074, - 0.93172779, - 0.96184131, - 1.08042857, - 1.00121898, - 0.98567765, - 1.03104765, - 1.04482328, - 1.03171062, - 1.04960458, - 1.07549809, - 1.00845934, - 0.95427563, - 1.06582565, - 1.01481921, - 1.02806384, - 1.03866156, - 1.09409776, - 1.01688868, - 1.02635082, - 1.12793373, - 1.12886966, - 0.8946223, - 0.93388145, - 0.87259705, - 0.98022847, - 0.91728105, - 1.01100258, - 0.93766835, - 1.02619182, - 0.96667548, - 0.99332492, - 1.00352321, - 0.92510994, - 0.98344273, - 0.92251881, - 1.04197696, - 0.97586181, - 1.05584713, - 0.98240808, - 1.05894725, - 1.07365198, - 1.0375301, - 1.05032968, - 0.99482081, - 0.98876489, - 1.05877565, - 0.95526579, - 1.01641318, - 1.06782386, - 0.96917949, - 1.01379149 - ], - "PhetoGeVS": [598.759], - "PhetoGeVC": [57.6241] + "highGainPedestal" : [65.10,59.09,59.92,60.17,59.94,60.72,60.96,60.56,63.62,61.27,60.05,60.60,59.50,60.96,59.63,59.58,64.36,63.80,64.51,65.06,64.69,64.82,65.19,65.18,69.20,65.70,64.71,64.56,65.72,66.02,65.37,65.45,60.95,60.10,60.59,60.93,61.27,60.53,60.67,60.94,61.08,60.23,60.16,60.44,60.66,61.71,60.68,59.67,64.45,64.52,64.84,64.80,63.97,73.99,64.29,64.17,64.96,63.57,64.35,64.29,65.62,64.58,65.14,65.68,57.22,53.63,54.13,54.76,52.95,53.55,54.43,53.85,53.78,54.45,53.32,54.20,54.77,53.63,53.62,55.59,55.98,56.56,56.26,56.21,56.40,56.91,57.42,56.70,59.21,55.63,56.13,55.65,56.05,56.59,56.26,57.12,54.73,53.81,54.41,54.34,55.32,60.11,53.66,54.44,54.07,54.51,54.19,53.11,53.43,53.22,50.78,53.45,54.34,55.12,55.55,56.19,56.37,56.83,56.64,55.87,55.13,56.60,55.72,55.85,57.32,57.57,57.60,57.55,65.38,62.24,59.79,61.77,62.15,61.83,62.03,60.24,63.67,62.77,62.49,60.95,61.77,62.27,61.16,59.99,64.96,64.99,64.03,64.68,64.99,64.80,65.70,65.39,69.48,65.65,64.81,65.04,65.92,66.07,66.29,65.63,61.84,61.88,61.12,61.51,61.94,62.64,60.88,62.53,64.17,61.19,62.71,62.16,61.21,60.16,60.15,62.11,66.10,64.57,65.63,63.80,64.08,64.76,65.05,66.39,65.03,64.02,64.06,63.27,66.48,65.22,65.66,66.50,52.05,47.08,48.34,47.57,47.49,48.20,48.65,46.72,48.30,48.23,48.61,47.47,47.65,48.30,47.66,48.61,52.07,52.25,51.97,51.05,50.60,51.87,52.47,52.27,56.67,52.20,52.53,52.12,52.55,53.38,52.03,55.10,48.08,49.03,47.77,49.39,48.69,48.52,48.20,47.28,49.32,48.18,47.42,47.61,47.89,47.97,47.81,47.07,52.28,51.39,52.38,50.95,51.75,52.41,51.76,52.70,51.23,51.26,51.34,51.33,51.51,52.50,53.28,51.95,43.45,37.72,37.01,37.41,37.12,37.43,37.79,37.48,37.17,37.51,38.02,37.43,37.94,37.15,36.75,37.29,42.28,42.16,42.08,41.79,42.90,41.86,43.01,42.57,46.08,43.14,41.93,42.57,42.36,43.17,43.06,43.00,37.64,36.82,37.16,38.19,38.76,36.88,37.75,37.56,37.60,36.54,37.92,38.00,37.80,37.64,37.90,37.02,42.83,42.69,41.58,42.13,42.41,42.39,41.67,41.61,42.29,41.78,41.41,41.84,42.92,42.65,42.88,41.29], + "lowGainPedestal" : [66.06,64.24,63.12,63.82,62.07,63.02,63.72,63.06,61.29,64.33,64.81,62.71,61.68,62.48,61.13,62.08,64.35,65.67,64.82,63.63,60.85,60.49,64.55,63.80,69.31,62.57,65.09,61.98,63.94,64.07,63.45,61.57,63.56,65.64,64.21,64.04,64.45,62.22,63.00,62.59,63.29,64.03,63.03,63.49,62.62,64.35,63.15,59.68,65.56,64.71,63.63,64.85,63.53,59.87,64.41,63.68,60.96,64.42,62.07,62.10,62.77,63.54,61.81,63.14,60.12,56.70,54.93,56.57,55.23,55.03,54.35,56.04,54.31,56.17,55.94,55.45,54.96,54.42,53.07,54.33,55.72,55.81,56.63,56.24,55.12,54.99,52.60,56.06,61.34,56.29,55.71,56.22,55.61,56.46,54.57,54.83,55.62,56.96,53.85,55.16,55.61,54.55,54.44,54.16,54.00,55.36,57.07,53.89,55.08,52.84,53.95,52.61,55.40,55.55,56.70,55.92,53.80,55.12,55.12,55.78,56.33,56.55,55.44,56.07,55.65,54.68,55.65,53.74,68.94,65.31,63.01,64.55,62.20,62.86,61.82,63.04,64.31,63.67,61.22,64.17,62.72,61.34,62.02,63.39,67.76,66.36,64.76,64.77,64.77,63.36,66.47,64.78,70.32,67.37,66.16,64.75,64.17,66.39,65.26,63.04,64.63,64.42,64.63,64.59,63.76,63.73,62.73,63.72,63.48,64.91,64.28,63.94,63.95,62.81,61.90,62.65,66.64,63.25,65.66,65.41,66.83,64.59,64.89,63.73,67.76,65.30,66.33,65.00,64.80,64.43,66.12,65.56,54.29,49.96,50.48,48.53,49.61,47.63,48.23,46.07,49.66,51.03,49.30,49.86,49.20,48.39,46.05,46.37,51.32,51.52,52.19,51.33,48.59,51.12,49.18,50.85,55.67,52.90,50.99,52.14,51.81,50.35,48.61,50.06,49.36,50.46,49.48,49.40,49.82,46.95,48.63,48.40,50.20,50.59,49.20,51.55,49.44,47.13,48.36,48.35,52.15,52.38,51.39,53.31,47.84,51.62,52.14,51.64,52.48,50.69,52.30,51.20,46.38,51.43,50.72,48.63,37.76,38.54,36.53,38.94,37.39,35.19,38.52,33.63,39.18,38.22,40.58,38.03,35.96,36.92,36.65,36.37,45.30,43.35,42.51,40.52,40.08,43.34,42.04,38.40,45.18,44.36,42.37,41.32,40.50,40.95,39.67,36.46,38.02,42.50,37.82,39.97,37.70,35.53,36.27,35.17,39.96,38.05,38.29,39.31,38.95,37.07,37.35,36.95,43.14,42.17,41.73,43.05,43.60,42.99,40.52,41.45,44.74,40.85,43.13,40.89,41.40,40.31,39.95,41.32], + "highGainDpp" : +[25.12,25.81,25.70,24.82,24.33,24.10,24.68,25.25,27.69,24.51,24.82,25.40,23.69,24.32,25.04,24.47,27.65,27.52,24.85,26.87,25.77,25.06,25.57,25.64,26.40,26.40,24.88,25.21,25.74,25.61,26.17,26.39,25.06,25.80,24.49,24.67,23.97,24.62,24.00,23.47,24.63,25.74,25.84,24.84,24.27,23.47,24.18,24.89,26.71,26.68,24.95,25.42,25.62,26.30,25.48,25.05,25.27,26.02,25.36,26.14,24.85,25.52,25.24,25.55,25.83,25.44,26.15,25.87,25.93,26.76,26.26,26.21,26.34,25.20,26.63,26.52,25.67,26.26,27.43,27.26,23.08,29.87,27.72,27.65,28.71,28.55,26.78,25.99,28.80,27.75,27.89,28.02,28.98,28.98,28.95,29.74,25.41,25.94,25.92,26.05,24.72,27.45,27.24,25.97,26.37,25.86,26.00,27.02,25.41,26.45,28.66,27.00,28.35,28.04,29.58,29.06,27.78,29.37,29.14,27.32,27.85,28.11,28.64,27.67,27.40,30.45,28.47,30.42,22.34,23.41,25.83,25.03,24.54,24.47,24.50,25.37,22.45,22.98,24.01,24.91,24.50,25.00,25.11,25.92,26.73,27.00,27.64,26.77,27.69,27.18,29.40,28.41,25.73,25.99,26.76,25.69,24.76,27.36,27.27,29.06,23.20,23.93,24.48,24.91,24.43,24.30,24.68,24.45,22.42,23.93,23.97,24.76,24.79,25.74,24.93,24.51,26.58,28.04,27.04,28.77,28.42,28.02,27.82,27.15,25.37,26.26,26.58,28.98,27.28,28.10,28.09,28.59,23.48,25.24,25.30,25.52,25.18,25.19,25.12,25.78,24.02,24.08,24.78,25.49,26.04,26.05,25.61,25.46,28.48,26.35,25.79,26.08,28.48,25.98,29.03,25.00,24.42,25.57,24.77,28.13,27.54,26.27,25.99,27.94,24.46,24.15,24.88,24.18,25.53,25.10,24.84,24.85,23.59,24.75,25.03,25.36,25.77,25.76,25.60,25.46,28.09,27.75,24.82,26.92,26.10,27.49,25.90,25.71,27.49,26.44,26.62,27.08,28.22,26.39,25.10,28.54,23.93,25.23,24.27,24.71,25.14,24.20,24.41,25.00,24.98,24.72,24.48,24.28,24.64,24.86,25.68,25.94,27.36,26.01,25.01,25.65,26.16,25.42,24.96,25.38,24.46,24.85,25.67,25.56,25.63,26.36,26.03,25.43,25.10,24.83,24.39,25.02,24.88,25.40,25.55,25.40,25.16,25.01,24.07,25.00,25.41,24.92,25.22,25.59,27.86,26.21,26.77,24.75,25.89,26.05,25.62,24.19,25.72,26.65,25.80,26.49,27.03,26.93,26.42,27.47], + "lowGainDpp" : [0.78,0.91,0.86,0.88,0.75,0.88,0.80,0.85,0.77,0.84,0.87,0.86,0.82,0.82,0.86,0.81,1.05,1.08,0.96,1.06,0.93,0.92,0.94,0.96,1.02,0.96,0.94,0.93,0.97,0.96,0.97,0.95,0.88,0.86,0.84,0.86,0.83,0.81,0.84,0.81,0.84,0.84,0.88,0.87,0.83,0.86,0.85,0.83,0.98,1.02,0.95,1.01,0.96,0.99,0.93,0.93,0.90,1.03,0.96,0.95,0.93,0.96,0.93,0.98,0.90,0.85,0.90,0.92,0.87,0.90,0.86,0.91,0.87,0.93,0.92,0.93,0.89,0.88,0.83,0.86,0.63,1.11,1.05,1.07,1.01,1.07,0.98,1.01,1.12,0.99,1.04,1.08,1.09,1.06,1.10,1.12,0.82,0.92,0.86,0.92,0.90,0.93,0.90,0.87,0.90,0.87,0.85,0.89,0.92,0.86,0.82,0.91,1.07,1.03,1.10,1.13,1.12,1.08,1.08,1.10,1.08,1.09,1.02,1.07,1.03,1.12,1.04,1.14,0.86,0.88,0.91,0.95,0.88,0.81,0.85,0.92,0.87,0.85,0.86,0.89,0.90,0.88,0.87,0.94,1.11,1.14,1.12,1.11,1.10,1.01,1.08,1.16,1.06,1.11,1.10,1.02,0.91,1.02,1.01,1.11,0.92,0.88,0.90,0.93,0.89,0.89,0.91,0.94,0.91,0.89,0.92,0.87,0.94,0.89,0.93,0.92,1.05,1.04,1.07,1.18,1.13,1.17,1.09,1.05,1.07,1.05,1.08,1.13,1.02,1.07,1.04,1.04,0.79,0.85,0.89,0.80,0.87,0.74,0.81,0.71,0.82,0.85,0.88,0.83,0.85,0.82,0.74,0.79,1.02,0.99,0.97,0.96,0.97,0.97,1.06,0.93,0.93,0.92,0.92,1.01,1.03,0.94,0.95,0.97,0.80,0.79,0.79,0.80,0.83,0.73,0.79,0.87,0.87,0.79,0.85,0.89,0.79,0.77,0.79,0.83,1.01,1.00,0.94,1.01,0.93,1.02,0.96,0.98,1.08,0.93,0.97,1.00,0.93,0.95,0.87,1.00,0.79,0.89,0.80,0.91,0.86,0.82,0.83,0.74,0.87,0.84,0.88,0.90,0.84,0.86,0.83,0.86,1.05,0.99,1.02,1.00,0.99,0.99,1.04,0.96,0.92,1.03,0.96,0.97,0.99,1.03,0.96,0.92,0.90,0.97,0.80,0.87,0.87,0.77,0.77,0.81,0.88,0.89,0.88,0.88,0.91,0.82,0.88,0.82,1.09,0.99,1.07,1.00,1.05,1.04,1.01,1.01,1.00,0.97,1.03,0.97,1.04,1.06,0.99,1.01], + "PhetoGeVS": [560.106], + "PhetoGeVC": [59.0426] }, - "PMT": - { - "PMTS_pd": [252.473, 263.31, 220.749, 283.744, 263.462, 263.523, 281.45, 122.118], - "PMTS_pk": [404.671, 254.923, 340.794, 383.613, 208.127, 446.788, 445.15, 405.841], - "PMTC_pd": [276.381, 264.377, 253.483, 261.631, 241.739, 278.932, 262.566, 232.788], - "PMTC_pk": [22.3819, 21.8873, 73.0812, 54.2854, 50.3284, 46.124, 16.941, 47.8552] + "PMT": { + "PMTS_pd": [252.473, 263.31, 220.749, 283.744, 263.462, 263.523, 281.45, 122.118], + "PMTS_pk": [397.499, 250.405, 334.754, 376.813, 204.438, 438.869, 437.26, 398.648], + "PMTC_pd": [276.381, 264.377, 253.483, 261.631, 241.739, 278.932, 262.566, 232.788], + "PMTC_pk": [22.1716, 21.6816, 72.3945, 53.7753, 49.8554, 45.6906, 16.7818, 47.4055] } } -} +} diff --git a/TBDataPreparation/202106_DESY/scripts/Run_2.json b/TBDataPreparation/202106_DESY/scripts/Run_2.json index 6caa3e9..89e293f 100644 --- a/TBDataPreparation/202106_DESY/scripts/Run_2.json +++ b/TBDataPreparation/202106_DESY/scripts/Run_2.json @@ -1248,15 +1248,15 @@ 0.96917949, 1.01379149 ], - "PhetoGeVS": [600.887], - "PhetoGeVC": [42.3759] + "PhetoGeVS": [578.901], + "PhetoGeVC": [43.7943] }, "PMT": { "PMTS_pd": [252.259, 263.185, 220.833, 283.942, 263.145, 262.95, 281.342, 121.437], - "PMTS_pk": [429.626, 256.361, 340.99, 373.757, 216.993, 438.112, 473.001, 411.003], + "PMTS_pk": [423.884, 252.935, 336.432, 368.761, 214.093, 432.257, 466.679, 405.51], "PMTC_pd": [71.042, 58.523, 55.0122, 62.0725, 42.9035, 78.9639, 58.1197, 30.9974], - "PMTC_pk": [378.906, 337.998, 389.363, 414.678, 350.839, 391.748, 302.593, 358.177] + "PMTC_pk": [372.252, 332.062, 382.525, 407.395, 344.678, 384.867, 297.279, 351.887] } } } From f32faabc600fc81f95b0cb9253c409434452b30b Mon Sep 17 00:00:00 2001 From: Gabriella Gaudio <62577055+gaudio74@users.noreply.github.com> Date: Tue, 29 Mar 2022 15:27:08 +0200 Subject: [PATCH 4/4] add v1.3.3 DESY data description --- TBDataPreparation/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TBDataPreparation/README.md b/TBDataPreparation/README.md index e469905..a2f971e 100644 --- a/TBDataPreparation/README.md +++ b/TBDataPreparation/README.md @@ -14,7 +14,8 @@ For every relevant software version we release the corresponding test beam data ### Testbeam at DESY | SW version | Path | Comments | | ------------- | ------------- | ------------- | -| v1.3.1 | /eos/user/i/ideadr/TB2021_Desy/DESYDATA/v1.3.1/ | Data produced with v1.3.1: unique calibration for PMTs and SiPMs| +| v1.3.3 | /eos/user/i/ideadr/TB2021_Desy/DESYDATA/v1.3.3/ | Data produced with v1.3.3: new full calibration using new equilization for SiPM. Data produced from merged ntuple as copied from v1.3.2 . Only reconNtuple/ files are stored. Produced by Gabriella on 7.3.2022 | +| v1.3.2 | /eos/user/i/ideadr/TB2021_Desy/DESYDATA/v1.3.2/ | Data produced with v1.3.2: unique calibration for PMTs and SiPMs. Data produced starting from .bz2 files from PMT DAQ and SiPM. Produced by Gabriella on 29.1.2022 | ## Data production