1#ifndef TRIGGER_EVENT_TRIGENERGYSUM_H_
2#define TRIGGER_EVENT_TRIGENERGYSUM_H_
18typedef std::vector<TrigEnergySum> TrigEnergySumCollection;
71 void setLayer(
int layer) {
layer_ = layer; }
72 int layer()
const {
return layer_; }
74 void setModule(
int module) { module_ =
module; }
75 int module()
const {
return module_; }
77 void setEnergy(
float energy) { energy_ = energy; }
78 float energy()
const {
return energy_; }
80 void setHwEnergy(
int hwEnergy) { hwEnergy_ = hwEnergy; }
81 int hwEnergy()
const {
return hwEnergy_; }
114 friend std::ostream &
operator<<(std::ostream &o,
115 const TrigEnergySumCollection &c);
Contains the trigger output for generic calo objects.
void Print() const
Print a description of this object.
ClassDef(TrigEnergySum, 1)
ROOT Dictionary class definition macro.
bool operator<(const TrigEnergySum &sum)
Sort the collection to trig digis by the raw ID.
TrigEnergySum()=default
Default Constructor.
int layer_
the raw ID for this trigger channel
virtual ~TrigEnergySum()=default
Destructor.
friend std::ostream & operator<<(std::ostream &o, const TrigEnergySum &d)
Stream the input digi.