2 #include "EEtwHitDst.h"
9 EEtwHitDst::EEtwHitDst(){mEnergy=-1; mEta=-1;};
14 EEtwHitDst::~EEtwHitDst() {};
20 void EEtwHitDst::get(
char &sub,
int &eta, Float_t &ener) {
29 void EEtwHitDst::set(
char sub,
int eta, Float_t ener) {
31 mSubSec=sub; assert(mSubSec>=
'A' && mSubSec<=
'E');
32 mEta=eta; assert(mEta>=1 && mEta<=12);
39 void EEtwHitDst::print(){
40 printf(
"sub=%c etaBin=%d Energy=%f \n",mSubSec,mEta,mEnergy);