Main Page   Namespace List   Compound List   File List   Compound Members   File Members  

package EngineeringModelRoot

v0r2

Author:
Xin Chen

Introduction

This package contains codes to generate ntuple for I&T/SVAC. The package includes following executables/scripts

Definition of SVAC ntuple

Variable name Meaning
Run run number taken from DigiEvent.h
Event event number taken from DigiEvent.h
GltWord trigger word. Not valid for EM1 data as there were no GASU, should be valid for LAT integration data
EvtTime Time stamp taken from DigiEvent.h, this may change when new LDF definition is available.
EvtSecond event time
EvtNanoSecond event time
EvtUpperTime event time (this will change)
EvtLowerTime event time (this will change)
EvtSummary summary word for each event. For detailed explaination, see onLine document at http://www-glast.slac.stanford.edu/IntegrationTest/ONLINE/docs/LATcom.pdf, Chapter 3.5
Run and Event variable

Variable name Meaning
McSeqNo sequence number
McId PDG id for primary MC particle. For example: e-(11), e+(-11), gamma(22), mu-(13), mu+(-13)
McTotalEnergy total energy of the particle including it's mass
McX0 x coordinate of origin of the particle
McY0 y coordinate of origin of the particle
McZ0 z coordinate of origin of the particle
McXDir true x direction of the primary particle
McYDir true y direction of the primary particle
McZDir true z direction of the primary particle
McConvPointX x coordinate of photon conversion point
McConvPointY y coordinate of photon conversion point
McConvPointZ z coordinate of photon conversion point
McCalEneSum MC sum of energies deposited in each crystal
McTkr1Ene MC energy of first track if there is a pair production
McTkr2Ene MC energy of second track if there is a pair production
McConvAngle Opening angle of e+/e- pair if there is a pair production
MC variable

Variable name Meaning
VtxX0 x coordinate of first(best) vertex
VtxY0 y coordinate of first(best) vertex
VtxZ0 z coordinate of first(best) vertex
VtxXDir x direction in first vertex. If there are two tracks associated with the vertex, then it is averged over direction of the two tracks; Otherwise, it is just direction of the track.
VtxYDir y direction in first vertex. If there are two tracks associated with the vertex, then it is averged over direction of the two tracks; Otherwise, it is just direction of the track.
VtxZDir z direction in first vertex. If there are two tracks associated with the vertex, then it is averged over direction of the two tracks; Otherwise, it is just direction of the track.
Vtx1NumTkrs number of tracks associated with first vertex
Vertex variable

Variable name Meaning
TkrNumDigis number of TKR digis. Normally a digi is produced whenver there is a strip hit in a silicon plane.
TkrNumStrips[tower][layer][view] A 3 dimension array which describes number of strips in every tower, layer and view. View=0 refers to measure X while View=1 refers to measure Y
tot[tower][layer][view][end] A 4 dimension array which describes tot value at every tower, layer, view and end. End=0 refers to low end with stripId from 0 to 768 while end=1 refers to high end with stripId from 768 to 1536. Normally division is at middle of the plane, however this could be changed during real data taking.
totCorrL[tower][layer][view][end] A 4 dimension array which describes corrected tot value at every tower, layer, view and end, using Hiro's linear correction formula. At the moment only valid for EM1 data.
totCorrQ[tower][layer][view][end] A 4 dimension array which describes corrected tot value at every tower, layer, view and end, using Hiro's quadratic correction formula. At the moment only valid for EM1 data.
TkrNumClusters[tower][layer][view] A 3 dimension array which describes number of clusters at every tower, layer and view. View=0 refers to measure X while View=1 refers to measure Y.
TkrNumTracks number of reconstructed tracks
TkrNumVertices number of reconstructed vertices
EvtEnergySumOpt Energy stored in first vertex
Tkr1NumHits number of clusters in first track
Tkr2NumHits number of clusters in second track
Tkr1Chisq chi square of first track
Tkr2Chisq chi square of second track
Tkr1ChisqS smoothed chi square of first track
Tkr2ChisqS smoothed chi square of second track
Tkr1Rms rms value of first track
Tkr2Rms rms value of second track
Tkr1KalThetaMs muiltiple scattering angle of first track calculated by Kalman filter
Tkr2KalThetaMs muiltiple scattering angle of second track calculated by Kalman filter
Tkr1KalEne energy of first track calculated by Kalman filter
Tkr2KalEne energy of second track calculated by Kalman filter
TkrTopTot[tower] A one dimension array which describes tot value at the top hit layer for each tower. The value is actually the maximum of 4 tot values at the biPlane.
Tkr1ConvTot[tower] A one dimension array which describes tot value at the layer of the first vertex. The value is actually the maximum of 4 tot values at the biPlane.
TkrTp[tower][tp] A two dimension array which describes tracker trigger primitive for each tower. For detailed description, please see onLine document at http://www-glast.slac.stanford.edu/IntegrationTest/ONLINE/docs/TEM.pdf, chapter 4.3
TkrReq[tower][layer][view][end] A 4 dimension array which describes tracker trigger request. For example: TkrReq[8][7][0][0]=1 means trigger request was sent from tower 8, layer 7, measure X and lower end of the tray. End=0 refers to low end with stripId from 0 to 768 while end=1 refers to high end with stripId from 768 to 1536. Normally division is at middle of the plane, however this could be changed during real data taking.
TKR variable

Variable name Meaning
CalEneSum sum of energies in each crystal
CalXEcentr x coordinate of centroid of CAL cluster
CalXEcentr x coordinate of centroid of CAL cluster
CalYEcentr y coordinate of centroid of CAL cluster
CalZEcentr z coordinate of centroid of CAL cluster
CalXtalEne[tower][layer][col] measured energy in a single crystal at each tower, layer and column
CalMaxEne maximal measured energy in a single crystal
CalNumHit[tower] A one dimension array which describes number of crystals in each tower with measured energy larger than zero suppression threshold
CalTp[tower][tp] A two dimension array which describes calorimeter trigger primitive for each tower. For detailed description, please see onLine document at http://www-glast.slac.stanford.edu/IntegrationTest/ONLINE/docs/TEM.pdf, chapter 4.3
CalReq[tower][layer][end] A 4 dimension array which describes calorimeter trigger request. For example: CalReq[8][7][0]=1 means trigger request was sent from tower 8, layer 7 and end 0. End=0 refers to low end with stripId from 0 to 768 while end=1 refers to high end with stripId from 768 to 1536. Normally division is at middle of the plane, however this could be changed during real data taking.
CAL variable


Generated on Wed Aug 4 15:23:43 2004 for EngineeringModelRoot by doxygen1.3-rc3