17 TrigCaloHit(
float position_x,
float position_y,
float position_z,
22 bool operator<(
const TrigCaloHit &h) {
return energy_ < h.energy_; }
34 void setEnergy(
float energy) { energy_ = energy; }
35 void setXYZ(
float position_x,
float position_y,
float position_z) {
36 position_x_ = position_x;
37 position_y_ = position_y;
38 position_z_ = position_z;
40 void setLayer(
int layer) { layer_ = layer; }
41 void setStrip(
int strip) { strip_ = strip; }
42 void setModule(
int module) { module_section_ =
module; }
43 void setSection(
int module_section) { module_section_ = module_section; }
45 float positionX()
const {
return position_x_; }
46 float positionY()
const {
return position_y_; }
47 float positionZ()
const {
return position_z_; }
48 float energy()
const {
return energy_; }
50 int layer()
const {
return layer_; }
51 int strip()
const {
return strip_; }
52 int module()
const {
return module_section_; }
53 int section()
const {
return module_section_; }
62 int module_section_{0};