Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

TkrHit.cxx

Go to the documentation of this file.
00001 #include "reconRootData/TkrHit.h"
00002 #include "reconRootData/TkrSiCluster.h"
00003 #include "reconRootData/TkrLocator.h"
00004 
00005 ClassImp(TkrHit)
00006 
00007 TkrHit::TkrHit() {
00008     // default constructor
00009     m_residual = 0.0f;    // residual of the silicon cluster
00010     m_chi2 = 0.0f;        // chi**2
00011 
00012     m_cluster = 0;
00013     m_locator = 0;
00014 }
00015 
00016 
00017 TkrHit::~TkrHit() {
00018     Clean();
00019 }
00020 
00021 void TkrHit::Clean() {
00022     // not deleting the TkrSiCluster, since it's
00023     // probably pointing into a list of TkrSiClusters
00024 
00025     // Should I be deleting this?  Maybe not...it could be
00026     // a TkrLocator in the list of TkrLocators used for a
00027     // particular track????
00028     if (m_locator) {
00029         delete m_locator;
00030         m_locator = 0;
00031     }
00032 
00033     m_residual = 0.0f;    // residual of the silicon cluster
00034     m_chi2 = 0.0f;        // chi**2
00035 }
00036 
00037 void TkrHit::Create() {
00038 }

Generated at Wed Nov 21 12:20:18 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000