DataChallenge User Guide:  Recon Root

Introduction

To read reconstruction files, you need to use ROOT.  It is recommended that you use ROOT >= 3.04.06.

Recon Tree

The Recon tree has one branch, ReconEvent.  All of the reconstruction data is contained within this single branch.  

 

Method Definitions

ReconEvent

UInt_t getEventId( ) Returns the Event Id UInt_t
UInt_t getRunId( ) Returns the Run Id UInt_t
AcdRecon* getAcdRecon( ) Returns a pointer to the AcdRecon AcdRecon*
CalRecon* getCalRecon( ) Returns a pointer to the CalRecon CalRecon*
TkrRecon* getTkrRecon( ) Returns a pointer to the TkrRecon TkrRecon*

AcdRecon

Double_t getEnergy() Returns total energy deposited in the ACD system Double_t
Int_t getTileCount() Returns total number of ACD tiles above veto threshold Int_t
Double_t getGammaDoca() Returns the gamma DOCA (Distance of Closest Approach) Double_t
Double_t getDoca() Returns the min DOCA Double_t
Double_t getActiveDist() Returns minimum Active Distance for all tracks and ACD tiles above veto threshold Double_t
AcdId& getMinDocaId() Returns the Id of the Acd Tile associated with the minimum DOCA AcdId&
std::vector<Double_t>& getRowDocaCol() Returns a vector of doubles, containing the minimum DOCA associated with regions of the ACD (top, row0, row1, row2, row3) std::vector<Double_t>&
Double_t getRowDoca(UInt_t i) Returns the ith DOCA associated with a region Double_t
std::vector<Double_t>& getRowActDistCol() Returns a vector of doubles, containing the minimum Active Distance values associated with regions of the ACD (top, row0, row1, row2, row3) std::vector<Double_t>&
Double_t getRowActDist(UInt_t i) Returns the ith Active Distance associated with a region Double_t

CalRecon

TObjArray* getCalClusterCol( )   TObjArray* of CalCluster
TObjArray* getCalXtalRecCol( )   TObjArray* of CalXtalRecData

CalXtalRecData

const CalXtalId::CalTrigMode getMode( ) Returns the readout mode associated with this crystal const CalXtalId::CalTrigMode
const CalXtalId getPackedId( ) Returns the crystal identifier const CalXtalId
Char_t getRange(Short_t readoutIndex, CalXtalId::XtalFace face) Returns the range for a particular face and readout Char_t
Double_t getEnergy(Short_t readoutIndex, CalXtalId::XtalFace face) Returns the reconstructed energy associated with a particular face and readout of the crystal Double_t
Double_t getEnergy( ) Returns average energy of two faces for the best range Double_t
const TVector3& getPosition( ) Returns the position for the best range const TVector&
const CalRangeRecData* getRangeRecData(Short_t readoutIndex) Returns reconstructed data from both ends of selected readout const CalRangeRecData*
Double_t getEnergySelectedRange(CalXtalId::AdcRange range, CalXtalId::XtalFace face) Returns pulse height from selected range Double_t

CalRangeRecData

const TVector3& getPosition()   const TVector3&
Double_t getEnergy(CalXtalId::XtalFace face) Return energy associated with specified face Double_t
Char_t getRange(CalXtalId::XtalFace face) Returns range associated with specified face Char_t

CalCluster

Double_t getEnergySum( )   Double_t
Double_t getEnergyLeak( )   Double_t
Double_t getEnergyCorrected( ) Returns corrected energy Double_t
Double_t getEneLayer(int i)   Double_t
UInt_t getNumEneLayer( ) Number of elements in energy layer array UInt_t
const TVector3& getPosLayer(int i)   const TVector3&
UInt_t getNumPosLayer( ) Number of elements in position layer array UInt_t
const TVector3& getRmsLayer(int i)   const TVector3&
UInt_t getNumRmsLayer( ) Number of elements in RMS layer array UInt_t
const std::vector<Double_t>& getEneLayer( )   const std::vector<Double_t>&
const std::vector<TVector3>& getPosLayer( )   const std::vector<TVector3>&
const std::vector<TVector3>& getRmsLayer( )   const std::vector<TVector3>&
Double_t getRmsLong( )   Double_t
Double_t getRmsTrans( )   Double_t
Double_t getTransvOffset( )   Double_t
const TVector3& getPosition( )   const TVector3&
const TVector3& getDirection( )   const TVector3&
Double_t getFitEnergy( )   Double_t
Double_t getProfChisq( )   Double_t
Double_t getCsiAlpha( )   Double_t
Double_t getCsiLambda( )   Double_t
Double_t getCsiStart( )   Double_t

TkrRecon

TObjArray *getClusterCol() Returns the collection of clusters TObjArray* of TkrCluster
TObjArray *getTrackCandCol()  Returns the collection of candidate tracks TObjArray* of TkrCandTrack
TObjArray *getTrackCol() Returns the collection of reconstructed tracks TObjArray* of TkrKalFitTrack
TObjArray *getVertexCol() Returns the collection of vertices TObjArray* of TkrVertex

TkrCluster

