LDMX Software
TrackerVetoResult.h
Go to the documentation of this file.
1
7#ifndef TRACKER_EVENT_TRACKERVETORESULTS_H_
8#define TRACKER_EVENT_TRACKERVETORESULTS_H_
9
10// ROOT
11#include <iostream>
12
13#include "TObject.h" //ClassDef
14
15namespace ldmx {
16
22 public:
27
31 virtual ~TrackerVetoResult() = default;
32
36 void Clear();
37
41 void Print() const;
42
44 bool passesVeto() const { return passes_veto_; };
45
47 bool passesTaggerVeto() const { return passes_tagger_veto_; };
48
50 bool passesRecoilVeto() const { return passes_recoil_veto_; };
51
57 void setVetoResult(bool passes_veto) { passes_veto_ = passes_veto; }
58
64 void setTaggerVetoResult(bool passes_tagger_veto) {
65 passes_tagger_veto_ = passes_tagger_veto;
66 }
67
73 void setRecoilVetoResult(bool passes_recoil_veto) {
74 passes_recoil_veto_ = passes_recoil_veto;
75 }
76
77 private:
78 /* Boolean to store if the veto is passed */
79 bool passes_veto_{false};
80
81 bool passes_tagger_veto_{false};
82
83 bool passes_recoil_veto_{false};
84
85 ClassDef(TrackerVetoResult, 1);
86};
87} // namespace ldmx
88
89#endif
Class that holds reco-level tracking veto decision.
void Print() const
Print the TrackerVetoResult object.
bool passesRecoilVeto() const
Checks if the event passes the Recoil Tracker veto.
virtual ~TrackerVetoResult()=default
Class destructor.
void setRecoilVetoResult(bool passes_recoil_veto)
Sets whether the Recoil Tracker veto was passed or not.
TrackerVetoResult()
Class constructor.
bool passesTaggerVeto() const
Checks if the event passes the Tagger Tracker veto.
void setTaggerVetoResult(bool passes_tagger_veto)
Sets whether the Tagger Tracker veto was passed or not.
void Clear()
Reset the TrackerVetoResult object.
bool passesVeto() const
Checks if the event passes the Tracker veto.
void setVetoResult(bool passes_veto)
Sets whether the Tracker veto was passed or not.