StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StMuEmcHit.cxx
1 //###########################################################
2 // EMC Micro Event
3 // Author: Alexandre A. P. Suaide
4 // initial version 08/2001
5 //
6 // See README for details
7 //###########################################################
8 #include "StMuEmcHit.h"
9 
10 ClassImp(StMuEmcHit);
11 
12 StMuEmcHit::StMuEmcHit()
13  : TObject()
14 {
15 }
16 StMuEmcHit::~StMuEmcHit()
17 {
18 }
19 StMuEmcHit::StMuEmcHit(const StMuEmcHit &hit)
20  : TObject(hit)
21 {
22  mId=(short)hit.getId();
23  mAdc=(short)hit.getAdc();
24  mCalType=(char)hit.getCalType();
25  mEnergy=hit.getEnergy();
26 }
27 
28 
int getId() const
Return Module number.
Definition: StMuEmcHit.h:18
float getEnergy() const
Return Hit energy.
Definition: StMuEmcHit.h:21
int getAdc() const
Return ADC value.
Definition: StMuEmcHit.h:19