00001 /*************************************************************************** 00002 * 00003 * $Id: StTpcPixel.cxx,v 2.5 2004/08/06 15:37:43 fisyak Exp $ 00004 * 00005 * Author: Thomas Ullrich, July 1999 00006 *************************************************************************** 00007 * 00008 * Description: 00009 * 00010 *************************************************************************** 00011 * 00012 * $Log: StTpcPixel.cxx,v $ 00013 * Revision 2.5 2004/08/06 15:37:43 fisyak 00014 * Add clster id 00015 * 00016 * Revision 2.4 2004/04/26 16:33:35 fisyak 00017 * Make use of StTpcPixel 00018 * 00019 * Revision 2.3 2001/04/05 04:00:57 ullrich 00020 * Replaced all (U)Long_t by (U)Int_t and all redundant ROOT typedefs. 00021 * 00022 * Revision 2.2 1999/12/13 20:16:31 ullrich 00023 * Changed numbering scheme for hw_position unpack methods (STAR conventions). 00024 * 00025 * Revision 2.1 1999/10/13 19:45:32 ullrich 00026 * Initial Revision 00027 * 00028 **************************************************************************/ 00029 #include "StTpcPixel.h" 00030 00031 void StTpcPixel::Print(Option_t *option) const { 00032 cout << option << "\t" << *this << endl; 00033 } 00034 00035 static const char rcsid[] = "$Id: StTpcPixel.cxx,v 2.5 2004/08/06 15:37:43 fisyak Exp $"; 00036 ostream& operator<< (ostream& os, const StTpcPixel& m) 00037 { 00038 os << "d:" << (int) m.detector() 00039 << "/s:" << (int) m.sector() 00040 << "/r:" << (int) m.padrow() 00041 << "/p:" << (int) m.pad() 00042 << "/t:" << (int) m.timebin() 00043 << "/a:" << m.adc() 00044 << "/i:" << m.idTruth() 00045 << "/ClId:" << m.id() 00046 << endl; 00047 return os; 00048 } 00049 00050 00051 ClassImp(StTpcPixel)
1.5.9