| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

STChannelID.cpp

Go to the documentation of this file.
00001 // $Id: STChannelID.cpp,v 1.2 2009/01/22 11:42:40 mneedham Exp $
00002 
00003 // local
00004 #include "Kernel/STChannelID.h"
00005 #include <sstream>
00006 
00007 //-----------------------------------------------------------------------------
00008 // Implementation file for class : STChannelID
00009 //
00010 // 2007-08-11 : M Needham
00011 //-----------------------------------------------------------------------------
00012 
00013 std::string  LHCb::STChannelID::toString() const{
00014   std::ostringstream o;
00015   fillStream(o);
00016   return o.str();
00017 }
00018 
00019 std::ostream& LHCb::STChannelID::fillStream(std::ostream& s) const
00020 {
00021   s << "{ ";
00022   if ( isTT() ) s << "TT ";
00023   if ( isIT() ) s << "IT ";
00024   s << "STChannelID : " << channelID()
00025     << " : type=" << type()
00026     << " strip=" << strip()
00027     << " sector=" << sector()
00028     << " detRegion=" << detRegion()
00029     << " layer=" << layer()
00030     << " station=" << station();
00031   return s << " }";
00032 }
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:03:13 2011 for LHCbKernel by doxygen 1.4.7