LDMX Software
ldmx::VisiblesVetoResult Class Reference

Public Member Functions

 VisiblesVetoResult ()
 Constructor.
 
virtual ~VisiblesVetoResult ()
 Destructor.
 
void setVariables (int n_layers_hit, double x_std, double y_std, double z_std, double x_mean, double y_mean, double r_mean, int iso_hits, double iso_energy, int n_readout_hits, double summed_det, double r_mean_from_photon_track)
 
void clear ()
 
bool passesVeto () const
 
double getDisc () const
 
int getNLayersHit () const
 
double getXStd () const
 
double getYStd () const
 
double getZStd () const
 
double getXMean () const
 
double getYMean () const
 
double getRMean () const
 
int getIsoHits () const
 
double getIsoEnergy () const
 
int getNReadoutHits () const
 
double getSummedDet () const
 
double getDistFromPhotonTrack () const
 

Private Member Functions

 ClassDef (VisiblesVetoResult, 1)
 

Private Attributes

bool passes_veto_ {false}
 
int n_layers_hit_ {0}
 
double x_std_ {0}
 
double y_std_ {0}
 
double z_std_ {0}
 
double x_mean_ {0}
 
double y_mean_ {0}
 
double r_mean_ {0}
 
int iso_hits_ {0}
 
double iso_energy_ {0}
 
int n_readout_hits_ {0}
 
double summed_det_ {0}
 
double r_mean_from_photon_track_ {0}
 
double disc_value_ {0}
 

Friends

std::ostream & operator<< (std::ostream &s, const ldmx::VisiblesVetoResult &p)
 

Detailed Description

Definition at line 18 of file VisiblesVetoResult.h.

Constructor & Destructor Documentation

◆ VisiblesVetoResult()

ldmx::VisiblesVetoResult::VisiblesVetoResult ( )

Constructor.

Definition at line 6 of file VisiblesVetoResult.cxx.

6{}

◆ ~VisiblesVetoResult()

ldmx::VisiblesVetoResult::~VisiblesVetoResult ( )
virtual

Destructor.

Definition at line 8 of file VisiblesVetoResult.cxx.

8{ clear(); }

Member Function Documentation

◆ clear()

void ldmx::VisiblesVetoResult::clear ( )

Definition at line 10 of file VisiblesVetoResult.cxx.

10 {
11 passes_veto_ = false;
12
13 n_layers_hit_ = 0;
14 x_std_ = 0.;
15 y_std_ = 0.;
16 z_std_ = 0.;
17 x_mean_ = 0.;
18 y_mean_ = 0.;
19 r_mean_ = 0.;
20 iso_hits_ = 0;
21 iso_energy_ = 0.;
22 n_readout_hits_ = 0;
23 summed_det_ = 0.;
24 r_mean_from_photon_track_ = 0.;
25
26 disc_value_ = 0.;
27}

◆ getDisc()

double ldmx::VisiblesVetoResult::getDisc ( ) const
inline

Definition at line 38 of file VisiblesVetoResult.h.

38{ return disc_value_; }

◆ getDistFromPhotonTrack()

double ldmx::VisiblesVetoResult::getDistFromPhotonTrack ( ) const
inline

Definition at line 62 of file VisiblesVetoResult.h.

62{ return r_mean_from_photon_track_; }

◆ getIsoEnergy()

double ldmx::VisiblesVetoResult::getIsoEnergy ( ) const
inline

Definition at line 56 of file VisiblesVetoResult.h.

56{ return iso_energy_; }

◆ getIsoHits()

int ldmx::VisiblesVetoResult::getIsoHits ( ) const
inline

Definition at line 54 of file VisiblesVetoResult.h.

54{ return iso_hits_; }

◆ getNLayersHit()

int ldmx::VisiblesVetoResult::getNLayersHit ( ) const
inline

Definition at line 40 of file VisiblesVetoResult.h.

40{ return n_layers_hit_; }

◆ getNReadoutHits()

int ldmx::VisiblesVetoResult::getNReadoutHits ( ) const
inline

Definition at line 58 of file VisiblesVetoResult.h.

58{ return n_readout_hits_; }

◆ getRMean()

double ldmx::VisiblesVetoResult::getRMean ( ) const
inline

Definition at line 52 of file VisiblesVetoResult.h.

52{ return r_mean_; }

◆ getSummedDet()

double ldmx::VisiblesVetoResult::getSummedDet ( ) const
inline

Definition at line 60 of file VisiblesVetoResult.h.

60{ return summed_det_; }

◆ getXMean()

double ldmx::VisiblesVetoResult::getXMean ( ) const
inline

Definition at line 48 of file VisiblesVetoResult.h.

