Difference between revisions of "NaI calibration"

From Hall A Wiki
Jump to: navigation, search
(New Calibration code)
 
(30 intermediate revisions by 6 users not shown)
Line 1: Line 1:
L HRS Run Number And NaI H/V
+
== New Calibration code ==
  
1286: -1200V
+
I wrote a small calibration code for small parts of NaI.
 +
It is uses the minization on chi2.
  
1287: -1400V
+
Code is located in :
  
1288: -1500V
+
/adaqfs/home/adaq/e05110/onlana/camsonne/Cal2
  
1289: -1500V , S2 4,5,6 Off
+
run the analyzer
  
1304,1305: -1700V
+
load the program : .L Calibrate.C+
  
{| border="1"
+
and run it :
!+Run!!HV!!momentum!!short replay!!long replay
+
Calibrate()
|-
+
|1286||-1200 || || ||1
+
|-
+
|1287||-1400 ||||  ||1
+
|-
+
|1288||-1500 || || ||1
+
|-
+
|1289||-1500 || || ||1
+
|-
+
|1304||-1700 ||||  ||
+
|-
+
|1305||-1700 ||||  ||
+
|-
+
|1306||-1700 || || ||
+
|-
+
|1309||-1900 || 1.0Gev|| ||
+
|-
+
|1310||-1700 || || ||
+
|-
+
|1311||- || || ||
+
|-
+
|1311||- || || ||
+
|-
+
|1311||- || || ||
+
|-
+
|1311||- || || ||
+
|-
+
  
 +
It will ask for a list of runs.
  
 +
After it will go through all the events and generate the calibration coefficients.
  
  
|}
+
[[First calibration runs]]
  
  
Line 62: Line 38:
  
 
/adaqfs/home/adaq/e05110/onlana/camsonne/yoomin : contains map HV to
 
/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
 +
 +
[[http://hallaweb.jlab.org/experiment/E05-110/php/dev/showtable.php3 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 ==
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0710_archive/071029215150.html]]
 +
 +
loaded hv-29-oct-20070.txt<br>
 +
210417 10/29/07 10:41 A. Camsonne NaI HV change
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0710_archive/071029104128.html]]
 +
 +
loaded HV-set-1000V-Oct-29-2007.txt<br>
 +
210391 10/29/07 07:19 jpchen NaI HV changed to 1000 V
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0710_archive/071029071935.html]]
 +
 +
210000 10/28/07 00:14 A. Camsonne NaI HV
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0710_archive/071028001456.html]]
 +
 +
extra hits still appear : hv-1900-keepgood-06.txt <br>
 +
209900 10/27/07 11:50 Seonho Choi NaI HV adjustment
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0710_archive/071027115039.html]]
 +
 +
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.<br>
 +
209889 10/27/07 10:47 A. Camsonne NaI HV change
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0710_archive/071027104723.html]]
 +
 +
loaded file hv-1900-keepgood-2nd.txt<br>
 +
209840 10/27/07 06:57 A. Camsonne NaI HV change
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0710_archive/071027065731.html]]
 +
 +
HV change from values in  hv-1700-keepgood.txt in<br>
 +
217264 11/30/07 14:26 A. Camsonne Increased NaI HV by 100V
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0711_archive/071130142645.html]]
 +
 +
since were are running at low ernergy, I increase the HV, loaded fileNovember-30-2007+100.txt <br>
 +
216549 11/27/07 19:18 A. Camsonne NaI HV increased
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0711_archive/071127191843.html]]
 +
 +
loaded file  November-27-2007-New.txt for current energy running<br>
 +
216201 11/26/07 11:26 A. Camsonne NaI HV changed
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0711_archive/071126112606.html]]
 +
 +
loaded file Nov-26-2007-New.txt<br>
 +
214865 11/16/07 17:52 Adaq NaI HV channel 136 - Histo 133
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0711_archive/071116175247.html]]
 +
 +
214612 11/15/07 11:41 A. Camsonne NaI HV changed
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0711_archive/071115114102.html]]
 +
 +
loaded New-Nov-15-2007.txt<br>
 +
213694 11/11/07 02:26 A. Camsonne NaI HV increased
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0711_archive/071111022607.html]]
 +
 +
loaded file  New-November-10-2007.txt<br>
 +
213141 11/09/07 04:52 A. Camsonne NaI HV changed
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0711_archive/071109045221.html]]
 +
 +
Loaded file  New-Nov-09-2007.txt
 +
213044 11/08/07 22:07 A. Camsonne NaI HV changed
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0711_archive/071108220754.html]]
 +
 +
loaded file New-now-8-2007-xinhu-3.txt<br>
 +
213023 11/08/07 16:14 A. Camsonne NaI HV changed
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0711_archive/071108161412.html]]
 +
 +
loaded file New-nov-8-2007-xinhu-2.txt<br>
 +
213016 11/08/07 14:49 A. Camsonne NaI HV changed
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0711_archive/071108144950.html]]
 +
 +
Old values are saved in file Current-nov-8-2007.txt<br>
 +
Loaded values from file New-nov-8-2007-xinhu.txt<br>
 +
