Pedstal

From Hall A Wiki
Jump to: navigation, search

How to update the pedstal value for left and right arm:

(1) First copy "ped1.dat,ped2.dat,ped3.dat,ped4.dat" and " ped_right.pl","ped_left.pl" to the same directory.

"ped_left.pl" can be found in "/adaqfs/home/adaq/e05110/onlana/xinhu/analysis/CSRdetector/Calibration/pedstal/leftarm".

"ped_right.pl" can be found in "/adaqfs/home/adaq/e05110/onlana/xinhu/analysis/CSRdetector/Calibration/pedstal/rightarm".

For right arm: "ped1.dat,ped2.dat" can be obtained from "/net/fs.home/adev/ped"

For left arm: "ped3.dat,ped4.dat" can be obtained from "/net/fs.home/a-onl/ped/"

And then exec:

 >ped_left.pl;        #get pedsatal velue for correspond detector of left arm
            
 >ped_right.pl;       #get pedsatal velue for correspond detector of right arm


(2)another way,if you get a cosmic run,you can use the following macro to get the pedstals for the detector of left arm:

For NaI : getped_NaI.C

For Prl1: getprl1.C

For Prl2: getprl2.C

the directory is : /adaqfs/home/adaq/e05110/onlana/xinhu/analysis/CSRdetector/Calibration/pedstal