LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
VertexAssnMeta.h
Go to the documentation of this file.
1 #ifndef VERTEXASSNMETA_H
2 #define VERTEXASSNMETA_H
3 
4 namespace recob {
5 
23  public:
26  VertexAssnMeta(float pD, float iP, float iPErr, float c2, VertexAssnStatus st)
27  : propDist_(pD), impactParam_(iP), impactParamErr_(iPErr), chi2_(c2), status_(st)
28  {}
29  float propDist() const { return propDist_; }
30  float impactParam() const { return impactParam_; }
31  float impactParamErr() const { return impactParamErr_; }
32  float impactParamSig() const { return impactParam_ / impactParamErr_; }
33  float chi2() const { return chi2_; }
34  VertexAssnStatus status() const { return status_; }
35  void updateStatus(const VertexAssnStatus& newstatus) { status_ = newstatus; }
36 
37  private:
38  float propDist_;
39  float impactParam_;
41  float chi2_;
43  };
44 
45 }
46 
47 #endif
void updateStatus(const VertexAssnStatus &newstatus)
Reconstruction base classes.
float propDist() const
float impactParamSig() const
float chi2() const
float impactParamErr() const
TCanvas * c2
Definition: plot_hist.C:75
Class storing the meta-data for track-vertex association: status, propagation distance, impact parameter, impact parameter error, chi2.
VertexAssnMeta(float pD, float iP, float iPErr, float c2, VertexAssnStatus st)
float impactParam() const
VertexAssnStatus status_
VertexAssnStatus status() const