00001 // $Id: ITMeasurement.cpp,v 1.1.1.1 2005/04/07 20:24:28 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 const STDetectionLayer* ITLay = geom.layer( ITChan ); 00027 m_measure = ITLay->U( ITChan ) + m_cluster->distToStripCenter() ; 00028 m_errMeasure = m_cluster->distToStripError(); 00029 m_z = ITLay->centerZ( ITChan ); 00030 // m_stereoAngle = ITLay->stereoAngle(); 00031 // m_lhcbID = 00032 } 00033 00034 //=============================================================================