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 |
void | setVetoResult (const bool &passesVeto=true) |
Sets whether the Hcal veto was passed or not. | |
void | setMaxPEHit (const ldmx::HcalHit maxPEHit) |
Set the maximum PE hit. | |
Private Member Functions | |
ClassDef (HcalVetoResult, 2) | |
Private Attributes | |
ldmx::HcalHit | maxPEHit_ |
Reference to max PE hit. | |
bool | passesVeto_ {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 passesVeto_.
|
inline |
Definition at line 41 of file HcalVetoResult.h.
References maxPEHit_.
Referenced by framework::test::TestAnalyzer::analyze().
|
inline |
Checks if the event passes the Hcal veto.
Definition at line 38 of file HcalVetoResult.h.
References passesVeto_.
Referenced by framework::test::TestAnalyzer::analyze(), framework::test::TestProducer::produce(), and setVetoResult().
void ldmx::HcalVetoResult::Print | ( | ) | const |
Print out the object.
Definition at line 19 of file HcalVetoResult.cxx.
References maxPEHit_, passesVeto_, and ldmx::HcalHit::Print().
|
inline |
Set the maximum PE hit.
maxPEHit | The maximum PE HcalHit |
Definition at line 57 of file HcalVetoResult.h.
References maxPEHit_.
Referenced by framework::test::TestProducer::produce(), hcal::HcalVetoProcessor::produce(), and hcal::HcalWABVetoProcessor::produce().
|
inline |
Sets whether the Hcal veto was passed or not.
passesVeto | Veto result. |
Definition at line 48 of file HcalVetoResult.h.
References passesVeto(), and passesVeto_.
Referenced by framework::test::TestProducer::produce(), hcal::HcalVetoProcessor::produce(), and hcal::HcalWABVetoProcessor::produce().
|
private |
Reference to max PE hit.
Definition at line 61 of file HcalVetoResult.h.
Referenced by getMaxPEHit(), Print(), and setMaxPEHit().
|
private |
Flag indicating whether the event passes the Hcal veto.
Definition at line 64 of file HcalVetoResult.h.
Referenced by Clear(), passesVeto(), Print(), and setVetoResult().