Skip to content

Commit 725f523

Browse files
committed
Added README file
1 parent 8963a82 commit 725f523

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

TPOL_scripts/stage2/README

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
The main purpose of this code is to create the run dependent histograms
2+
that are used to determine the polarization.
3+
4+
Example on how to run: For run 90063, polarization plane at 0 degrees, with input
5+
file ../stage1/stage1Out_090063.root and output file ./tpolAna_090063.root
6+
7+
./stage2 ../stage1/stage1Out_090063.root -o./tpolAna_090063.root -p0 -r90063
8+
9+
NOTE: Example plots can be found in the analysis note
10+
( http://meson.hldsite.com/tpol/analysisNoteV2.pdf )
11+
12+
Some histograms that might be of interest:
13+
14+
root -l tpolAna_090063.root
15+
hTime->Draw()
16+
17+
You can compare to Figure 10 in the analysis note. NOTE: The peak
18+
is at aproximately 300 ns for Sp 18 onward.
19+
20+
hTimeVsPhi->Draw("colz")
21+
22+
The above plot shows the timing versus azimuthal angle.
23+
24+
hEDepVsSector->Draw("colz")
25+
26+
The above plot shows the energy deposited in the silicon strip detector
27+
vs the sector number.
28+
29+
hPhiCut->Draw()
30+
31+
The above shows the azimuthal distribution along with a fit to the data
32+
33+
hPhiCutVsRun->Draw("colz")
34+
35+
The above shows the azimuthal distribution as a function of run number
36+
NOTE: Only interesting when many run files are added together
37+
38+
hPolVsRun->Draw()
39+
40+
The above shows the polarization versus the run number
41+

0 commit comments

Comments
 (0)