LDMX Software
VisiblesVetoResult.h
1/*
2 *@file VisiblesVetoResult.h
3 *@brief Class used to encapsulate the results obstained
4 from VisiblesVetoProcessor
5 *@author Tyler Horoho, University of Virginia
6 */
7
8#ifndef EVENT_VISIBLESVETORESULT_H_
9#define EVENT_VISIBLESVETORESULT_H_
10
11#include <iostream>
12
13// ROOT //
14#include <TObject.h>
15
16namespace ldmx {
17
19 public:
22
24 virtual ~VisiblesVetoResult();
25
26 void setVariables(int n_layers_hit, double x_std, double y_std, double z_std,
27 double x_mean, double y_mean, double r_mean, int iso_hits,
28 double iso_energy, int n_readout_hits, double summed_det,
29 double r_mean_from_photon_track);
30
31 friend std::ostream& operator<<(std::ostream& s,
33
34 void clear();
35
36 bool passesVeto() const { return passes_veto_; }
37
38 double getDisc() const { return disc_value_; }
39
40 int getNLayersHit() const { return n_layers_hit_; }
41
42 double getXStd() const { return x_std_; }
43
44 double getYStd() const { return y_std_; }
45
46 double getZStd() const { return z_std_; }
47
48 double getXMean() const { return x_mean_; }
49
50 double getYMean() const { return y_mean_; }
51
52 double getRMean() const { return r_mean_; }
53
54 int getIsoHits() const { return iso_hits_; }
55
56 double getIsoEnergy() const { return iso_energy_; }
57
58 int getNReadoutHits() const { return n_readout_hits_; }
59
60 double getSummedDet() const { return summed_det_; }
61
62 double getDistFromPhotonTrack() const { return r_mean_from_photon_track_; }
63
64 private:
65 bool passes_veto_{false};
66
67 int n_layers_hit_{0};
68 double x_std_{0};
69 double y_std_{0};
70 double z_std_{0};
71 double x_mean_{0};
72 double y_mean_{0};
73 double r_mean_{0};
74 int iso_hits_{0};
75 double iso_energy_{0};
76 int n_readout_hits_{0};
77 double summed_det_{0};
78 double r_mean_from_photon_track_{0};
79
80 double disc_value_{0};
81
82 ClassDef(VisiblesVetoResult, 1);
83};
84} // namespace ldmx
85
86#endif
virtual ~VisiblesVetoResult()
Destructor.