1 #include "StMuRHICfPoint.h"
10 StMuRHICfPoint::~StMuRHICfPoint()
14 void StMuRHICfPoint::clear()
19 memset(mPointPos, 0,
sizeof(mPointPos));
20 memset(mPointEnergy, 0,
sizeof(mPointEnergy));
21 memset(mTowerSumEnergy, 0,
sizeof(mTowerSumEnergy));
24 void StMuRHICfPoint::setTowerIdx(Int_t val){mTowerIdx = val;}
25 void StMuRHICfPoint::setPID(Int_t pid){mParticleID = pid;}
26 void StMuRHICfPoint::setPointPos(Float_t x, Float_t y)
32 void StMuRHICfPoint::setPointEnergy(Float_t pid1, Float_t pid2)
34 mPointEnergy[0] = pid1;
35 mPointEnergy[1] = pid2;
38 void StMuRHICfPoint::setTowerSumEnergy(Float_t all, Float_t part)
40 mTowerSumEnergy[0] = all;
41 mTowerSumEnergy[1] = part;
44 Int_t StMuRHICfPoint::getTowerIdx(){
return mTowerIdx;}
45 Int_t StMuRHICfPoint::getPID(){
return mParticleID;}
46 Float_t StMuRHICfPoint::getPointPos(Int_t xy){
return mPointPos[xy];}
47 Float_t StMuRHICfPoint::getPointEnergy(Int_t particle){
return mPointEnergy[particle];}
48 Float_t StMuRHICfPoint::getTowerSumEnergy(Int_t order){
return mTowerSumEnergy[order];}