LDMX Software
|
Public Member Functions | |
HcalVetoResult ()=default | |
Constructor. | |
virtual | ~HcalVetoResult ()=default |
Destructor. | |
void | Clear () |
Reset the object. | |
void | Print () const |
Print out the object. | |
bool | passesVeto () const |
Checks if the event passes the Hcal veto. | |
ldmx::HcalHit | getMaxPEHit () const |
float | getTotalPE () const |
float | getNumValidHits () const |
void | setVetoResult (const bool &passes_veto=true) |
Sets whether the Hcal veto was passed or not. | |
void | setMaxPEHit (const ldmx::HcalHit max_PE_hit) |
Set the maximum PE hit. | |
void | setTotalPE (const float total_PE) |
Set the total number of PE. | |
void | setNumValidHits (const float num_valid_hits) |
Set the number of valid hits. | |
Private Member Functions | |
ClassDef (HcalVetoResult, 3) | |
Private Attributes | |
ldmx::HcalHit | max_PE_hit_ |
Reference to max PE hit. | |
float | total_PE_ {0.0} |
int | num_valid_hits_ {0} |
bool | passes_veto_ {false} |
Flag indicating whether the event passes the Hcal veto. | |
Definition at line 23 of file HcalVetoResult.h.
void ldmx::HcalVetoResult::Clear | ( | ) |
Reset the object.
Definition at line 17 of file HcalVetoResult.cxx.
References passes_veto_.
|
inline |
Definition at line 41 of file HcalVetoResult.h.
References max_PE_hit_.
Referenced by framework::test::TestAnalyzer::analyze().
|
inline |
Definition at line 47 of file HcalVetoResult.h.
|
inline |
Definition at line 44 of file HcalVetoResult.h.
|
inline |
Checks if the event passes the Hcal veto.
Definition at line 38 of file HcalVetoResult.h.
References passes_veto_.
Referenced by framework::test::TestAnalyzer::analyze(), and framework::test::TestProducer::produce().
void ldmx::HcalVetoResult::Print | ( | ) | const |
Print out the object.
Definition at line 19 of file HcalVetoResult.cxx.
References max_PE_hit_, passes_veto_, and ldmx::HcalHit::Print().
|
inline |
Set the maximum PE hit.
max_PE_hit | The maximum PE HcalHit |
Definition at line 63 of file HcalVetoResult.h.
References max_PE_hit_.
Referenced by framework::test::TestProducer::produce(), hcal::HcalVetoProcessor::produce(), and hcal::HcalWABVetoProcessor::produce().
|
inline |
Set the number of valid hits.
num_valid_hits | The number of valid hits |
Definition at line 77 of file HcalVetoResult.h.
Referenced by hcal::HcalVetoProcessor::produce().
|
inline |
Set the total number of PE.
total_PE | The maximum PE HcalHit |
Definition at line 70 of file HcalVetoResult.h.
Referenced by hcal::HcalVetoProcessor::produce().
|
inline |
Sets whether the Hcal veto was passed or not.
passes_veto | Veto result. |
Definition at line 54 of file HcalVetoResult.h.
References passes_veto_.
Referenced by framework::test::TestProducer::produce(), hcal::HcalVetoProcessor::produce(), and hcal::HcalWABVetoProcessor::produce().
|
private |
Reference to max PE hit.
Definition at line 83 of file HcalVetoResult.h.
Referenced by getMaxPEHit(), Print(), and setMaxPEHit().
|
private |
Definition at line 89 of file HcalVetoResult.h.
|
private |
Flag indicating whether the event passes the Hcal veto.
Definition at line 92 of file HcalVetoResult.h.
Referenced by Clear(), passesVeto(), Print(), and setVetoResult().
|
private |
Definition at line 86 of file HcalVetoResult.h.