Difference between revisions of "RICH pedestal run"

From Hall A Wiki
Jump to: navigation, search
(Geenerate the pedestal files)
(Additional Information)
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
How to take a RICH pedestal run, generate the pedestal files and make them visible to the DAQ.
+
Follows the procedures described here to take a RICH pedestal run, generate the pedestal files and make them visible to the DAQ.
  
 
== Take the RICH pedestal run ==
 
== Take the RICH pedestal run ==
  
1. login as a-onl@adaql4 (l5, l6 or l7)
+
a1. Ask MCC for '''beam OFF'''
  
2. go to the directory: '''/adaqfs/home/a-onl/rich/pedestal'''
+
a2. login as a-onl@adaql4 (l5, l6 or l7)
  
3. do the command: '''./preped.sh'''
+
a3. go to the directory: '''/adaqfs/home/a-onl/rich/pedestal'''
  
4. prescale all trigger except T3 and T5
+
a4. do the command: '''[[l_rich_preped|./preped.sh]]'''
  
5. run a standard calibration run in ''TwoArmRICH'' (comment as ''RICH pedestal''), deadtime should be rather high (80-90%)
+
a5. prescale all trigger except T3 and T5
  
6. take at least 2000 events
+
a6. run a standard calibration run in ''TwoArmRICH'' (comment as ''RICH pedestal''), deadtime should be araound 15% at 25 Hz
  
== Geenerate the pedestal files ==
+
a7. take 2000 events at least, then stop the run
  
7. login as adaq@adaql6 (or l7)
+
== Generate the pedestal files ==
  
9. go to the directory: '''/adaqfs/home/adaq/e06010/rich/leftreplay'''
+
b1. login as adaq@adaql6 (or l7)
  
10. run analyzer
+
b2. go to the directory: '''/adaqfs/home/adaq/e06010/rich/leftreplay'''
  
11. within analyzer do: '''.L newdecodeRICH.C+'''  (note: to speed up the processing, do not forget the '''+''' at the end)
+
b3. run analyzer
  
12. then run: '''newdecodeRICH(####,2000,0,2)'''     where '''####''' = number of the pedestal run
+
b4. within analyzer do: '''[[l_rich_newdecodeRICH|.L newdecodeRICH.C+]]'''   (note: to speed up the processing, do not forget the '''+''' at the end)
  
13. exit from analyzer: '''.q'''
+
b5. then run: '''newdecodeRICH(####)'''    where '''####''' = number of the pedestal run
 +
 
 +
b7. check the message about pedestal and noise means at the end of the processing
 +
 
 +
b6. quit analyzer: '''.q'''
  
 
== Make them visible to the DAQ ==
 
== Make them visible to the DAQ ==
  
13. go back a-onl@adaql4 (or higher) in the directory '''/adaqfs/home/a-onl/rich/pedestal'''
+
c1. go back to a-onl@adaql4 (or higher) in the directory '''/adaqfs/home/a-onl/rich/pedestal'''
 +
 
 +
c2. run the script: '''[[l_rich_copyped|./copyped.sh]]'''  (check the messages about file length)
 +
 
 +
c3. you can now start the production; do not forget to set the prescalers correctly
  
14. do the command> '''./copyped.sh'''
+
== Additional Information ==
  
15. you can now start the production; do not forget to set the prescalers correctly
+
The file ''[[l rich log|save/log.txt]]'' keeps track of the operations of the above scripts '''[[l_rich_preped|preped.sh]]''' and '''[[l_rich_copyped|copyped.sh]]''' and therefore of the pedestals used in the data acquisition in each run.
 +
 +
Moreover '''[[l_rich_copyped|copyped.sh]]''' backups a copy of the latest pedestal files in a subdirectory in ''save/''; the subdirectory is written in ''[[l_rich_log|save/log.txt]]''.
  
 +
The final pedestal files acquired and used during the experiments are aavailable here:
 +
[https://hallaweb.jlab.org/dvcslog//ARICH/249 elog/arich/249]
  
 
Back to the [[Left RICH]] page
 
Back to the [[Left RICH]] page

Latest revision as of 12:23, 27 September 2009

Follows the procedures described here to take a RICH pedestal run, generate the pedestal files and make them visible to the DAQ.

Take the RICH pedestal run

a1. Ask MCC for beam OFF

a2. login as a-onl@adaql4 (l5, l6 or l7)

a3. go to the directory: /adaqfs/home/a-onl/rich/pedestal

a4. do the command: ./preped.sh

a5. prescale all trigger except T3 and T5

a6. run a standard calibration run in TwoArmRICH (comment as RICH pedestal), deadtime should be araound 15% at 25 Hz

a7. take 2000 events at least, then stop the run

Generate the pedestal files

b1. login as adaq@adaql6 (or l7)

b2. go to the directory: /adaqfs/home/adaq/e06010/rich/leftreplay

b3. run analyzer

b4. within analyzer do: .L newdecodeRICH.C+ (note: to speed up the processing, do not forget the + at the end)

b5. then run: newdecodeRICH(####) where #### = number of the pedestal run

b7. check the message about pedestal and noise means at the end of the processing

b6. quit analyzer: .q

Make them visible to the DAQ

c1. go back to a-onl@adaql4 (or higher) in the directory /adaqfs/home/a-onl/rich/pedestal

c2. run the script: ./copyped.sh (check the messages about file length)

c3. you can now start the production; do not forget to set the prescalers correctly

Additional Information

The file save/log.txt keeps track of the operations of the above scripts preped.sh and copyped.sh and therefore of the pedestals used in the data acquisition in each run.

Moreover copyped.sh backups a copy of the latest pedestal files in a subdirectory in save/; the subdirectory is written in save/log.txt.

The final pedestal files acquired and used during the experiments are aavailable here: elog/arich/249

Back to the Left RICH page