Difference between revisions of "UNCL DAQ"
Jump to navigation
Jump to search
(Created page with "UnderGraduate_Neutron_Correlations_Lab UnderGraduate_Neutron_Correlations_Lab") |
|||
Line 1: | Line 1: | ||
[[UnderGraduate_Neutron_Correlations_Lab]] | [[UnderGraduate_Neutron_Correlations_Lab]] | ||
+ | Creating ROOT data files | ||
+ | |||
+ | |||
+ | |||
+ | source ~/CODA/2.6.2/setup | ||
+ | |||
+ | source src/root/root-5.34.00/bin/thisroot.csh | ||
+ | |||
+ | /home/daq/CODA/CODAreader/ROOT_V5.34/PAA/evio2nt -fr6815.dat > /dev/null | ||
+ | |||
+ | Analyzing ROOT data file | ||
+ | |||
+ | root -l r8735.root | ||
+ | |||
+ | to draw a histogram for Peak ADC channel 4 | ||
+ | |||
+ | PAA->Draw("PADC.PADC785N[4]>>(4096,0,4096)") | ||
+ | |||
+ | To scale the histogram using an energy calibration of 0.45 keV/channel | ||
+ | |||
+ | PAA->Draw("PADC.PADC785N[4]*0.45>>(4096,0,4096)") | ||
+ | |||
+ | To save thehistogram under the name Cs137 | ||
+ | |||
+ | PAA->Draw("PADC.PADC785N[4]*0.45>>Cs137(4096,0,4096)") | ||
+ | |||
+ | |||
+ | To normalize the histogram by a run time of 2600 seconds | ||
+ | |||
+ | 1/3600=0.0002778 | ||
+ | |||
+ | Cs137->Scale(0.0002778) | ||
+ | Cs137->Draw(); | ||
+ | |||
+ | run 6816 background (~300Hz) | ||
+ | 1/47 = 0.021277 | ||
+ | |||
+ | run 6817 signal (~600 Hz) | ||
+ | 1/75 =0.013333 | ||
+ | |||
+ | |||
+ | [[File:NaI_Cs137_4-22-21.png]] | ||
[[UnderGraduate_Neutron_Correlations_Lab]] | [[UnderGraduate_Neutron_Correlations_Lab]] |
Revision as of 18:57, 10 May 2021
UnderGraduate_Neutron_Correlations_Lab
Creating ROOT data files
source ~/CODA/2.6.2/setup
source src/root/root-5.34.00/bin/thisroot.csh
/home/daq/CODA/CODAreader/ROOT_V5.34/PAA/evio2nt -fr6815.dat > /dev/null
Analyzing ROOT data file
root -l r8735.root
to draw a histogram for Peak ADC channel 4
PAA->Draw("PADC.PADC785N[4]>>(4096,0,4096)")
To scale the histogram using an energy calibration of 0.45 keV/channel
PAA->Draw("PADC.PADC785N[4]*0.45>>(4096,0,4096)")
To save thehistogram under the name Cs137
PAA->Draw("PADC.PADC785N[4]*0.45>>Cs137(4096,0,4096)")
To normalize the histogram by a run time of 2600 seconds
1/3600=0.0002778
Cs137->Scale(0.0002778) Cs137->Draw();
run 6816 background (~300Hz) 1/47 = 0.021277
run 6817 signal (~600 Hz) 1/75 =0.013333