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
StTofMCSlat.h
1
5
/***************************************************************************
6
*
7
* $Id: StTofMCSlat.h,v 2.5 2003/05/21 18:23:18 ullrich Exp $
8
*
9
* Author: Wei-Ming Zhang, April 2001
10
***************************************************************************
11
*
12
* Description:
13
*
14
***************************************************************************
15
*
16
* $Log: StTofMCSlat.h,v $
17
* Revision 2.5 2003/05/21 18:23:18 ullrich
18
* Major Revision of ToF classes (F. Geurts)
19
*
20
* Revision 2.4 2002/02/22 22:56:52 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/27 21:43:18 ullrich
25
* Moved MC info class into separate file.
26
*
27
* Revision 2.2 2001/04/26 15:19:10 ullrich
28
* Added ClassDef and ClassImp macros.
29
*
30
* Revision 2.1 2001/04/26 01:07:42 ullrich
31
* Initial Revision.
32
*
33
**************************************************************************/
34
#ifndef StTofMCSlat_hh
35
#define StTofMCSlat_hh
36
37
#include "StTofSlat.h"
38
#include "StTofMCInfo.h"
39
40
class
StTofMCSlat
:
public
StTofSlat
{
41
public
:
42
StTofMCSlat
();
43
StTofMCSlat
(
const
StTofMCInfo
&);
44
~
StTofMCSlat
();
45
46
int
operator==(
const
StTofMCSlat
&)
const
;
47
int
operator!=(
const
StTofMCSlat
&)
const
;
48
49
const
StTofMCInfo
& mcInfo()
const
;
50
51
void
setMCInfo(
const
StTofMCInfo
&);
52
53
void
setNHits(
int
nHits);
54
void
setNPhe(
int
nPhe);
55
void
setDe(
float
de);
56
void
setDs(
float
ds);
57
void
setTof(
float
tof
);
58
59
protected
:
60
StTofMCInfo
mTofMCInfo;
61
62
ClassDef(
StTofMCSlat
,1)
63
};
64
65
inline
const
StTofMCInfo
&
66
StTofMCSlat::mcInfo()
const
67
{
68
return
mTofMCInfo;
69
}
70
71
inline
void
72
StTofMCSlat::setMCInfo(
const
StTofMCInfo
& MCInfo)
73
{
74
mTofMCInfo = MCInfo;
75
}
76
77
inline
void
78
StTofMCSlat::setNHits(
int
nHits)
79
{
80
mTofMCInfo.mNHits = nHits;
81
}
82
83
inline
void
84
StTofMCSlat::setNPhe(
int
nPhe)
85
{
86
mTofMCInfo.mNPhe = nPhe;
87
}
88
89
inline
void
90
StTofMCSlat::setDe(
float
de)
91
{
92
mTofMCInfo.mDe = de;
93
}
94
95
96
inline
void
97
StTofMCSlat::setDs(
float
ds)
98
{
99
mTofMCInfo.mDs = ds;
100
}
101
102
103
inline
void
104
StTofMCSlat::setTof(
float
tof
)
105
{
106
mTofMCInfo.mTof = tof;
107
}
108
109
ostream& operator<<(ostream& os,
const
StTofMCSlat
&);
110
#endif
StTofSlat
Definition:
StTofSlat.h:48
StTofMCInfo
Definition:
StTofMCInfo.h:33
tof
Definition:
tof.h:15
StTofMCSlat
Definition:
StTofMCSlat.h:40
Generated by
1.8.5