StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StRichMCHit.cxx
1 /***************************************************************************
2  *
3  * $Id: StRichMCHit.cxx,v 2.4 2004/07/15 16:36:25 ullrich Exp $
4  *
5  * Author: Brian Lasiuk, May 2000
6  ***************************************************************************
7  *
8  * Description: Implementation of persistent Hit definition
9  *
10  ***************************************************************************
11  *
12  * $Log: StRichMCHit.cxx,v $
13  * Revision 2.4 2004/07/15 16:36:25 ullrich
14  * Removed all clone() declerations and definitions. Use StObject::clone() only.
15  *
16  * Revision 2.3 2001/04/05 04:00:52 ullrich
17  * Replaced all (U)Long_t by (U)Int_t and all redundant ROOT typedefs.
18  *
19  * Revision 2.2 2001/03/24 03:34:55 perev
20  * clone() -> clone() const
21  *
22  * Revision 2.1 2000/05/22 21:44:29 ullrich
23  * Initial Revision
24  *
25  **************************************************************************/
26 
27 #include "StRichMCHit.h"
28 
29 static const char rcsid[] = "$Id: StRichMCHit.cxx,v 2.4 2004/07/15 16:36:25 ullrich Exp $";
30 
31 ClassImp(StRichMCHit)
32 
33 StRichMCHit::StRichMCHit() {/* nopt */}
34 
35 StRichMCHit::StRichMCHit(const StThreeVectorF& xl, const StThreeVectorF& dx)
36  : StRichHit(xl, dx)
37 {
38  // This is used for off-line
39 }
40 
41 StRichMCHit::StRichMCHit(const StThreeVectorF& xg, const StThreeVectorF& dx,
42  unsigned int hp, float q, float maxAdc, unsigned char tc)
43  : StRichHit(xg,dx,hp,q,maxAdc,tc)
44 {
45  // For Storage in the StRichHitCollection
46 }
47 
48 StRichMCHit::StRichMCHit(const StThreeVectorF& xg, const StThreeVectorF& dx,
49  unsigned int hp, float q, float maxAdc, unsigned char tc,
50  StRichMCInfo& info)
51  : StRichHit(xg,dx,hp,q,maxAdc,tc), mInfo(info)
52 {
53  // For Storage in the StRichHitCollection
54 }
55 
56 StRichMCHit::~StRichMCHit() {/* noop */}