Replay Output Variables » History » Revision 11
Revision 10 (Sean Jeffas, 05/10/2023 04:58 PM) → Revision 11/52 (Sean Jeffas, 05/10/2023 05:19 PM)
h1. Replay Output Variables h1. Description * One can search any working build of SBS-offline or Podd for “rVarDef” to find the location of these definitions. * From the build src directory: grep -nr “rvardef*” . * All definitions below are recorded in the following order: { <variable extension>, <Definition>, <SBS-offline designation> } h1. Tracking Definition * These definitions are defined in Podd. See github [https://github.com/JeffersonLab/analyzer]. ** THaSpectrometer.cxx * All definitions below are accesed from the tree with the prepend bb.tr. ** Ex. bb.tr.vz h3. Track Variables <pre> <pre><code class="cpp"> { "tr.n", "Number of tracks", "GetNTracks()" }, { "tr.x", "Track x coordinate (m)", "fTracks.THaTrack.fX" }, { "tr.y", "Track x coordinate (m)", "fTracks.THaTrack.fY" }, { "tr.th", "Tangent of track theta angle", "fTracks.THaTrack.fTheta" }, { "tr.ph", "Tangent of track phi angle", "fTracks.THaTrack.fPhi" }, { "tr.p", "Track momentum (GeV)", "fTracks.THaTrack.fP" }, { "tr.flag", "Track status flag", "fTracks.THaTrack.fFlag" }, { "tr.chi2", "Track's chi2 from hits", "fTracks.THaTrack.fChi2" }, { "tr.ndof", "Track's NDoF", "fTracks.THaTrack.fNDoF" }, { "tr.d_x", "Detector x coordinate (m)", "fTracks.THaTrack.fDX" }, { "tr.d_y", "Detector y coordinate (m)", "fTracks.THaTrack.fDY" }, { "tr.d_th", "Detector tangent of theta", "fTracks.THaTrack.fDTheta" }, { "tr.d_ph", "Detector tangent of phi", "fTracks.THaTrack.fDPhi" }, { "tr.r_x", "Rotated x coordinate (m)", "fTracks.THaTrack.fRX" }, { "tr.r_y", "Rotated y coordinate (m)", "fTracks.THaTrack.fRY" }, { "tr.r_th", "Rotated tangent of theta", "fTracks.THaTrack.fRTheta" }, { "tr.r_ph", "Rotated tangent of phi", "fTracks.THaTrack.fRPhi" }, { "tr.tg_y", "Target y coordinate", "fTracks.THaTrack.fTY"}, { "tr.tg_th", "Tangent of target theta angle", "fTracks.THaTrack.fTTheta"}, { "tr.tg_ph", "Tangent of target phi angle", "fTracks.THaTrack.fTPhi"}, { "tr.tg_dp", "Target delta", "fTracks.THaTrack.fDp"}, { "tr.px", "Lab momentum x (GeV)", "fTracks.THaTrack.GetLabPx()"}, { "tr.py", "Lab momentum y (GeV)", "fTracks.THaTrack.GetLabPy()"}, { "tr.pz", "Lab momentum z (GeV)", "fTracks.THaTrack.GetLabPz()"}, { "tr.vx", "Vertex x (m)", "fTracks.THaTrack.GetVertexX()"}, { "tr.vy", "Vertex y (m)", "fTracks.THaTrack.GetVertexY()"}, { "tr.vz", "Vertex z (m)", "fTracks.THaTrack.GetVertexZ()"}, { "tr.pathl", "Pathlength from tg to fp (m)","fTracks.THaTrack.GetPathLen()"}, { "tr.time", "Time of track@Ref Plane (s)", "fTracks.THaTrack.GetTime()"}, { "tr.dtime", "uncer of time (s)", "fTracks.THaTrack.GetdTime()"}, { "tr.beta", "Beta of track", "fTracks.THaTrack.GetBeta()"}, { "tr.dbeta", "uncertainty of beta", "fTracks.THaTrack.GetdBeta()"}, { "status", "Bits of completed analysis stages", "fStagesDone" } </code></pre>