8#ifndef HCAL_EVENT_HCALVETORESULT_H_
9#define HCAL_EVENT_HCALVETORESULT_H_
70 void setTotalPE(
const float total_PE) { total_pe_ = total_PE; }
78 num_valid_hits_ = num_valid_hits;
89 int num_valid_hits_{0};
Class that stores Stores reconstructed hit information from the HCAL.
Stores reconstructed hit information from the HCAL.
float getNumValidHits() const
friend std::ostream & operator<<(std::ostream &o, const HcalVetoResult &d)
Print out the object.
void setVetoResult(const bool &passes_veto=true)
Sets whether the Hcal veto was passed or not.
bool passesVeto() const
Checks if the event passes the Hcal veto.
void setTotalPE(const float total_PE)
Set the total number of PE.
virtual ~HcalVetoResult()=default
Destructor.
void setNumValidHits(const float num_valid_hits)
Set the number of valid hits_.
bool passes_veto_
Flag indicating whether the event passes the Hcal veto.
ldmx::HcalHit getMaxPEHit() const
ldmx::HcalHit max_pe_hit_
Reference to max PE hit.
void setMaxPEHit(const ldmx::HcalHit max_PE_hit)
Set the maximum PE hit.
HcalVetoResult()=default
Constructor.
void clear()
Reset the object.