48{ return x_mean_; }

◆ getXStd()

double ldmx::VisiblesVetoResult::getXStd ( ) const
inline

Definition at line 42 of file VisiblesVetoResult.h.

42{ return x_std_; }

◆ getYMean()

double ldmx::VisiblesVetoResult::getYMean ( ) const
inline

Definition at line 50 of file VisiblesVetoResult.h.

50{ return y_mean_; }

◆ getYStd()

double ldmx::VisiblesVetoResult::getYStd ( ) const
inline

Definition at line 44 of file VisiblesVetoResult.h.

44{ return y_std_; }

◆ getZStd()

double ldmx::VisiblesVetoResult::getZStd ( ) const
inline

Definition at line 46 of file VisiblesVetoResult.h.

46{ return z_std_; }

◆ passesVeto()

bool ldmx::VisiblesVetoResult::passesVeto ( ) const
inline

Definition at line 36 of file VisiblesVetoResult.h.

36{ return passes_veto_; }

◆ setVariables()

void ldmx::VisiblesVetoResult::setVariables ( int n_layers_hit,
double x_std,
double y_std,
double z_std,
double x_mean,
double y_mean,
double r_mean,
int iso_hits,
double iso_energy,
int n_readout_hits,
double summed_det,
double r_mean_from_photon_track )

Definition at line 29 of file VisiblesVetoResult.cxx.

34 {
35 n_layers_hit_ = n_layers_hit;
36 x_std_ = x_std;
37 y_std_ = y_std;
38 z_std_ = z_std;
39 x_mean_ = x_mean;
40 y_mean_ = y_mean;
41 r_mean_ = r_mean;
42 iso_hits_ = iso_hits;
43 iso_energy_ = iso_energy;
44 n_readout_hits_ = n_readout_hits;
45 summed_det_ = summed_det;
46 r_mean_from_photon_track_ = r_mean_from_photon_track;
47}

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & s,
const ldmx::VisiblesVetoResult & p )
friend

Definition at line 49 of file VisiblesVetoResult.cxx.

49 {
50 return s << "[ VisiblesVetoResult ]:\n"
51 << "\t Passes veto : " << p.passes_veto_ << "\n";
52}

Member Data Documentation

◆ disc_value_

double ldmx::VisiblesVetoResult::disc_value_ {0}
private

Definition at line 80 of file VisiblesVetoResult.h.

80{0};

◆ iso_energy_

double ldmx::VisiblesVetoResult::iso_energy_ {0}
private

Definition at line 75 of file VisiblesVetoResult.h.

75{0};

◆ iso_hits_

int ldmx::VisiblesVetoResult::iso_hits_ {0}
private

Definition at line 74 of file VisiblesVetoResult.h.

74{0};

◆ n_layers_hit_

int ldmx::VisiblesVetoResult::n_layers_hit_ {0}
private

Definition at line 67 of file VisiblesVetoResult.h.

67{0};

◆ n_readout_hits_

int ldmx::VisiblesVetoResult::n_readout_hits_ {0}
private

Definition at line 76 of file VisiblesVetoResult.h.

76{0};

◆ passes_veto_

bool ldmx::VisiblesVetoResult::passes_veto_ {false}
private

Definition at line 65 of file VisiblesVetoResult.h.

65{false};

◆ r_mean_

double ldmx::VisiblesVetoResult::r_mean_ {0}
private

Definition at line 73 of file VisiblesVetoResult.h.

73{0};

◆ r_mean_from_photon_track_

double ldmx::VisiblesVetoResult::r_mean_from_photon_track_ {0}
private

Definition at line 78 of file VisiblesVetoResult.h.

78{0};

◆ summed_det_

double ldmx::VisiblesVetoResult::summed_det_ {0}
private

Definition at line 77 of file VisiblesVetoResult.h.

77{0};

◆ x_mean_

double ldmx::VisiblesVetoResult::x_mean_ {0}
private

Definition at line 71 of file VisiblesVetoResult.h.

71{0};

◆ x_std_

double ldmx::VisiblesVetoResult::x_std_ {0}
private

Definition at line 68 of file VisiblesVetoResult.h.

68{0};

◆ y_mean_

double ldmx::VisiblesVetoResult::y_mean_ {0}
private

Definition at line 72 of file VisiblesVetoResult.h.

72{0};

◆ y_std_

double ldmx::VisiblesVetoResult::y_std_ {0}
private

Definition at line 69 of file VisiblesVetoResult.h.

69{0};

◆ z_std_

double ldmx::VisiblesVetoResult::z_std_ {0}
private

Definition at line 70 of file VisiblesVetoResult.h.

70{0};

The documentation for this class was generated from the following files: