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
StTofMCCell.h
1
/***************************************************************************
2
*
3
* $Id: StTofMCCell.h,v 2.1 2003/05/21 18:24:20 ullrich Exp $
4
*
5
* Author: F. Geurts, May 2003
6
***************************************************************************
7
*
8
* Description:
9
*
10
***************************************************************************
11
*
12
* $Log: StTofMCCell.h,v $
13
* Revision 2.1 2003/05/21 18:24:20 ullrich
14
* Initial Revision.
15
*
16
**************************************************************************/
17
#ifndef StTofMCCell_hh
18
#define StTofMCCell_hh
19
20
#include "StTofCell.h"
21
#include "StTofMCInfo.h"
22
23
class
StTofMCCell
:
public
StTofCell
{
24
public
:
25
StTofMCCell
();
26
StTofMCCell
(
const
StTofMCInfo
&);
27
~
StTofMCCell
();
28
29
int
operator==(
const
StTofMCCell
&)
const
;
30
int
operator!=(
const
StTofMCCell
&)
const
;
31
32
const
StTofMCInfo
& mcInfo()
const
;
33
34
void
setMCInfo(
const
StTofMCInfo
&);
35
36
void
setNHits(
int
nHits);
37
void
setNPhe(
int
nPhe);
38
void
setDe(
float
de);
39
void
setDs(
float
ds);
40
void
setTof(
float
tof
);
41
42
protected
:
43
StTofMCInfo
mTofMCInfo;
44
45
ClassDef(
StTofMCCell
,1)
46
};
47
48
inline
const
StTofMCInfo
&
49
StTofMCCell::mcInfo()
const
50
{
51
return
mTofMCInfo;
52
}
53
54
inline
void
55
StTofMCCell::setMCInfo(
const
StTofMCInfo
& MCInfo)
56
{
57
mTofMCInfo = MCInfo;
58
}
59
60
inline
void
61
StTofMCCell::setNHits(
int
nHits)
62
{
63
mTofMCInfo.mNHits = nHits;
64
}
65
66
inline
void
67
StTofMCCell::setNPhe(
int
nPhe)
68
{
69
mTofMCInfo.mNPhe = nPhe;
70
}
71
72
inline
void
73
StTofMCCell::setDe(
float
de)
74
{
75
mTofMCInfo.mDe = de;
76
}
77
78
79
inline
void
80
StTofMCCell::setDs(
float
ds)
81
{
82
mTofMCInfo.mDs = ds;
83
}
84
85
86
inline
void
87
StTofMCCell::setTof(
float
tof
)
88
{
89
mTofMCInfo.mTof = tof;
90
}
91
92
ostream& operator<<(ostream& os,
const
StTofMCCell
&);
93
94
#endif
StTofCell
Definition:
StTofCell.h:51
StTofMCCell
Definition:
StTofMCCell.h:23
StTofMCInfo
Definition:
StTofMCInfo.h:33
tof
Definition:
tof.h:15
Generated by
1.8.5