00001 // $Id: ITMeasurement.cpp,v 1.2 2005/05/13 13:09:08 erodrigu Exp $ 00002 // Include files 00003 00004 #include "STDet/STDetectionLayer.h" 00005 00006 // local 00007 #include "Event/ITMeasurement.h" 00008 00009 //----------------------------------------------------------------------------- 00010 // Implementation file for class : ITMeasurement 00011 // 00012 // 2005-04-07 : Jose Hernando, Eduardo Rodrigues 00013 // Author: Rutger van der Eijk 00014 // Created: 07-04-1999 00015 //----------------------------------------------------------------------------- 00016 00017 //============================================================================= 00018 // Standard constructor, initializes variables 00019 //============================================================================= 00020 ITMeasurement::ITMeasurement( ITCluster& itCluster, 00021 DeSTDetector& geom ) { 00022 00023 m_cluster = &itCluster; //pointer to ITCluster 00024 00025 ITChannelID ITChan = m_cluster->channelID(); 00026 00027 // set the LHCbID 00028 setLhcbID ( LHCbID( ITChan ) ); 00029 00030 const STDetectionLayer* ITLay = geom.layer( ITChan ); 00031 m_measure = ITLay->U( ITChan ) + m_cluster->distToStripCenter() ; 00032 m_errMeasure = m_cluster->distToStripError(); 00033 m_z = ITLay->centerZ( ITChan ); 00034 // m_stereoAngle = ITLay->stereoAngle(); 00035 // m_lhcbID = 00036 } 00037 00038 //=============================================================================