StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
StEvent
StTofMCHit.h
1
5
/***************************************************************************
6
*
7
* $Id: StTofMCHit.h,v 2.5 2004/07/15 16:36:25 ullrich Exp $
8
*
9
* Author: Wei-Ming Zhang, April 2001
10
***************************************************************************
11
*
12
* Description:
13
*
14
***************************************************************************
15
*
16
* $Log: StTofMCHit.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 2003/09/02 17:58:06 perev
21
* gcc 3.2 updates + WarnOff
22
*
23
* Revision 2.3 2003/05/21 18:22:46 ullrich
24
* Major Revision of ToF classes (F. Geurts)
25
*
26
* Revision 2.2 2002/02/22 22:56:51 jeromel
27
* Doxygen basic documentation in all header files. None of this is required
28
* for QM production.
29
*
30
* Revision 2.1 2001/04/26 01:07:42 ullrich
31
* Initial Revision.
32
*
33
**************************************************************************/
34
#ifndef StTofMCHit_hh
35
#define StTofMCHit_hh
36
37
#include <
Stiostream.h
>
38
#include "StTofHit.h"
39
40
class
StTofMCHit
:
public
StTofHit
{
41
public
:
42
StTofMCHit
();
43
~
StTofMCHit
();
44
45
int
trkId()
const
;
46
int
gId()
const
;
47
48
void
setTrkId(Int_t);
49
void
setGId(Int_t);
50
51
protected
:
52
Int_t mTrkId;
53
Int_t mGId;
54
55
ClassDef(
StTofMCHit
,2)
56
};
57
58
inline
void
59
StTofMCHit::setTrkId(
int
trkId)
60
{
61
mTrkId = trkId;
62
}
63
64
inline
void
65
StTofMCHit::setGId(
int
gId)
66
{
67
mGId = gId;
68
}
69
70
inline
int
71
StTofMCHit::trkId()
const
72
{
73
return
mTrkId;
74
}
75
76
inline
int
77
StTofMCHit::gId()
const
78
{
79
return
mGId;
80
}
81
82
//non-members
83
ostream& operator<<(ostream&,
const
StTofMCHit
&);
84
85
#endif
StTofMCHit
Definition:
StTofMCHit.h:40
Stiostream.h
StTofHit
Definition:
StTofHit.h:61
Generated by
1.8.5