53 void addHits(
const std::vector<const ldmx::CalorimeterHit*> hitsVec);
72 void setIDs(std::vector<unsigned int>& hitIDs) { hitIDs_ = hitIDs; }
74 void setHitValsX(std::vector<float>& x) { hitX_ = x; }
75 void setHitValsY(std::vector<float>& x) { hitY_ = x; }
76 void setHitValsZ(std::vector<float>& x) { hitZ_ = x; }
77 void setHitValsE(std::vector<float>& x) { hitE_ = x; }
90 void setRMSXYZ(
double x,
double y,
double z) {
95 void setDXDZ(
double x) { DXDZ_ = x; }
97 void setDYDZ(
double x) { DYDZ_ = x; }
99 void setEDXDZ(
double x) { errDXDZ_ = x; }
101 void setEDYDZ(
double x) { errDYDZ_ = x; }
106 double getEnergy()
const {
return energy_; }
109 int getNHits()
const {
return nHits_; }
112 double getCentroidX()
const {
return centroidX_; }
113 double getCentroidY()
const {
return centroidY_; }
114 double getCentroidZ()
const {
return centroidZ_; }
115 double getRMSX()
const {
return rmsX_; }
116 double getRMSY()
const {
return rmsY_; }
117 double getRMSZ()
const {
return rmsZ_; }
119 double getDXDZ()
const {
return DXDZ_; }
121 double getDYDZ()
const {
return DYDZ_; }
123 double getEDXDZ()
const {
return errDXDZ_; }
125 double getEDYDZ()
const {
return errDYDZ_; }
128 const std::vector<unsigned int>& getHitIDs()
const {
return hitIDs_; }
131 const std::vector<float>& getHitX()
const {
return hitX_; }
132 const std::vector<float>& getHitY()
const {
return hitY_; }
133 const std::vector<float>& getHitZ()
const {
return hitZ_; }
134 const std::vector<float>& getHitE()
const {
return hitE_; }
137 return this->getEnergy() < rhs.getEnergy();
141 std::vector<unsigned int> hitIDs_;
144 double centroidX_{0};
145 double centroidY_{0};
146 double centroidZ_{0};
154 std::vector<float> hitX_;
155 std::vector<float> hitY_;
156 std::vector<float> hitZ_;
157 std::vector<float> hitE_;