00001 #include "reconRootData/TkrSiCluster.h" 00002 00003 00004 ClassImp(TkrSiCluster) 00005 00006 TkrSiCluster::TkrSiCluster() { 00007 // default constructor 00008 m_id = 0; // id of the cluster 00009 m_layer = 0; // layer 00010 m_xy = X; // x-y layer 00011 00012 m_centerStrip = 0; // center strip of the cluster HMA ?: why is this a float? 00013 m_numStrips = 0; // number of strips 00014 00015 m_position = 0.0f; // strip position 00016 m_z = 0.0f; // z position (HMA Question: z position of the layer???) 00017 } 00018 00019 TkrSiCluster::TkrSiCluster(UInt_t id) { 00020 // non-default constructor 00021 m_id = id; // id of the cluster 00022 m_layer = 0; // layer 00023 m_xy = X; // x-y layer 00024 00025 m_centerStrip = 0; // center strip of the cluster HMA ?: why is this a float? 00026 m_numStrips = 0; // number of strips 00027 00028 m_position = 0.0f; // strip position 00029 m_z = 0.0f; // z position 00030 } 00031 00032 00033 TkrSiCluster::~TkrSiCluster() { 00034 Clean(); 00035 } 00036 00037 void TkrSiCluster::Clean() { 00038 m_id = 0; // id of the cluster 00039 m_layer = 0; // layer 00040 m_xy = X; // x-y layer 00041 00042 m_centerStrip = 0; // center strip of the cluster HMA ?: why is this a float? 00043 m_numStrips = 0; // number of strips 00044 00045 m_position = 0.0f; // strip position 00046 m_z = 0.0f; // z position (HMA Question: z position of the layer???) 00047 }
1.2.3 written by Dimitri van Heesch,
© 1997-2000