StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
FtfBaseHit.cxx
1 //:>------------------------------------------------------------------
2 //: FILE: FtfBaseHit.cxx
3 //: HISTORY:
4 //: 1sep1999 ppy first version
5 //:<------------------------------------------------------------------
6 //:>------------------------------------------------------------------
7 //: CLASS: FtfBaseHit
8 //: DESCRIPTION: Functions associated with this class
9 //: AUTHOR: ppy - Pablo Yepes, yepes@physics.rice.edu
10 //:>------------------------------------------------------------------
11 #include "Stl3Util/ftf/FtfBaseHit.h"
12 
13 
14 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
15 //
16 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
17 void FtfBaseHit::print ( ) { print (11) ; } ;
18 void FtfBaseHit::print ( int point_level )
19 {
20 
21  if ( point_level > 9 )
22  printf ( "hit Row x y z\n" ) ;
23 
24  if ( fmod((float)point_level,10.) > 0 )
25  printf ( "%3d %2d %6.2f %6.2f %6.2f \n",
26  id, row, x, y, z ) ;
27 }