This is TikiWiki 1.9.7 -Sirius- © 2002–2006 by the Tiki community Wed 30 of Apr, 2025 [13:24 UTC]
Menu [hide]
Toggle  Wiki
Toggle  Blogs
Toggle  Forums
Toggle  Charts
TikiWiki Assistant
Thank you for installing TikiWiki!
Click the :: options in the Menu for more options. Please, also see TikiMovies for more setup details.

History: BigBite Tracking and Drift Chamber Global Variables

Preview of version: 1

Coordinate Systems

There are three coordinate systems used:

Lab Coordinates - Hall coordinate system where y goes against gravity, z is in the direction of the beam, and x is to the left when looking down the beam

Target Coordinates - Origin at the center of the target. x goes with gravity, z is parallel to the ground in the direction towards the center of the BigBite drift chambers. y is to the left looking down z

Detector Coordinates - Origin specified by center of the first
plane of the drift chambers. x is "down" in the dispersion direction, z is in the nominal direction of particles such that z = 0 is defined by the first plane of the chamber. y is defined so we have a right handed coordinate system.

General Global Variables
Global variables defined that are not specifically associated with the BigBite or Neutron Spectrometer arms.

Run and Event Information
tagdescription
g.runnumRun Number
g.runtypeCODA run type
g.runtimeCODA run time
g.evnumEvent Number
g.evtypEvent Type
g.evlenEvent Length
g.helicityBeam Helicity
g.timestampTime Stamp


MWDC Plane Variables

Global variables associated with the individual chamber planes have labels of the form B.dc..tag. For example, the number of hits in plane v2 can be accessed using the label B.dc.v2.nhit.

(THaMWDCHit) TClonesArray* fHits

An fHits array is created for each chamber plane and contains the wire hit information for that plane.

tag size default note defining function description
nhit [1] NULL 1 THaMWDCPlane::Decode Number of hits
wire [nhit] NA THaMWDCPlane::Decode wire
rawtime [nhit] NA THaMWDCPlane::Decode Raw TDC time of hit
time [nhit] NA 2 THaMWDCPlane::Decode Drift time (nsec)
offset [nhit] 0.0 THaMWDCPlane::Decode TDC offset parameter (nsec)
myref[nhit] 0.0 THaMWDCPlane::Decode Time of reference chan (nsec)
dist[nhit] 0.0 ?
track [nhit] -1 ?
showercut[nhit]FALSE THaMWDC::ConstructTracks Boolean value if hit passed shower cuts


Note 1: To be added into the fHits array, the wire number must be valid. If the no neg ativ e flag is TRUE, the time must be between fMinTime and fMaxTime

Note 2: The driftime is computed as time = rawtime(T DC calibration)-T DC Of f set-Ref erenceC hannelT ime If the reference channel time is not valid, it is not subtracted off, but the hit is stored and fRefOkay is set to FALSE.

Double t fRawT[nWires], fCorT[nWires], fRefT[nRefWires], and Int t fTCounter[nWires]

Array sizes set to be the number of wires in the plane and map to the wire number. The index of the array is the wire number.

tag size default note defining function description
rawtimeof[nWires] -1e35 THaMWDCPlane::Decode Raw TDC Time
cortimeof[nWires] -1e35 THaMWDCPlane::Decode Drift time (nsec)
NumHitsof[nWires] 0 THaMWDCPlane::Decode Number of hits on this wire
reftimeof[nRefWires] -2e35 THaMWDCPlane::Decode Time of reference channel (nsec)


Additional Plane Data
tag size default note defining function description
refchokay[1] true THaMWDCPlane::Decode All reference channels in plane are OK


BigBite Variables

Global variables associated with the BigBIte tracks are of the form B.tag.

(THaTrack) TClonesArray* fTracks

An fTracks array is created in the THaSpectrometer class. The tracks are defined in the BigBite detectorframe coordinate system with x towards higher momentum (downwards) z perpendicular to the wire chamber planes in the direction of the particle's momentum and y determined by a right-handed coordinate system. The x- and y- intercepts are defined at z=0. (The first chamber plane.)

Basic Tracking Variables
tag size default note defining function description
tr.n [1] NULL THaMWDC::ConstructTracks Number of tracks found
tr.x [tr.n] NA THaMWDC::ConstructTracks Track X in detector coords at z=0 in meters
tr.y [tr.n] NA THaMWDC::ConstructTracksTrack Y in detector coords at z=0 in meters
tr.xp[tr.n] NA THaMWDC::ConstructTracks Track slope dx/dz (tangent theta) in detector coords
tr.yp [tr.n] NA THaMWDC::ConstructTracksTrack slope dy/dz (tanget phi) in detector coords
tr.chi2[tr.n] NA THaMWDC::ConstructTracks Chi squared (not reduced)
tr.ndof[tr.n] NA THaMWDC::ConstructTracks Number of degrees of freedom


