Project

General

Profile

Actions

Podd Analyzer Variables

After initializing the analyzer you can see the variables by typing:

        analyzer[2] gHaVars->Print()

or
        analyzer[2] T->Print()

Here is a partial list with comments explaining the variables

I. General run info

OBJ: THaVar     g.runnum        Run number
OBJ: THaVar     g.runtype       CODA run type
OBJ: THaVar     g.runtime       CODA run time
OBJ: THaVar     g.evnum Event number
OBJ: THaVar     g.evtyp Event type
OBJ: THaVar     g.evlen Event Length

There are usually also variables "fEvtHdr.*" with
self-documenting meaning.

II. Track info. This is on the Right-HRS (R). For Left-HRS, replace R with L.

Golden track info
Available if you've added it in the analysis script, e.g.
gHaPhysics->Add( new THaGoldenTrack( "R.gold", "HRS-R Golden Track", "R" ));
Golden = Best track in TRANSPORT coordinates at target.
X is dispersive, or vertical, direction, Y perpendicular.
th = theta (vertical), ph = phi (nominal scattering angle, horizontal)
R.gold.x
R.gold.y
R.gold.th
R.gold.ph
dp = fractional momentum
R.gold.dp
"ok" flag
R.gold.ok

The following is in the TRANSPORT coordinate system
in the shield hut.
Z along the nominal beam direction at the
detectors, and at Z = 0 which is the Z location of
the first VDC plane. The average user probably doesn't
need these variables; instead use "golden track".

OBJ: THaVar     R.tr.n  Number of tracks
OBJ: THaVar     R.tr.x  Track x coordinate (m)
OBJ: THaVar     R.tr.y  Track x coordinate (m)
OBJ: THaVar     R.tr.th Tangent of track theta angle
OBJ: THaVar     R.tr.ph Tangent of track phi angle
OBJ: THaVar     R.tr.p  Track momentum (GeV)
OBJ: THaVar     R.tr.flag       Track status flag
OBJ: THaVar     R.tr.chi2       Track's chi2 from hits
OBJ: THaVar     R.tr.ndof       Track's NDoF

The following is in the "detector coordinate system".
This is also a TRANSPORT style system but Z is perpendicular
to the VDCs, i.e 45 degrees to the nominal beam direction.

OBJ: THaVar     R.tr.d_x        Detector x coordinate (m)
OBJ: THaVar     R.tr.d_y        Detector y coordinate (m)
OBJ: THaVar     R.tr.d_th       Detector tangent of theta
OBJ: THaVar     R.tr.d_ph       Detector tangent of phi

Rotated coordinates (for experts only)

OBJ: THaVar     R.tr.r_x        Rotated x coordinate (m)
OBJ: THaVar     R.tr.r_y        Rotated y coordinate (m)
OBJ: THaVar     R.tr.r_th       Rotated tangent of theta
OBJ: THaVar     R.tr.r_ph       Rotated tangent of phi

Here are quantities at the target. See also the "golden
track" above. Theta is vertical angle, phi is horizontal.
Y is in the scattering plane perpendicular to the direction,
with sign conventions: +Y is left of beam on Left HRS and
+Y is also left of beam on Right HRS.

OBJ: THaVar     R.tr.tg_y       Target y coordinate
OBJ: THaVar     R.tr.tg_th      Tangent of target theta angle
OBJ: THaVar     R.tr.tg_ph      Tangent of target phi angle
OBJ: THaVar     R.tr.tg_dp      Target delta
OBJ: THaVar     R.tr.px Lab momentum x (GeV)
OBJ: THaVar     R.tr.py Lab momentum y (GeV)
OBJ: THaVar     R.tr.pz Lab momentum z (GeV)
OBJ: THaVar     R.tr.vx Vertex x (m)
OBJ: THaVar     R.tr.vy Vertex y (m)
OBJ: THaVar     R.tr.vz Vertex z (m)
OBJ: THaVar     R.tr.pathl      Pathlength from tg to fp (m)
OBJ: THaVar     R.tr.time       Time of track@Ref Plane (s)
OBJ: THaVar     R.tr.dtime      uncer of time (s)
OBJ: THaVar     R.tr.beta       Beta of track
OBJ: THaVar     R.tr.dbeta      uncertainty of beta
OBJ: THaVar     R.status        Bits of completed analysis stages

OBJ: THaVar     R.trg.evtime    Time-offset for event (trg based)
OBJ: THaVar     R.trg.evtype    Earliest trg-bit for the event
OBJ: THaVar     R.trg.trgtimes  Times for each trg-type

III. VDC detector data. The planes are u1,u2,v1,v2.
Shown here is only u1.

