StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StMcPxlHit.cc
1 /***************************************************************************
2  *
3  * $Id: StMcPxlHit.cc,v 2.1 2013/03/25 23:50:35 perev Exp $
4  * $Log: StMcPxlHit.cc,v $
5  * Revision 2.1 2013/03/25 23:50:35 perev
6  * Mustafa.Pxl add
7  *
8  *
9  **************************************************************************/
10 #include "StMcPxlHit.hh"
11 #include "tables/St_g2t_pix_hit_Table.h"
12 
13 static const char rcsid[] = "$Id: StMcPxlHit.cc,v 2.1 2013/03/25 23:50:35 perev Exp $";
14 
15 #ifdef POOL
16 StMemoryPool StMcPixelHit::mPool(sizeof(StMcPixelHit));
17 #endif
18 ClassImp(StMcPxlHit);
19 ostream& operator<<(ostream& os, const StMcPxlHit& h)
20 {
21  os << "PxlHit" << endl;
22  os << *((StMcHit *) &h);
23  os << "Layer : " << h.sector() << endl;
24  os << "Ladder : " << h.ladder() << endl;
25  os << "Sensor : " << h.sensor() << endl;
26  return os;
27 }
28 
29 //________________________________________________________________________________
30 void StMcPxlHit::Print(Option_t *option) const
31 {
32  cout << *this << endl;
33 }
34 
35 /***************************************************************************
36  *
37  * $Id: StMcPxlHit.cc,v 2.1 2013/03/25 23:50:35 perev Exp $
38  * $Log: StMcPxlHit.cc,v $
39  * Revision 2.1 2013/03/25 23:50:35 perev
40  * Mustafa.Pxl add
41  *
42  * Revision 2.10 2011/10/17 00:24:00 fisyak
43  * Add time of flight for hits
44  *
45  * Revision 2.9 2009/02/06 15:56:46 fisyak
46  * Jonathan: decoding for upgr15 geometry
47  *
48  * Revision 2.8 2006/11/17 16:54:58 didenko
49  * fixes from Willie for upgr05
50  *
51  * Revision 2.7 2005/11/22 21:44:52 fisyak
52  * Add compress Print for McEvent, add Ssd collections
53  *
54  * Revision 2.6 2005/09/29 01:01:10 calderon
55  * Fixed bugs in printing event and hit information.
56  * Format operator<< for various classes.
57  *
58  * Revision 2.5 2005/09/28 21:30:15 fisyak
59  * Persistent StMcEvent
60  *
61  * Revision 2.4 2005/01/27 23:40:47 calderon
62  * Adding persistency to StMcEvent as a step for Virtual MonteCarlo.
63  *
64  * Revision 2.3 2004/09/14 05:00:30 calderon
65  * Added support for Ist, Ssd and changes to Pixel, from "El Kai".
66  *
67  * Revision 2.2 2003/12/02 21:22:03 calderon
68  * remove unnecessary #include "StMcTrack.hh"
69  *
70  * Revision 2.1 2003/08/20 18:50:21 calderon
71  * Addition of Tof classes and Pixel classes. Modified track, event, and
72  * container code to reflect this.
73  * Fix bug in StMcVertex and in clearing of some hit collections.
74  *
75  *
76  **************************************************************************/