213007 11/08/07 11:09 A. Camsonne NaI HV
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0711_archive/071108110906.html]]
 +
 +
212012 11/03/07 20:39 A. Camsonne NaI HV Channel 53 off
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0711_archive/071103203914.html]]
 +
 +
211949 11/03/07 16:16 A. Camsonne NaI HV changed
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0711_archive/071103161642.html]]
 +
 +
211274 11/01/07 12:23 A. Camsonne NaI HV increased
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0711_archive/071101122330.html]]
 +
 +
219987 12/11/07 17:10 A. Camsonne NaI HV change
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0712_archive/071211171026.html]]
 +
 +
loaded december-11-300MeV.txt and NaILecroy-dec-11-2007-100Mev-300MeV.txt<br>
 +
219706 12/10/07 18:47 A. Camsonne NaI HV change
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0712_archive/071210184746.html]]
 +
 +
loaded file december-10-712MeV.txt for higher energy run<br>
 +
219503 12/10/07 00:41 A. Camsonne NaI HV increased
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0712_archive/071210004113.html]]
 +
 +
loaded file  december-9-300MeV.txt and  NaILecroy-dec-10-2007-100Mev-300MeV.txt<br>
 +
219143 12/08/07 16:51 A. Camsonne NaI HV increased by 80 V
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0712_archive/071208165159.html]]
 +
 +
loaded file december-8-712MeV.txt<br>
 +
218901 12/07/07 18:12 A. Camsonne NaI HV
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0712_archive/071207181241.html]]
 +
 +
218843 12/07/07 14:54 A. Camsonne NaI HV change
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0712_archive/071207145425.html]]
 +
 +
loaded december-7-1200MeV-d.txt<br>
 +
218834 12/07/07 14:27 A. Camsonne NaI HV change
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0712_archive/071207142735.html]]
 +
 +
a few channel had a bit too high HV loaded file december-7-1200MeV-c.txt<br>
 +
218819 12/07/07 12:51 A. Camsonne NaI HV change
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0712_archive/071207125124.html]]
 +
 +
file loaded december-7-1200MeV-b.txt<br>
 +
218809 12/07/07 11:48 A. Camsonne NaI HV reduced bottom part
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0712_archive/071207114816.html]]
 +
 +
218781 12/07/07 07:25 Yoomin NaI HV Changed
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0712_archive/071207072558.html]]
 +
 +
loaded the file "december-7-1200MeV.txt"<br>
 +
218689 12/06/07 22:41 A. Camsonne NaI HV changed
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0712_archive/071206224113.html]]
 +
 +
loaded december-6-new-b.txt had still some channels out of ADC range but was only visible with high statistics. <br>
 +
218627 12/06/07 18:46 Adaq NaI HV changed
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0712_archive/071206184608.html]]
 +
 +
reduced 4 channels still out of ADC range, loaded file december-6-new.txt<br>
 +
218618 12/06/07 18:06 A. Camsonne NaI HV changed
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0712_archive/071206180605.html]]
 +
 +
loaded file december-6.txt this HV is suitable for 300-800 MeV range<br>
 +
218523 12/06/07 10:40 A. Camsonne NaI HV increased
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0712_archive/071206104047.html]]
 +
 +
loaded file december-5-new+100.txt and increased previous value on Lecroy channel by 200 V<br>
 +
218437 12/05/07 21:33 A. Camsonne NaI HV change
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0712_archive/071205213326.html]]
 +
 +
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<br>
 +
218355 12/05/07 02:43 A. Camsonne NaI HV
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0712_archive/071205024348.html]]
 +
 +
loaded dec-5+200d.txt<br>
 +
218352 12/05/07 02:16 A. Camsonne NaI HV change
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0712_archive/071205021619.html]]
 +
 +
loaded dec-5+200c.txt<br>
 +
218339 12/05/07 01:23 A. Camsonne NaI HV change
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0712_archive/071205012304.html]]
 +
 +
loaded dec4/dec-5+200.txt<br>
 +
218332 12/05/07 00:49 A. Camsonne NaI HV change
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0712_archive/071205004910.html]]
 +
 +
218309 12/04/07 22:53 A. Camsonne NaI HV restored to production HV values and pedestal subtraction back on
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0712_archive/071204225347.html]]
 +
 +
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<br>
 +
218286 12/04/07 19:01 A. Camsonne NaI HV changed
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0712_archive/071204190123.html]]
 +
 +
loaded dec-4-2007.txt<br>
 +
218282 12/04/07 17:16 A. Camsonne NaI HV lowered for cosmics
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0712_archive/071204171643.html]]
 +
 +
loaded file dec-3-2007+500.txt<br>
 +
218213 12/03/07 21:14 A. Camsonne NaI HV change for cosmics
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0712_archive/071203211437.html]]
 +
 +
loaded file  test-dec-2/dec-3-2007+300.txt<br>
 +
217721 12/02/07 01:08 A. Camsonne NaI HV change
 +
 +
[[http://www.jlab.org/~adaq/halog/html/0712_archive/071202010800.html]]
 +
 +
loaded file new-december-1-2007.txt<br>

Latest revision as of 15:12, 4 January 2008

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


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