StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StRichMCHit.h
1 
5 /***************************************************************************
6  *
7  * $Id: StRichMCHit.h,v 2.5 2004/07/15 16:36:25 ullrich Exp $
8  *
9  * Author: Brian Lasiuk, May 2000
10  ***************************************************************************
11  *
12  * Description: Definition of the persistent MC Hit object
13  *
14  ***************************************************************************
15  *
16  * $Log: StRichMCHit.h,v $
17  * Revision 2.5 2004/07/15 16:36:25 ullrich
18  * Removed all clone() declerations and definitions. Use StObject::clone() only.
19  *
20  * Revision 2.4 2002/02/22 22:56:49 jeromel
21  * Doxygen basic documentation in all header files. None of this is required
22  * for QM production.
23  *
24  * Revision 2.3 2001/04/05 04:00:40 ullrich
25  * Replaced all (U)Long_t by (U)Int_t and all redundant ROOT typedefs.
26  *
27  * Revision 2.2 2001/03/24 03:34:55 perev
28  * clone() -> clone() const
29  *
30  * Revision 2.1 2000/05/22 21:44:32 ullrich
31  * Initial Revision
32  *
33  **************************************************************************/
34 #ifndef StRichMCHit_hh
35 #define StRichMCHit_hh
36 
37 #include "StRichHit.h"
38 #include "StRichMCInfo.h"
39 
40 class StRichMCHit : public StRichHit {
41 public:
42  StRichMCHit();
43  StRichMCHit(const StThreeVectorF& xg, const StThreeVectorF& dx);
44  StRichMCHit(const StThreeVectorF& xg, const StThreeVectorF& dx,
45  unsigned int hp, float q, float maxAdc, unsigned char tc);
46  StRichMCHit(const StThreeVectorF& xg, const StThreeVectorF& dx,
47  unsigned int hp, float q, float maxAdc, unsigned char tc,
48  StRichMCInfo& info);
49 
50  ~StRichMCHit();
51 
52  //StRichMCHit(const StRichMCHit&){}
53  //StRichMCHit& operator=(const StRichMCHit&){}
54 
55  void setMCInfo(const StRichMCInfo&);
56  const StRichMCInfo& getMCInfo() const;
57 
58 protected:
59  StRichMCInfo mInfo;
60 
61  ClassDef(StRichMCHit,1)
62 };
63 
64 inline const StRichMCInfo& StRichMCHit::getMCInfo() const { return mInfo; }
65 inline void StRichMCHit::setMCInfo(const StRichMCInfo& info) { mInfo = info;}
66 #endif