LArSoft  v06_85_00
Liquid Argon Software toolkit - http://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  float propDist() const { return propDist_; }
29  float impactParam() const { return impactParam_; }
30  float impactParamErr() const { return impactParamErr_; }
31  float impactParamSig() const { return impactParam_/impactParamErr_; }
32  float chi2() const { return chi2_; }
33  VertexAssnStatus status() const { return status_; }
34  void updateStatus(const VertexAssnStatus& newstatus) { status_ = newstatus; }
35  private:
36  float propDist_;
37  float impactParam_;
39  float chi2_;
41  };
42 
43 }
44 
45 #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