getTower( ) Returns the tower number containing this cluster UInt_t
getId( ) Returns id of the cluster, sequential in order of construction UInt_t
getPlane( ) plane id: this is the bi-layer number, but ordered backwards (0 at front) UInt_t
getView( ) Returns orientation of cluster:
X = 0 measures X
Y = 1 measures Y
view
getFirstStrip( ) Returns the initial strip address of the cluster UInt_t
getLastStrip( ) Returns the final strip address of the cluster UInt_t
getToT( ) Returns Time Over Threshold for the cluster UInt_t
getChip( ) Returns the chip number, which is calculated using the strip id Int_t
getStrip( ) Returns center strip id in this cluster Double_t
getSize( ) Returns the size of this cluster Double_t
getPosition( ) Returns the position of the cluster const TVector3&
hitFlagged( ) returns true if the cluster has been flagged bool

TkrCandTrack

getId( )   UInt_t
getQuality( )   Double_t
getEnergy( )   Double_t
getLayer( )   UInt_t
getTower( )   UInt_t
getPosition( )   TVector3
getDirection( )   TVector3
getNumHits( )   UInt_t
getHitPlane(int idx)   const TkrCandHit&

TkrCandHit

getPosition( ) XYZ coordinates of this hit const TVector3&
getHitIndex( ) Index into TkrClusters for this hit UInt_t
getTower( ) Tower ID UInt_t
getPlane( ) Plane (layer) - TkrRecon convention UInt_t
getView( ) Primary measurement projection (X or Y) AXIS

TkrCovMat

getCovX0X0( )   Double_t
getCovX0Sx( )   Double_t
getCovX0Y0( )   Double_t
getCovX0Sy( )   Double_t
getCovSxX0( )   Double_t
getCovSxSx( )   Double_t
getCovSxY0( )   Double_t
getCovSxSy( )   Double_t
getCovY0X0( )   Double_t
getCovY0Sx( )   Double_t
getCovY0Y0( )   Double_t
getCovY0Sy( )   Double_t
getCovSyX0( )   Double_t
getCovSySx( )   Double_t
getCovSyY0( )   Double_t
getCovSySy( )   Double_t

TkrFitHit

getHitType( ) Type of fit track parameters contained TYPE
enum TYPE{MEAS, FIT, PRED, SMOOTH, UNKNOWN}
getTkrParams( ) Track parameters at this point const TkrParams&
getTkrCovMat( ) Covariance matrix associated with these parameters const TkrCovMat&

TkrHitPlane

getIdHit( ) index of cluster hit in TkrClusters UInt_t
getIdTower( ) Tower ID UInt_t
getIdPlane( ) Plane ID (TkrRecon convention) UInt_t
getProjection( ) X or Y measuring SSD AXIS
getProjPlus( ) same as projection but for next plane AXIS
getZplane( ) z-coordinate of this plane Double_t
getEnePlane( ) fitter energy at this plane Double_t
getRadLen( ) radiation lengths to this plane Double_t
getActiveDist( ) distance to edge of nearest active volume Double_t
getHitMeas( ) measured track parameters const TkrFitHit&
getHitPred( ) predicted track parameters const TkrFitHit&
getHitFit( ) "Fit" track parameters const TkrFitHit&
getHitSmooth( ) "Smoothed" track parameters const TkrFitHit&
getQmaterial( ) Covariance matrix due to multiple scatter const TkrCovMat&

TkrParams

getXPos( )   Double_t
getYPos( )   Double_t
getXSlope( )   Double_t
getYSlope( )   Double_t

TkrKalFitTrack

getQuality( )   Double_t
getEnergy(TKREND end)   Double_t
getLayer(TKREND end)   UInt_t
getTower(TKREND end)   UInt_t
getTrackPar(TKREND end)   const TkrParams*
getTrackParZ(TKREND end)   Double_t
getTrackCov(TKREND end)   const TkrCovMat*
status( )   Status
getType( )   UInt_t
getId( )   UInt_t
getChiSquare( )   Double_t
getChiSquareSmooth( )   Double_t
getScatter( )   Double_t
getKalEnergy( )   Double_t
getKalThetaMS( )   Double_t
getKalEnergyError( )   Double_t
getNumGaps( )   UInt_t
getNumXGaps( )   UInt_t
getNumYGaps()   UInt_t
getXFirstGaps()   UInt_t
getYFirstGaps()   UInt_t
getInitialPosition( )   TVector3
getInitialDirection( )   TVector3
getStartEnergy( )   Double_t
getNumSegmentPoints( )   UInt_t
getChiSquareSegment( )   Double_t
getNumXHits( )   UInt_t
getNumYHits( )   UInt_t
getTkrCalRadlen( )   Double_t
getEndHit(TKREND end)   const TkrHitPlane*
getNumHits( )   UInt_t
getHitPlane(int idx)   const TkrHitPlane*

TkrVertex

getId( )   Int_t
getQuality( )   Double_t
getEnergy( )   Double_t
getLayer( )   Int_t
getTower( )   Int_t
getPosition( )   const TVector3&
getDirection( )   const TVector3&
getTrackPar( )   const TkrParams&
getTrackParZ( )    Double_t
getTrackCov( )   const TkrCovMat&
getNumTracks( )   UInt_t
getTrackId(UInt_t idx)   UInt_t

H. Kelly Last Modified:  2003-12-03 13:40:31 -0800