Difference between revisions of "RICH pedestal run"

From Hall A Wiki
Jump to: navigation, search
(How to take a RICH pedestal run)
(Additional Information)
 
(30 intermediate revisions by the same user not shown)
Line 1: Line 1:
== How to take a RICH pedestal run (and generate the pedestals files) ==
+
Follows the procedures described here to take a RICH pedestal run, generate the pedestal files and make them visible to the DAQ.
  
1. login as a-onl@adaql2
+
== Take the RICH pedestal run ==
  
2. go to the directory: '''/adaqfs/home/a-onl/rich/pedestal'''
+
a1. Ask MCC for '''beam OFF'''
  
3. do the command: '''./preped.sh'''
+
a2. login as a-onl@adaql4 (l5, l6 or l7)
  
4. prescale all trigger except T3 and T5
+
a3. go to the directory: '''/adaqfs/home/a-onl/rich/pedestal'''
  
5. run a standard calibration run in ''TwoArmRICH'' (comment as ''RICH pedestal''), deadtime should be rather high (80-90%)
+
a4. do the command: '''[[l_rich_preped|./preped.sh]]'''
  
6. take about 5000 events
+
a5. prescale all trigger except T3 and T5
  
7. login as adaq@adaql2
+
a6. run a standard calibration run in ''TwoArmRICH'' (comment as ''RICH pedestal''), deadtime should be araound 15% at 25 Hz
  
9. go to the directory: '''/adaqfs/home/adaq/e06010/rich/leftreplay'''
+
a7. take 2000 events at least, then stop the run
  
10. run analyzer
+
== Generate the pedestal files ==
  
11. within analyzer lead: .L newdecodeRICH.C
+
b1. login as adaq@adaql6 (or l7)
  
12. then run: '''newdecodeRICH(####,2000,0,2)'''     where '''####''' = number of the pedestal run
+
b2. go to the directory: '''/adaqfs/home/adaq/e06010/rich/leftreplay'''
  
13. go back a-onl@adaql2 in the directory '''/adaqfs/home/a-onl/rich/pedestal'''
+
b3. run analyzer
  
14. do the command> '''./copyped.sh'''
+
b4. within analyzer do: '''[[l_rich_newdecodeRICH|.L newdecodeRICH.C+]]'''   (note: to speed up the processing, do not forget the '''+''' at the end)
  
15. you can now start the production; do not forget to set the prescalers correctly
+
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: '''[[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
 +
 
 +
== Additional Information ==
 +
 
 +
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

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