Extended Tracking Variables
tag size default note defining function description
B.tr.ptr.nNA THaMWDC::FindVertices Track momentum magnitude (GeV/c)
B.tr.pxtr.nNA THaMWDC::FindVertices Track momentum magnitude (GeV/c) times directional cosine in x direction in Lab Coordinates
B.tr.pytr.nNA THaMWDC::FindVertices Track momentum magnitude (GeV/c) times directional cosine in y direction in Lab Coordinates
B.tr.pztr.nNA THaMWDC::FindVertices Track momentum magnitude (GeV/c) times directional cosine in y direction in Lab Coordinates
B.tr.vxtr.nNA THaMWDC::FindVertices Track vertex x coord in lab coordinates (meters)
B.tr.vytr.nNA THaMWDC::FindVertices Track vertex y coord in lab coordinates (meters)
B.tr.vztr.nNA THaMWDC::FindVertices Track vertex z coord in lab coordinates (meters)
B.tr.fT.xtr.nNA THaMWDC::FindVertices Front track (before magnet interaction) x coordinate at z=0 in target coordinates (meters)
B.tr.fT.ytr.nNA THaMWDC::FindVertices Front track y coordinate at z=0 in target coordinates (meters)
B.tr.fT.xptr.nNA THaMWDC::FindVertices Front track slope dx/dz (tangent theta) in target coords
B.tr.fT.yptr.nNA THaMWDC::FindVertices Front track slope dy/dz (tangent phi) in target coords
B.tr.defangtr.nNA THaMWDC::FindVertices Deflection angle (radians)
B.tr.beam.xtr.nNA THaMWDC::FindVertices Track x coordinate at beam z in detector coords (meters)
B.tr.beam.ytr.nNA THaMWDC::FindVertices Track y coordinate at beam z in detector coords (meters)
B.tr.beam.ztr.nNA THaMWDC::FindVertices Track z coordinate at beam z in detector coords (meters)


Coarse Tracking Variables

B.ctr.*

These variables are identical to those above for B.tr.*, however, they are calculated using the coarse tracks. They are available when the SaveCoarseTracks() function is called in the THaBBe class.

History

Legend: v=view, s=source
Date User IpComment Version Action
Thu 25 of Jan, 2007 [20:30 UTC] riordan128.2.112.124  14
current
 v  s
Thu 25 of Jan, 2007 [20:28 UTC] riordan128.2.112.124  13  v  s  
Thu 25 of Jan, 2007 [19:21 UTC] riordan128.2.112.124  12  v  s  
Thu 25 of Jan, 2007 [19:16 UTC] riordan128.2.112.124  11  v  s  
Mon 18 of Dec, 2006 [21:16 UTC] feuerbac129.57.122.44change category to just GEn::BigBite 10  v  s  
Fri 18 of Aug, 2006 [20:29 UTC] riordan128.2.112.124  9  v  s  
Fri 18 of Aug, 2006 [02:15 UTC] nerses129.57.122.43Just assigned to the GEn category 8  v  s  
Thu 17 of Aug, 2006 [20:10 UTC] riordan128.2.112.124  7  v  s  
Thu 17 of Aug, 2006 [19:47 UTC] riordan128.2.112.124  6  v  s  
Thu 17 of Aug, 2006 [19:19 UTC] riordan128.2.112.124  5  v  s  
Thu 17 of Aug, 2006 [19:18 UTC] riordan128.2.112.124  4  v  s  
Thu 17 of Aug, 2006 [19:09 UTC] riordan128.2.112.124  3  v  s  
Thu 17 of Aug, 2006 [19:08 UTC] riordan128.2.112.124  2  v  s  
Thu 17 of Aug, 2006 [19:06 UTC] riordan128.2.112.124  1  v  s  

Search
in:
Powered by TikiWiki Powered by PHP Powered by Smarty Powered by ADOdb Made with CSS Powered by RDF powered by The PHP Layers Menu System
RSS Wiki RSS Blogs rss Articles RSS Image Galleries RSS File Galleries RSS Forums
[ Execution time: 0.30 secs ]   [ Memory usage: 6.67MB ]   [ 61 database queries used ]   [ GZIP Enabled ]   [ Server load: 1.20 ]