1#ifndef TRIGGER_EVENT_TRIGCALOHIT_H
2#define TRIGGER_EVENT_TRIGCALOHIT_H
11typedef std::vector<TrigCaloHit> TrigCaloHitCollection;
21 TrigCaloHit(
float x,
float y,
float z,
float e = 0);
25 bool operator<(
const TrigCaloHit &h) {
return e_ < h.e_; }
34 void setEnergy(
float e) { e_ = e; }
35 void setXYZ(
float x,
float y,
float z) {
41 float x() {
return x_; }
42 float y() {
return y_; }
43 float z() {
return z_; }
44 float e() {
return e_; }
45 float energy() {
return e_; }
Class for calo hits used in trigger computations.
ClassDef(TrigCaloHit, 1)
ROOT Dictionary class definition macro.