LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
recob::VertexAssnMeta Class Reference

Class storing the meta-data for track-vertex association: status, propagation distance, impact parameter, impact parameter error, chi2. More...

#include "VertexAssnMeta.h"

Public Types

enum  VertexAssnStatus { Undefined, NotUsedInFit, RejectedByFit, IncludedInFit }
 

Public Member Functions

 VertexAssnMeta ()
 
 VertexAssnMeta (float pD, float iP, float iPErr, float c2, VertexAssnStatus st)
 
float propDist () const
 
float impactParam () const
 
float impactParamErr () const
 
float impactParamSig () const
 
float chi2 () const
 
VertexAssnStatus status () const
 
void updateStatus (const VertexAssnStatus &newstatus)
 

Private Attributes

float propDist_
 
float impactParam_
 
float impactParamErr_
 
float chi2_
 
VertexAssnStatus status_
 

Detailed Description

Class storing the meta-data for track-vertex association: status, propagation distance, impact parameter, impact parameter error, chi2.

The status is meant to describe if and how the track was used in the vertex fit. The values of the parameters (propagation distance, impact parameter, impact parameter error, chi2) should be computed in an unbiased way, i.e. with respect to the vertex re-fitted without using the specific associated track. A method is also provided to retrieve the impact parameter significance.

Author
G. Cerati (FNAL, MicroBooNE)
Date
2017
Version
1.0

Definition at line 22 of file VertexAssnMeta.h.

Member Enumeration Documentation

Constructor & Destructor Documentation

recob::VertexAssnMeta::VertexAssnMeta ( )
inline

Definition at line 25 of file VertexAssnMeta.h.

References status_, and Undefined.

recob::VertexAssnMeta::VertexAssnMeta ( float  pD,
float  iP,
float  iPErr,
float  c2,
VertexAssnStatus  st 
)
inline

Definition at line 26 of file VertexAssnMeta.h.

27  : propDist_(pD), impactParam_(iP), impactParamErr_(iPErr), chi2_(c2), status_(st) {}
TCanvas * c2
Definition: plot_hist.C:75
VertexAssnStatus status_

Member Function Documentation

float recob::VertexAssnMeta::chi2 ( ) const
inline

Definition at line 32 of file VertexAssnMeta.h.

References chi2_.

32 { return chi2_; }
float recob::VertexAssnMeta::impactParam ( ) const
inline

Definition at line 29 of file VertexAssnMeta.h.

References impactParam_.

29 { return impactParam_; }
float recob::VertexAssnMeta::impactParamErr ( ) const
inline

Definition at line 30 of file VertexAssnMeta.h.

References impactParamErr_.

30 { return impactParamErr_; }
float recob::VertexAssnMeta::impactParamSig ( ) const
inline

Definition at line 31 of file VertexAssnMeta.h.

References impactParam_, and impactParamErr_.

float recob::VertexAssnMeta::propDist ( ) const
inline

Definition at line 28 of file VertexAssnMeta.h.

References propDist_.

Referenced by RecoProxyUsageExample::analyze().

28 { return propDist_; }
VertexAssnStatus recob::VertexAssnMeta::status ( ) const
inline

Definition at line 33 of file VertexAssnMeta.h.

References status_.

33 { return status_; }
VertexAssnStatus status_
void recob::VertexAssnMeta::updateStatus ( const VertexAssnStatus newstatus)
inline

Definition at line 34 of file VertexAssnMeta.h.

References status_.

34 { status_ = newstatus; }
VertexAssnStatus status_

Member Data Documentation

float recob::VertexAssnMeta::chi2_
private

Definition at line 39 of file VertexAssnMeta.h.

Referenced by chi2().

float recob::VertexAssnMeta::impactParam_
private

Definition at line 37 of file VertexAssnMeta.h.

Referenced by impactParam(), and impactParamSig().

float recob::VertexAssnMeta::impactParamErr_
private

Definition at line 38 of file VertexAssnMeta.h.

Referenced by impactParamErr(), and impactParamSig().

float recob::VertexAssnMeta::propDist_
private

Definition at line 36 of file VertexAssnMeta.h.

Referenced by propDist().

VertexAssnStatus recob::VertexAssnMeta::status_
private

Definition at line 40 of file VertexAssnMeta.h.

Referenced by status(), updateStatus(), and VertexAssnMeta().


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