Public Types | Public Member Functions | Private Attributes | List of all members
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.

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

Definition at line 26 of file VertexAssnMeta.h.

Member Function Documentation

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

Definition at line 32 of file VertexAssnMeta.h.

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

Definition at line 29 of file VertexAssnMeta.h.

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

Definition at line 30 of file VertexAssnMeta.h.

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

Definition at line 31 of file VertexAssnMeta.h.

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

Definition at line 28 of file VertexAssnMeta.h.

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

Definition at line 33 of file VertexAssnMeta.h.

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

Definition at line 34 of file VertexAssnMeta.h.

34 { status_ = newstatus; }
VertexAssnStatus status_

Member Data Documentation

float recob::VertexAssnMeta::chi2_
private

Definition at line 39 of file VertexAssnMeta.h.

float recob::VertexAssnMeta::impactParam_
private

Definition at line 37 of file VertexAssnMeta.h.

float recob::VertexAssnMeta::impactParamErr_
private

Definition at line 38 of file VertexAssnMeta.h.

float recob::VertexAssnMeta::propDist_
private

Definition at line 36 of file VertexAssnMeta.h.

VertexAssnStatus recob::VertexAssnMeta::status_
private

Definition at line 40 of file VertexAssnMeta.h.


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