LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
Class storing the result of the Maximum Likelihood fit of Multiple Coulomb Scattering angles between segments within a Track or Trajectory. More...
#include "MCSFitResult.h"
Public Member Functions | |
MCSFitResult ()=default | |
MCSFitResult (int pid, float momFwd, float momFwdUnc, float llhdFwd, float momBwd, float momBwdUnc, float llhdBwd, const std::vector< float > &radlengths, const std::vector< float > &angles) | |
int | particleIdHyp () const |
particle id hypothesis used in the fit More... | |
float | fwdMomentum () const |
momentum value from fit assuming a forward track direction More... | |
float | fwdMomUncertainty () const |
momentum uncertainty from fit assuming a forward track direction More... | |
float | fwdLogLikelihood () const |
minimum negative log likelihood value from fit assuming a forward track direction More... | |
float | bwdMomentum () const |
momentum value from fit assuming a backward track direction More... | |
float | bwdMomUncertainty () const |
momentum uncertainty from fit assuming a backward track direction More... | |
float | bwdLogLikelihood () const |
minimum negative log likelihood value from fit assuming a backward track direction More... | |
const std::vector< float > & | segmentRadLengths () const |
vector of radiation lengths of the segments used in the fit More... | |
const std::vector< float > & | scatterAngles () const |
vector of angles between the segments used in the fit More... | |
bool | isBestFwd () const |
determines best fit direction based on minumum log likelihood between forward and backward fit More... | |
float | bestMomentum () const |
momentum for best direction fit More... | |
float | bestMomUncertainty () const |
momentum uncertainty for best direction fit More... | |
float | bestLogLikelihood () const |
negative log likelihood for best direction fit More... | |
float | deltaLogLikelihood () const |
difference in log likelihood between forward and backward fit (absolute value) More... | |
Private Attributes | |
int | pid_ |
particle id hypothesis used in the fit More... | |
float | momFwd_ |
momentum value from fit assuming a forward track direction More... | |
float | momFwdUnc_ |
momentum uncertainty from fit assuming a forward track direction More... | |
float | llhdFwd_ |
minimum negative log likelihood value from fit assuming a forward track direction More... | |
float | momBwd_ |
momentum value from fit assuming a backward track direction More... | |
float | momBwdUnc_ |
momentum uncertainty from fit assuming a backward track direction More... | |
float | llhdBwd_ |
minimum negative log likelihood value from fit assuming a backward track direction More... | |
std::vector< float > | radlengths_ |
vector of radiation lengths of the segments used in the fit More... | |
std::vector< float > | angles_ |
vector of angles between the segments used in the fit More... | |
Class storing the result of the Maximum Likelihood fit of Multiple Coulomb Scattering angles between segments within a Track or Trajectory.
Class storing the result of the Maximum Likelihood fit of Multiple Coulomb Scattering angles between segments within a Track or Trajectory. It stores: the resulting momentum, momentum uncertainty, and best likelihood value (both for fwd and bwd fit); the vectors of segment (radiation) lengths and of scattering angles; the PID hypothesis used in the fit.
Definition at line 19 of file MCSFitResult.h.
|
default |
|
inline |
Definition at line 22 of file MCSFitResult.h.
|
inline |
negative log likelihood for best direction fit
Definition at line 62 of file MCSFitResult.h.
References isBestFwd(), llhdBwd_, and llhdFwd_.
|
inline |
momentum for best direction fit
Definition at line 56 of file MCSFitResult.h.
References isBestFwd(), momBwd_, and momFwd_.
Referenced by RecoProxyUsageExample::analyze().
|
inline |
momentum uncertainty for best direction fit
Definition at line 59 of file MCSFitResult.h.
References isBestFwd(), momBwdUnc_, and momFwdUnc_.
|
inline |
minimum negative log likelihood value from fit assuming a backward track direction
Definition at line 44 of file MCSFitResult.h.
References llhdBwd_.
|
inline |
momentum value from fit assuming a backward track direction
Definition at line 38 of file MCSFitResult.h.
References momBwd_.
|
inline |
momentum uncertainty from fit assuming a backward track direction
Definition at line 41 of file MCSFitResult.h.
References momBwdUnc_.
|
inline |
difference in log likelihood between forward and backward fit (absolute value)
Definition at line 65 of file MCSFitResult.h.
References llhdBwd_, and llhdFwd_.
|
inline |
minimum negative log likelihood value from fit assuming a forward track direction
Definition at line 35 of file MCSFitResult.h.
References llhdFwd_.
|
inline |
momentum value from fit assuming a forward track direction
Definition at line 29 of file MCSFitResult.h.
References momFwd_.
|
inline |
momentum uncertainty from fit assuming a forward track direction
Definition at line 32 of file MCSFitResult.h.
References momFwdUnc_.
|
inline |
determines best fit direction based on minumum log likelihood between forward and backward fit
Definition at line 53 of file MCSFitResult.h.
References llhdBwd_, and llhdFwd_.
Referenced by bestLogLikelihood(), bestMomentum(), and bestMomUncertainty().
|
inline |
particle id hypothesis used in the fit
Definition at line 26 of file MCSFitResult.h.
References pid_.
|
inline |
vector of angles between the segments used in the fit
Definition at line 50 of file MCSFitResult.h.
References angles_.
|
inline |
vector of radiation lengths of the segments used in the fit
Definition at line 47 of file MCSFitResult.h.
References radlengths_.
|
private |
vector of angles between the segments used in the fit
Definition at line 76 of file MCSFitResult.h.
Referenced by scatterAngles().
|
private |
minimum negative log likelihood value from fit assuming a backward track direction
Definition at line 74 of file MCSFitResult.h.
Referenced by bestLogLikelihood(), bwdLogLikelihood(), deltaLogLikelihood(), and isBestFwd().
|
private |
minimum negative log likelihood value from fit assuming a forward track direction
Definition at line 71 of file MCSFitResult.h.
Referenced by bestLogLikelihood(), deltaLogLikelihood(), fwdLogLikelihood(), and isBestFwd().
|
private |
momentum value from fit assuming a backward track direction
Definition at line 72 of file MCSFitResult.h.
Referenced by bestMomentum(), and bwdMomentum().
|
private |
momentum uncertainty from fit assuming a backward track direction
Definition at line 73 of file MCSFitResult.h.
Referenced by bestMomUncertainty(), and bwdMomUncertainty().
|
private |
momentum value from fit assuming a forward track direction
Definition at line 69 of file MCSFitResult.h.
Referenced by bestMomentum(), and fwdMomentum().
|
private |
momentum uncertainty from fit assuming a forward track direction
Definition at line 70 of file MCSFitResult.h.
Referenced by bestMomUncertainty(), and fwdMomUncertainty().
|
private |
particle id hypothesis used in the fit
Definition at line 68 of file MCSFitResult.h.
Referenced by particleIdHyp().
|
private |
vector of radiation lengths of the segments used in the fit
Definition at line 75 of file MCSFitResult.h.
Referenced by segmentRadLengths().