StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
EEsmdHitDst.cxx
1 #include <StMessMgr.h>
2 #include <cassert>
3 
4 
5 #include "EEsmdHitDst.h"
6 
7 ClassImp(EEsmdHitDst);
8 
9 //---------------------------------
10 //---------------------------------
11 //---------------------------------
12 EEsmdHitDst::EEsmdHitDst(){mEnergy=-1; mStrip=-1;};
13 
14 //---------------------------------
15 //---------------------------------
16 //---------------------------------
17 EEsmdHitDst::~EEsmdHitDst() {};
18 
19 
20 //---------------------------------
21 //---------------------------------
22 //---------------------------------
23 void EEsmdHitDst::get(int &strip, Float_t &ener) {
24  strip=mStrip;
25  ener=mEnergy;
26 }
27 
28 //---------------------------------
29 //---------------------------------
30 //---------------------------------
31 void EEsmdHitDst::set(int strip, Float_t ener) {
32  mStrip=strip; assert(mStrip>=1 && mStrip<=288);
33  mEnergy=ener;
34 }
35 
36 //---------------------------------
37 //---------------------------------
38 //---------------------------------
39 void EEsmdHitDst::print(){
40  // LOG_INFO << Form("EEsmdHitDst::print(): strip=%d Energy=%f ",mStrip,mEnergy)<<endm;
41 }
42 
43 
44 
45 
46 
47 
48