25 double GetTime() {
return time_; }
27 const TLorentzVector& centroid()
const {
return centroid_; }
29 void SetCentroidPxPyPzE(
double newCentroidX,
double newCentroidY,
30 double newCentroidZ,
double newE) {
31 centroid_.SetPxPyPzE(newCentroidX, newCentroidY, newCentroidZ, newE);
34 void SetTime(
double t) { time_ = t; }
36 std::vector<const ldmx::HcalHit*> getHits()
const {
return hits_; }
40 bool empty()
const {
return hits_.empty(); }
42 void clear() { hits_.clear(); }
45 std::vector<const ldmx::HcalHit*> hits_;
46 TLorentzVector centroid_;