StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StMcRichHit.cc
1 /***************************************************************************
2  *
3  * $Id: StMcRichHit.cc,v 2.8 2011/10/17 00:24:00 fisyak Exp $
4  * $Log: StMcRichHit.cc,v $
5  * Revision 2.8 2011/10/17 00:24:00 fisyak
6  * Add time of flight for hits
7  *
8  * Revision 2.7 2005/09/28 21:30:15 fisyak
9  * Persistent StMcEvent
10  *
11  * Revision 2.6 2005/01/27 23:40:47 calderon
12  * Adding persistency to StMcEvent as a step for Virtual MonteCarlo.
13  *
14  * Revision 2.5 2003/12/02 21:22:03 calderon
15  * remove unnecessary #include "StMcTrack.hh"
16  *
17  * Revision 2.4 2000/06/06 02:58:41 calderon
18  * Introduction of Calorimeter classes. Modified several classes
19  * accordingly.
20  *
21  * Revision 2.3 2000/05/05 15:25:43 calderon
22  * Reduced dependencies and made constructors more efficient
23  *
24  * Revision 2.2 2000/04/18 00:55:14 calderon
25  * added printout of local momentum to operator<<
26  *
27  * Revision 2.1 2000/03/06 18:05:21 calderon
28  * 1) Modified SVT Hits storage scheme from layer-ladder-wafer to
29  * barrel-ladder-wafer.
30  * 2) Added Rich Hit class and collection, and links to them in other
31  * classes.
32  *
33  *
34  **************************************************************************/
35 #include "StMcRichHit.hh"
36 
37 static const char rcsid[] = "$Id: StMcRichHit.cc,v 2.8 2011/10/17 00:24:00 fisyak Exp $";
38 ClassImp(StMcRichHit);
39 
40 ostream& operator<<(ostream& os, const StMcRichHit& h)
41 {
42  os << "RichHit\t" << *((StMcHit *) &h)
43  << "\tPad:" << h.pad()
44  << " Row:" << h.row()
45  << " T. of Flight:" << h.tof();
46  return os;
47 }