00001 00002 // $Id: ANtpTrackInfo.h,v 1.11 2007/02/26 17:50:53 litchfld Exp $ 00003 // 00004 // A class to hold information about an event in an analysis ntuple 00005 // 00006 // B. Rebel 1/2005 00008 #ifndef ANTPTRACKINFO_H 00009 #define ANTPTRACKINFO_H 00010 00011 #include "TObject.h" 00012 00013 class ANtpTrackInfo : public TObject 00014 { 00015 00016 public: 00017 ANtpTrackInfo(); 00018 virtual ~ANtpTrackInfo(); 00019 00020 void Reset(); 00021 00022 //the following variables are standard for every analysis 00023 Int_t planes; //number of planes in track 00024 Int_t totalStrips; //number of strips in track 00025 Float_t pulseHeight; //total pulse height in track 00026 Float_t fitMomentum; //p/q from fit 00027 Float_t rangeMomentum; //momentum from range 00028 Float_t sigmaQoverP; //error on q/p from fit 00029 Int_t begPlane; //first plane in track 00030 Int_t endPlane; //last plane in track 00031 Int_t begPlaneU; //first U plane in track 00032 Int_t endPlaneU; //last U plane in track 00033 Int_t begPlaneV; //first V plane in track 00034 Int_t endPlaneV; //last V plane in track 00035 Float_t length; //length of the track 00036 Float_t vtxX; //x position of the vertex 00037 Float_t vtxY; //y position of the vertex 00038 Float_t vtxZ; //z position of the vertex 00039 Float_t dcosXVtx; //x direction cosine of the vertex 00040 Float_t dcosYVtx; //y direction cosine of the vertex 00041 Float_t dcosZVtx; //z direction cosine of the vertex 00042 Float_t endX; //x position of the track end point 00043 Float_t endY; //y position of the track end point 00044 Float_t endZ; //z position of the track end point 00045 Float_t dcosXEnd; //x direction cosine of track end point 00046 Float_t dcosYEnd; //y direction cosine of track end point 00047 Float_t dcosZEnd; //z direction cosine of track end point 00048 Float_t reducedChi2; //reduced chi^2 of the track fit 00049 Int_t passedFit; //flag for whether track passed fitter internal checks, 0 = false, 1 = true 00050 Float_t traceVtx; //shortest distance from vertex to an edge of the detector 00051 Float_t traceVtxZ; //delta in z from vertex to projected entrance location 00052 Float_t traceEnd; //shortest distance from end to an edge of the detector 00053 Float_t traceEndZ; //delta in z from end to projected exit location 00054 Int_t stripsPerPlane[500]; //array holding number of strips hit on each plane 00055 Float_t endMetersToBeam; //distance to the center of the beam 00056 Float_t endMetersToCoil; //distance to the center of the coil hole 00057 Float_t endMetersToCloseEdge; //distance to nearest edge (in XY) 00058 //(of full plane outline in ND) 00059 Float_t vtxMetersToBeam; //distance to the center of the beam 00060 Float_t vtxMetersToCoil; //distance to the center of the coil hole 00061 Float_t vtxMetersToCloseEdge; //distance to nearest edge (in XY) 00062 //(of partial plane outline in ND) 00063 00064 Double_t forwardRMS; //RMS of forward going (v_z = c) z-t(?)fit 00065 Double_t backwardRMS; //RMS of backward going (v_z = -c) z-t(?)fit 00066 00067 00068 00069 private: 00070 00071 00072 ClassDef(ANtpTrackInfo, 7) //ANtpTrackInfo 00073 }; 00074 00075 #endif // ANTPTRACKINFO_H 00076 00077
1.3.9.1