Replay Output Variables » History » Version 13
Sean Jeffas, 05/10/2023 05:21 PM
1 | 1 | Sean Jeffas | h1. Replay Output Variables |
---|---|---|---|
2 | 2 | Sean Jeffas | |
3 | h1. Description |
||
4 | |||
5 | * One can search any working build of SBS-offline or Podd for “rVarDef” to find the location of these definitions. |
||
6 | * From the build src directory: grep -nr “rvardef*” . |
||
7 | 3 | Sean Jeffas | * All definitions below are recorded in the following order: { <variable extension>, <Definition>, <SBS-offline designation> } |
8 | |||
9 | h1. Tracking Definition |
||
10 | |||
11 | 5 | Sean Jeffas | * These definitions are defined in Podd. See github [https://github.com/JeffersonLab/analyzer]. |
12 | 3 | Sean Jeffas | ** THaSpectrometer.cxx |
13 | * All definitions below are accesed from the tree with the prepend bb.tr. |
||
14 | ** Ex. bb.tr.vz |
||
15 | 6 | Sean Jeffas | |
16 | 10 | Sean Jeffas | h3. Track Variables |
17 | 6 | Sean Jeffas | |
18 | 11 | Sean Jeffas | <pre> |
19 | 12 | Sean Jeffas | { "tr.n", "Number of tracks", "GetNTracks()" }, |
20 | 8 | Sean Jeffas | { "tr.x", "Track x coordinate (m)", "fTracks.THaTrack.fX" }, |
21 | { "tr.y", "Track x coordinate (m)", "fTracks.THaTrack.fY" }, |
||
22 | { "tr.th", "Tangent of track theta angle", "fTracks.THaTrack.fTheta" }, |
||
23 | { "tr.ph", "Tangent of track phi angle", "fTracks.THaTrack.fPhi" }, |
||
24 | { "tr.p", "Track momentum (GeV)", "fTracks.THaTrack.fP" }, |
||
25 | { "tr.flag", "Track status flag", "fTracks.THaTrack.fFlag" }, |
||
26 | { "tr.chi2", "Track's chi2 from hits", "fTracks.THaTrack.fChi2" }, |
||
27 | { "tr.ndof", "Track's NDoF", "fTracks.THaTrack.fNDoF" }, |
||
28 | { "tr.d_x", "Detector x coordinate (m)", "fTracks.THaTrack.fDX" }, |
||
29 | { "tr.d_y", "Detector y coordinate (m)", "fTracks.THaTrack.fDY" }, |
||
30 | { "tr.d_th", "Detector tangent of theta", "fTracks.THaTrack.fDTheta" }, |
||
31 | { "tr.d_ph", "Detector tangent of phi", "fTracks.THaTrack.fDPhi" }, |
||
32 | { "tr.r_x", "Rotated x coordinate (m)", "fTracks.THaTrack.fRX" }, |
||
33 | { "tr.r_y", "Rotated y coordinate (m)", "fTracks.THaTrack.fRY" }, |
||
34 | { "tr.r_th", "Rotated tangent of theta", "fTracks.THaTrack.fRTheta" }, |
||
35 | { "tr.r_ph", "Rotated tangent of phi", "fTracks.THaTrack.fRPhi" }, |
||
36 | { "tr.tg_y", "Target y coordinate", "fTracks.THaTrack.fTY"}, |
||
37 | { "tr.tg_th", "Tangent of target theta angle", "fTracks.THaTrack.fTTheta"}, |
||
38 | { "tr.tg_ph", "Tangent of target phi angle", "fTracks.THaTrack.fTPhi"}, |
||
39 | { "tr.tg_dp", "Target delta", "fTracks.THaTrack.fDp"}, |
||
40 | { "tr.px", "Lab momentum x (GeV)", "fTracks.THaTrack.GetLabPx()"}, |
||
41 | { "tr.py", "Lab momentum y (GeV)", "fTracks.THaTrack.GetLabPy()"}, |
||
42 | { "tr.pz", "Lab momentum z (GeV)", "fTracks.THaTrack.GetLabPz()"}, |
||
43 | { "tr.vx", "Vertex x (m)", "fTracks.THaTrack.GetVertexX()"}, |
||
44 | { "tr.vy", "Vertex y (m)", "fTracks.THaTrack.GetVertexY()"}, |
||
45 | { "tr.vz", "Vertex z (m)", "fTracks.THaTrack.GetVertexZ()"}, |
||
46 | { "tr.pathl", "Pathlength from tg to fp (m)","fTracks.THaTrack.GetPathLen()"}, |
||
47 | { "tr.time", "Time of track@Ref Plane (s)", "fTracks.THaTrack.GetTime()"}, |
||
48 | { "tr.dtime", "uncer of time (s)", "fTracks.THaTrack.GetdTime()"}, |
||
49 | { "tr.beta", "Beta of track", "fTracks.THaTrack.GetBeta()"}, |
||
50 | { "tr.dbeta", "uncertainty of beta", "fTracks.THaTrack.GetdBeta()"}, |
||
51 | { "status", "Bits of completed analysis stages", "fStagesDone" } |
||
52 | 7 | Sean Jeffas | </code></pre> |
53 | 13 | Sean Jeffas | |
54 | |||
55 | h1. HCal Variable Definitions |
||
56 | |||
57 | * These definitions from the following source files defined in SBS-offline. See github for more information. |
||
58 | ** SBSCalorimeter.cxx |
||
59 | ** SBSGenericDetector.cxx |
||
60 | * All definitions below are accessed from the tree with the prepend sbs.hcal. |
||
61 | ** Ex. sbs.hcal.clus_blk.atime |