StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StTofMCHit.cxx
1 /***************************************************************************
2  *
3  * $Id: StTofMCHit.cxx,v 2.3 2004/07/15 16:36:25 ullrich Exp $
4  *
5  * Author: Wei-Ming Zhang, April 2001
6  ***************************************************************************
7  *
8  * Description:
9  *
10  ***************************************************************************
11  *
12  * $Log: StTofMCHit.cxx,v $
13  * Revision 2.3 2004/07/15 16:36:25 ullrich
14  * Removed all clone() declerations and definitions. Use StObject::clone() only.
15  *
16  * Revision 2.2 2003/05/21 18:22:46 ullrich
17  * Major Revision of ToF classes (F. Geurts)
18  *
19  * Revision 2.1 2001/04/26 01:07:42 ullrich
20  * Initial Revision.
21  *
22  **************************************************************************/
23 #include "StTofMCHit.h"
24 
25 static const char rcsid[] = "$Id: StTofMCHit.cxx,v 2.3 2004/07/15 16:36:25 ullrich Exp $";
26 
27 ClassImp(StTofMCHit)
28 
29 StTofMCHit::StTofMCHit() {/* noop */}
30 
31 StTofMCHit::~StTofMCHit() {/* noop */}
32 
33 ostream&
34 operator<<(ostream& os, const StTofMCHit& hit)
35 {
36  return (os << "StTofMCHit::> " << ", trayId= "
37  << hit.trayIndex() << ", moduleId= "
38  << hit.moduleIndex() << ", cell= " << hit.cellIndex()
39  << ", trkId= " << hit.trkId()
40  << ", GeantId= " << hit.gId());
41 }