LDMX Software
HcalVetoResult.h
Go to the documentation of this file.
1
8#ifndef HCAL_EVENT_HCALVETORESULT_H_
9#define HCAL_EVENT_HCALVETORESULT_H_
10
11//----------//
12// ROOT //
13//----------//
14#include "TObject.h" //For ClassDef
15
16//----------//
17// LDMX //
18//----------//
19#include "Hcal/Event/HcalHit.h"
20
21namespace ldmx {
22
24 public:
26 HcalVetoResult() = default;
27
29 virtual ~HcalVetoResult() = default;
30
32 void Clear();
33
35 void Print() const;
36
38 bool passesVeto() const { return passesVeto_; };
39
42
48 void setVetoResult(const bool& passesVeto = true) {
50 }
51
57 void setMaxPEHit(const ldmx::HcalHit maxPEHit) { maxPEHit_ = maxPEHit; }
58
59 private:
62
64 bool passesVeto_{false};
65
66 ClassDef(HcalVetoResult, 2);
67
68}; // HcalVetoResult
69} // namespace ldmx
70
71#endif // HCAL_EVENT_HCALVETORESULT_H_
Class that stores Stores reconstructed hit information from the HCAL.
Stores reconstructed hit information from the HCAL.
Definition HcalHit.h:23
bool passesVeto_
Flag indicating whether the event passes the Hcal veto.
ldmx::HcalHit maxPEHit_
Reference to max PE hit.
void Print() const
Print out the object.
bool passesVeto() const
Checks if the event passes the Hcal veto.
virtual ~HcalVetoResult()=default
Destructor.
ldmx::HcalHit getMaxPEHit() const
void setVetoResult(const bool &passesVeto=true)
Sets whether the Hcal veto was passed or not.
void Clear()
Reset the object.
HcalVetoResult()=default
Constructor.
void setMaxPEHit(const ldmx::HcalHit maxPEHit)
Set the maximum PE hit.