UNCL ROOT Analysis

From New IAC Wiki
Jump to navigation Jump to search

UNCL_DAQ


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


NaI Cs137 4-22-21.png

UNCL_DAQ