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
StMuDSTMaker
COMMON
StMuEmcHit.h
1
6
#ifndef StMuEmcHit__h
7
#define StMuEmcHit__h
8
9
#include "TObject.h"
10
11
class
StMuEmcHit
:
public
TObject
12
{
13
public
:
14
StMuEmcHit
();
15
StMuEmcHit
(
const
StMuEmcHit
&);
16
virtual
~
StMuEmcHit
();
17
18
int
getId
()
const
{
return
(
int
)mId; }
19
int
getAdc
()
const
{
return
(
int
)mAdc; }
20
int
getCalType()
const
{
return
(
int
)mCalType; }
21
float
getEnergy
()
const
{
return
mEnergy; }
22
23
void
setId(
int
id
) { mId = (short)
id
;}
24
void
setAdc(
int
a) { mAdc = (short)a;}
25
void
setCalType(
int
a) { mCalType = (char)a;}
26
void
setEnergy(
float
e){ mEnergy = e;}
27
28
protected
:
29
float
mEnergy;
30
short
mId;
31
short
mAdc;
32
char
mCalType;
33
34
ClassDef(
StMuEmcHit
,2)
35
};
36
#endif
StMuEmcHit::getId
int getId() const
Return Module number.
Definition:
StMuEmcHit.h:18
StMuEmcHit::getEnergy
float getEnergy() const
Return Hit energy.
Definition:
StMuEmcHit.h:21
StMuEmcHit::getAdc
int getAdc() const
Return ADC value.
Definition:
StMuEmcHit.h:19
StMuEmcHit
Definition:
StMuEmcHit.h:11
Generated by
1.8.5