Difference between revisions of "NaI calibration"
(→New Calibration code) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | == New Calibration code == | ||
+ | |||
+ | I wrote a small calibration code for small parts of NaI. | ||
+ | It is uses the minization on chi2. | ||
+ | |||
+ | Code is located in : | ||
+ | |||
+ | /adaqfs/home/adaq/e05110/onlana/camsonne/Cal2 | ||
+ | |||
+ | run the analyzer | ||
+ | |||
+ | load the program : .L Calibrate.C+ | ||
+ | |||
+ | and run it : | ||
+ | Calibrate() | ||
+ | |||
+ | It will ask for a list of runs. | ||
+ | |||
+ | After it will go through all the events and generate the calibration coefficients. | ||
+ | |||
+ | |||
[[First calibration runs]] | [[First calibration runs]] | ||
Latest revision as of 15:12, 4 January 2008
Contents
New Calibration code
I wrote a small calibration code for small parts of NaI. It is uses the minization on chi2.
Code is located in :
/adaqfs/home/adaq/e05110/onlana/camsonne/Cal2
run the analyzer
load the program : .L Calibrate.C+
and run it : Calibrate()
It will ask for a list of runs.
After it will go through all the events and generate the calibration coefficients.
ls /adaql10/work1/E05110/onlroot/*full*
Macros
replayFull.C : replay with another filename and reduced set of variable for replay of complete runs
remark the histogram are saved in the last root file, I made a configuration CSR3p to look at those with the online.C+
~/e05110/HV/c/allhv.sh : get the values from the HV crate and put them into a file in format channe hv
~/e05110/onlana/camsonne/number.sh :simple script to generate a HV file with one value
~/e05110/onlana/findpeak.C : use macro peak search class to find the edge for calibration
/adaqfs/home/adaq/e05110/onlana/camsonne/yoomin : contains map HV to
Run 1306
Block position
macro to generate the event list : amplitudes bigger than 200 above pedestal
Blocks which have reasonable amplitude 12,13,14,16,21,22,24,29,33,40,42,44,47,48,50,51,55,56,57,58,60,65,67,75,76,77,78,83, 85,86,87,92,93,94,95,96,101,102,103,104,105,111,112,114,115,119,120, 121,122,123,126,129,130,131,137,138,139,140,146,147,148,150,157,159,165,166,167, ,168,173,174,175,177,182,183,184,185,186,191,192,193,194,195,200, 201,203,204,209,210,211,212,213,218,231,237,246,248,249,256,258
HistoPos.C uses eventlist on 1306 to fill position histogran
40: abs(L.CSR.trx+0.928)<0.02&&abs(L.CSR.try-0.0045)<0.02 44: abs(L.CSR.trx+0.7854)<0.02&&abs(L.CSR.try+0.0065)<0.02 182 : 0.32 0.11 194 : 0.39 -0.08 195 : 0.39 -0.143 120 : -0.237 0.0176 121 : -0.232 -0.008
[runliste]
Channel to HV and ADC functions
/adaqfs/home/adaq/e05110/HV/c
CSRmap.C must be loaded compiled
He4 runs
Long cosmics
HV changes
[[1]]
loaded hv-29-oct-20070.txt
210417 10/29/07 10:41 A. Camsonne NaI HV change
[[2]]
loaded HV-set-1000V-Oct-29-2007.txt
210391 10/29/07 07:19 jpchen NaI HV changed to 1000 V
[[3]]
210000 10/28/07 00:14 A. Camsonne NaI HV
[[4]]
extra hits still appear : hv-1900-keepgood-06.txt
209900 10/27/07 11:50 Seonho Choi NaI HV adjustment
[[5]]
NaI HV raised for a few channels and starting a new run, 1326. The high voltage values are saved in hv-1900-keepgood-03.txt.
209889 10/27/07 10:47 A. Camsonne NaI HV change
[[6]]
loaded file hv-1900-keepgood-2nd.txt
209840 10/27/07 06:57 A. Camsonne NaI HV change
[[7]]
HV change from values in hv-1700-keepgood.txt in
217264 11/30/07 14:26 A. Camsonne Increased NaI HV by 100V
[[8]]
since were are running at low ernergy, I increase the HV, loaded fileNovember-30-2007+100.txt
216549 11/27/07 19:18 A. Camsonne NaI HV increased
[[9]]
loaded file November-27-2007-New.txt for current energy running
216201 11/26/07 11:26 A. Camsonne NaI HV changed
[[10]]
loaded file Nov-26-2007-New.txt
214865 11/16/07 17:52 Adaq NaI HV channel 136 - Histo 133
[[11]]
214612 11/15/07 11:41 A. Camsonne NaI HV changed
[[12]]
loaded New-Nov-15-2007.txt
213694 11/11/07 02:26 A. Camsonne NaI HV increased
[[13]]
loaded file New-November-10-2007.txt
213141 11/09/07 04:52 A. Camsonne NaI HV changed
[[14]]
Loaded file New-Nov-09-2007.txt 213044 11/08/07 22:07 A. Camsonne NaI HV changed
[[15]]
loaded file New-now-8-2007-xinhu-3.txt
213023 11/08/07 16:14 A. Camsonne NaI HV changed
[[16]]
loaded file New-nov-8-2007-xinhu-2.txt
213016 11/08/07 14:49 A. Camsonne NaI HV changed
[[17]]
Old values are saved in file Current-nov-8-2007.txt
Loaded values from file New-nov-8-2007-xinhu.txt
213007 11/08/07 11:09 A. Camsonne NaI HV
[[18]]
212012 11/03/07 20:39 A. Camsonne NaI HV Channel 53 off
[[19]]
211949 11/03/07 16:16 A. Camsonne NaI HV changed
[[20]]
211274 11/01/07 12:23 A. Camsonne NaI HV increased
[[21]]
219987 12/11/07 17:10 A. Camsonne NaI HV change
[[22]]
loaded december-11-300MeV.txt and NaILecroy-dec-11-2007-100Mev-300MeV.txt
219706 12/10/07 18:47 A. Camsonne NaI HV change
[[23]]
loaded file december-10-712MeV.txt for higher energy run
219503 12/10/07 00:41 A. Camsonne NaI HV increased
[[24]]
loaded file december-9-300MeV.txt and NaILecroy-dec-10-2007-100Mev-300MeV.txt
219143 12/08/07 16:51 A. Camsonne NaI HV increased by 80 V
[[25]]
loaded file december-8-712MeV.txt
218901 12/07/07 18:12 A. Camsonne NaI HV
[[26]]
218843 12/07/07 14:54 A. Camsonne NaI HV change
[[27]]
loaded december-7-1200MeV-d.txt
218834 12/07/07 14:27 A. Camsonne NaI HV change
[[28]]
a few channel had a bit too high HV loaded file december-7-1200MeV-c.txt
218819 12/07/07 12:51 A. Camsonne NaI HV change
[[29]]
file loaded december-7-1200MeV-b.txt
218809 12/07/07 11:48 A. Camsonne NaI HV reduced bottom part
[[30]]
218781 12/07/07 07:25 Yoomin NaI HV Changed
[[31]]
loaded the file "december-7-1200MeV.txt"
218689 12/06/07 22:41 A. Camsonne NaI HV changed
[[32]]
loaded december-6-new-b.txt had still some channels out of ADC range but was only visible with high statistics.
218627 12/06/07 18:46 Adaq NaI HV changed
[[33]]
reduced 4 channels still out of ADC range, loaded file december-6-new.txt
218618 12/06/07 18:06 A. Camsonne NaI HV changed
[[34]]
loaded file december-6.txt this HV is suitable for 300-800 MeV range
218523 12/06/07 10:40 A. Camsonne NaI HV increased
[[35]]
loaded file december-5-new+100.txt and increased previous value on Lecroy channel by 200 V
218437 12/05/07 21:33 A. Camsonne NaI HV change
[[36]]
loaded file december-5-new-100.txt using data from run 3352, peak should be around channel 1000 for 316 MeV. This should suit the 1.2 GeV/c 300 MeV/c momentum range
218355 12/05/07 02:43 A. Camsonne NaI HV
[[37]]
loaded dec-5+200d.txt
218352 12/05/07 02:16 A. Camsonne NaI HV change
[[38]]
loaded dec-5+200c.txt
218339 12/05/07 01:23 A. Camsonne NaI HV change
[[39]]
loaded dec4/dec-5+200.txt
218332 12/05/07 00:49 A. Camsonne NaI HV change
[[40]]
218309 12/04/07 22:53 A. Camsonne NaI HV restored to production HV values and pedestal subtraction back on
[[41]]
reloaded file to be able to calibrate test-dec-2/dec-3-2007.txt, the HV files from cosmics is dec-4/dec-4-2007.txt, it should be better balanced so I will used for next energy
218286 12/04/07 19:01 A. Camsonne NaI HV changed
[[42]]
loaded dec-4-2007.txt
218282 12/04/07 17:16 A. Camsonne NaI HV lowered for cosmics
[[43]]
loaded file dec-3-2007+500.txt
218213 12/03/07 21:14 A. Camsonne NaI HV change for cosmics
[[44]]
loaded file test-dec-2/dec-3-2007+300.txt
217721 12/02/07 01:08 A. Camsonne NaI HV change
[[45]]
loaded file new-december-1-2007.txt