StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StMcSsdHit.cc
1 /***************************************************************************
2  *
3  * $Id: StMcSsdHit.cc,v 2.6 2011/10/17 00:24:00 fisyak Exp $
4  * $Log: StMcSsdHit.cc,v $
5  * Revision 2.6 2011/10/17 00:24:00 fisyak
6  * Add time of flight for hits
7  *
8  * Revision 2.5 2005/11/22 21:44:52 fisyak
9  * Add compress Print for McEvent, add Ssd collections
10  *
11  * Revision 2.4 2005/09/29 01:01:10 calderon
12  * Fixed bugs in printing event and hit information.
13  * Format operator<< for various classes.
14  *
15  * Revision 2.3 2005/09/28 21:30:15 fisyak
16  * Persistent StMcEvent
17  *
18  * Revision 2.2 2005/01/27 23:40:47 calderon
19  * Adding persistency to StMcEvent as a step for Virtual MonteCarlo.
20  *
21  * Revision 2.1 2004/09/14 05:00:30 calderon
22  * Added support for Ist, Ssd and changes to Pixel, from "El Kai".
23  *
24  * Revision 2.2 2003/12/02 21:22:03 calderon
25  * remove unnecessary #include "StMcTrack.hh"
26  *
27  * Revision 2.1 2003/08/20 18:50:21 calderon
28  * Addition of Tof classes and Ssd classes. Modified track, event, and
29  * container code to reflect this.
30  * Fix bug in StMcVertex and in clearing of some hit collections.
31  *
32  *
33  **************************************************************************/
34 #include "StMcSsdHit.hh"
35 
36 static const char rcsid[] = "$Id: StMcSsdHit.cc,v 2.6 2011/10/17 00:24:00 fisyak Exp $";
37 
38 ClassImp(StMcSsdHit);
39 
40 ostream& operator<<(ostream& os, const StMcSsdHit& h)
41 {
42  os << "SsdHit" << endl;
43  os << *((StMcHit *) &h);
44  os << "Ladder : " << h.ladder()
45  << "\twafer : " << h.wafer()
46  << endl;
47  return os;
48 }
49 
50 //________________________________________________________________________________
51 void StMcSsdHit::Print(Option_t *option) const {cout << *this;}