LArSoft
v06_85_00
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, double momFwd, double momFwdUnc, double llhdFwd, double momBwd, double momBwdUnc, double llhdBwd, const std::vector< double > &radlengths, const std::vector< double > &angles) | |
int | particleIdHyp () const |
particle id hypothesis used in the fit More... | |
double | fwdMomentum () const |
momentum value from fit assuming a forward track direction More... | |
double | fwdMomUncertainty () const |
momentum uncertainty from fit assuming a forward track direction More... | |
double | fwdLogLikelihood () const |
minimum negative log likelihood value from fit assuming a forward track direction More... | |
double | bwdMomentum () const |
momentum value from fit assuming a backward track direction More... | |
double | bwdMomUncertainty () const |
momentum uncertainty from fit assuming a backward track direction More... | |
double | bwdLogLikelihood () const |
minimum negative log likelihood value from fit assuming a backward track direction More... | |
const std::vector< double > & | segmentRadLengths () const |
vector of radiation lengths of the segments used in the fit More... | |
const std::vector< double > & | 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... | |
double | bestMomentum () const |
momentum for best direction fit More... | |
double | bestMomUncertainty () const |
momentum uncertainty for best direction fit More... | |
double | bestLogLikelihood () const |
negative log likelihood for best direction fit More... | |
double | deltaLogLikelihood () const |
difference in log likelihood between forward and backward fit (absolute value) More... | |
Private Attributes | |
double | pid_ |
particle id hypothesis used in the fit More... | |
double | momFwd_ |
momentum value from fit assuming a forward track direction More... | |
double | momFwdUnc_ |
momentum uncertainty from fit assuming a forward track direction More... | |
double | llhdFwd_ |
minimum negative log likelihood value from fit assuming a forward track direction More... | |
double | momBwd_ |
momentum value from fit assuming a backward track direction More... | |
double | momBwdUnc_ |
momentum uncertainty from fit assuming a backward track direction More... | |
double | llhdBwd_ |
minimum negative log likelihood value from fit assuming a backward track direction More... | |
std::vector< double > | radlengths_ |
vector of radiation lengths of the segments used in the fit More... | |
std::vector< double > | 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().