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 "FtfBaseHit.h"
12 
13 #include "FtfGeneral.h"
14 #include "rtsLog.h"
15 
16 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
17 //
18 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
19 void FtfBaseHit::print ( ) { print (11) ; } ;
20 void FtfBaseHit::print ( int point_level )
21 {
22 
23  if ( point_level > 9 )
24  LOG(NOTE, "hit Row x y z\n" ) ;
25 
26  if ( fmod((double)point_level,10.) > 0 )
27  LOG(NOTE, "%3d %2d %6.2f %6.2f %6.2f \n",
28  id, row, x, y, z ) ;
29 }