OBJ: THaVar     R.vdc.u1.nhit   Number of hits
wire, rawtime, time are arrays.
OBJ: THaVar     R.vdc.u1.wire   Active wire numbers
OBJ: THaVar     R.vdc.u1.rawtime        Raw TDC values of wires
OBJ: THaVar     R.vdc.u1.time   TDC values of active wires
OBJ: THaVar     R.vdc.u1.dist   Drift distances
OBJ: THaVar     R.vdc.u1.ddist  Drft dist uncertainty
OBJ: THaVar     R.vdc.u1.trdist Dist. from track
OBJ: THaVar     R.vdc.u1.nclust Number of clusters
OBJ: THaVar     R.vdc.u1.clsiz  Cluster sizes
OBJ: THaVar     R.vdc.u1.clpivot        Cluster pivot wire num
OBJ: THaVar     R.vdc.u1.clpos  Cluster intercepts (m)
OBJ: THaVar     R.vdc.u1.slope  Cluster best slope
OBJ: THaVar     R.vdc.u1.lslope Cluster local (fitted) slope
OBJ: THaVar     R.vdc.u1.t0     Timing offset (s)
OBJ: THaVar     R.vdc.u1.sigsl  Cluster slope error
OBJ: THaVar     R.vdc.u1.sigpos Cluster position error (m)
OBJ: THaVar     R.vdc.u1.sigt0  Timing offset error (s)
OBJ: THaVar     R.vdc.u1.clchi2 Cluster chi2
OBJ: THaVar     R.vdc.u1.clndof Cluster NDoF
OBJ: THaVar     R.vdc.u1.cltcor Cluster Time correction

IV. Scintillator data for s1,s2 and sometimes s0 if it exists.
Shown here is only s1.

OBJ: THaVar     R.s1.nlthit     Number of Left paddles TDC times
OBJ: THaVar     R.s1.nrthit     Number of Right paddles TDC times
OBJ: THaVar     R.s1.nlahit     Number of Left paddles ADCs amps
OBJ: THaVar     R.s1.nrahit     Number of Right paddles ADCs amps

lt*, rt*, la*, ra* are arrays

OBJ: THaVar     R.s1.lt TDC values left side
OBJ: THaVar     R.s1.lt_c       Corrected times left side
OBJ: THaVar     R.s1.rt TDC values right side
OBJ: THaVar     R.s1.rt_c       Corrected times right side
OBJ: THaVar     R.s1.la ADC values left side
OBJ: THaVar     R.s1.la_p       Corrected ADC values left side
OBJ: THaVar     R.s1.la_c       Corrected ADC values left side
OBJ: THaVar     R.s1.ra ADC values right side
OBJ: THaVar     R.s1.ra_p       Corrected ADC values right side
OBJ: THaVar     R.s1.ra_c       Corrected ADC values right side
OBJ: THaVar     R.s1.nthit      Number of paddles with l&r TDCs
OBJ: THaVar     R.s1.t_pads     Paddles with l&r coincidence TDCs
OBJ: THaVar     R.s1.y_t        y-position from timing (m)
OBJ: THaVar     R.s1.y_adc      y-position from amplitudes (m)
OBJ: THaVar     R.s1.time       Time of hit at plane (s)
OBJ: THaVar     R.s1.dtime      Est. uncertainty of time (s)
OBJ: THaVar     R.s1.dedx       dEdX-like deposited in paddle
OBJ: THaVar     R.s1.troff      Trigger offset for paddles
OBJ: THaVar     R.s1.trn        Number of tracks for hits
OBJ: THaVar     R.s1.trx        x-position of track in det plane
OBJ: THaVar     R.s1.try        y-position of track in det plane
OBJ: THaVar     R.s1.trpath     TRCS pathlen of track to det plane
OBJ: THaVar     R.s1.trdx       track deviation in x-position (m)
OBJ: THaVar     R.s1.trpad      paddle-hit associated with track

V. Cherenkov detector

OBJ: THaVar     R.cer.nthit     Number of Left paddles TDC times
OBJ: THaVar     R.cer.nahit     Number of Right paddles TDC times
OBJ: THaVar     R.cer.t TDC values
OBJ: THaVar     R.cer.t_c       Corrected TDC values
OBJ: THaVar     R.cer.a ADC values
OBJ: THaVar     R.cer.a_p       Ped-subtracted ADC values 
OBJ: THaVar     R.cer.a_c       Corrected ADC values
OBJ: THaVar     R.cer.asum_p    Sum of ADC minus pedestal values
OBJ: THaVar     R.cer.asum_c    Sum of corrected ADC amplitudes
OBJ: THaVar     R.cer.trx       x-position of track in det plane
OBJ: THaVar     R.cer.try       y-position of track in det plane
OBJ: THaVar     R.cer.trpath    TRCS pathlen of track to det plane

VI. Preshower "ps". The variabls a,a_p,a_c are arrays.
The shower and pion rejectors are similar, but usually
replace "ps" by "sh", "prl1", "prl2" (conventional naming).

OBJ: THaVar     R.ps.nhit       Number of hits
OBJ: THaVar     R.ps.a  Raw ADC amplitudes
OBJ: THaVar     R.ps.a_p        Ped-subtracted ADC amplitudes
OBJ: THaVar     R.ps.a_c        Calibrated ADC amplitudes
OBJ: THaVar     R.ps.asum_p     Sum of ped-subtracted ADCs
OBJ: THaVar     R.ps.asum_c     Sum of calibrated ADCs
OBJ: THaVar     R.ps.nclust     Number of clusters
OBJ: THaVar     R.ps.e  Energy (MeV) of largest cluster
OBJ: THaVar     R.ps.x  x-position (cm) of largest cluster
OBJ: THaVar     R.ps.y  y-position (cm) of largest cluster
OBJ: THaVar     R.ps.mult       Multiplicity of largest cluster
OBJ: THaVar     R.ps.nblk       Numbers of blocks in main cluster
OBJ: THaVar     R.ps.eblk       Energies of blocks in main cluster
OBJ: THaVar     R.ps.trx        track x-position in det plane
OBJ: THaVar     R.ps.try        track y-position in det plane

Updated by Ole Hansen over 6 years ago · 1 revisions