#include <TrajectoryMCSFitter.h>
Classes | |
struct | Config |
struct | ScanResult |
Public Types | |
using | Parameters = fhicl::Table< Config > |
Public Member Functions | |
TrajectoryMCSFitter (int pIdHyp, int minNSegs, double segLen, int minHitsPerSegment, int nElossSteps, int eLossMode, double pMin, double pMax, double pStep, double angResol) | |
TrajectoryMCSFitter (const Parameters &p) | |
recob::MCSFitResult | fitMcs (const recob::TrackTrajectory &traj, bool momDepConst=true) const |
recob::MCSFitResult | fitMcs (const recob::Track &track, bool momDepConst=true) const |
recob::MCSFitResult | fitMcs (const recob::Trajectory &traj, bool momDepConst=true) const |
recob::MCSFitResult | fitMcs (const recob::TrackTrajectory &traj, int pid, bool momDepConst=true) const |
recob::MCSFitResult | fitMcs (const recob::Track &track, int pid, bool momDepConst=true) const |
recob::MCSFitResult | fitMcs (const recob::Trajectory &traj, int pid, bool momDepConst=true) const |
void | breakTrajInSegments (const recob::TrackTrajectory &traj, std::vector< size_t > &breakpoints, std::vector< float > &segradlengths, std::vector< float > &cumseglens) const |
void | linearRegression (const recob::TrackTrajectory &traj, const size_t firstPoint, const size_t lastPoint, recob::tracking::Vector_t &pcdir) const |
double | mcsLikelihood (double p, double theta0x, std::vector< float > &dthetaij, std::vector< float > &seg_nradl, std::vector< float > &cumLen, bool fwd, bool momDepConst, int pid) const |
const ScanResult | doLikelihoodScan (std::vector< float > &dtheta, std::vector< float > &seg_nradlengths, std::vector< float > &cumLen, bool fwdFit, bool momDepConst, int pid) const |
double | MomentumDependentConstant (const double p) const |
double | mass (int pid) const |
double | energyLossBetheBloch (const double mass, const double e2) const |
double | energyLossLandau (const double mass2, const double E2, const double x) const |
double | GetE (const double initial_E, const double length_travelled, const double mass) const |
Private Attributes | |
int | pIdHyp_ |
int | minNSegs_ |
double | segLen_ |
int | minHitsPerSegment_ |
int | nElossSteps_ |
int | eLossMode_ |
double | pMin_ |
double | pMax_ |
double | pStep_ |
double | angResol_ |
Definition at line 33 of file sbncode/sbncode/LArRecoProducer/LArReco/TrajectoryMCSFitter.h.
using trkf::sbn::TrajectoryMCSFitter::Parameters = fhicl::Table<Config> |
Definition at line 91 of file sbncode/sbncode/LArRecoProducer/LArReco/TrajectoryMCSFitter.h.
|
inline |
Definition at line 93 of file sbncode/sbncode/LArRecoProducer/LArReco/TrajectoryMCSFitter.h.
|
inlineexplicit |
Definition at line 105 of file sbncode/sbncode/LArRecoProducer/LArReco/TrajectoryMCSFitter.h.
void TrajectoryMCSFitter::breakTrajInSegments | ( | const recob::TrackTrajectory & | traj, |
std::vector< size_t > & | breakpoints, | ||
std::vector< float > & | segradlengths, | ||
std::vector< float > & | cumseglens | ||
) | const |
Definition at line 59 of file sbncode/sbncode/LArRecoProducer/LArReco/TrajectoryMCSFitter.cxx.
const TrajectoryMCSFitter::ScanResult TrajectoryMCSFitter::doLikelihoodScan | ( | std::vector< float > & | dtheta, |
std::vector< float > & | seg_nradlengths, | ||
std::vector< float > & | cumLen, | ||
bool | fwdFit, | ||
bool | momDepConst, | ||
int | pid | ||
) | const |
Definition at line 98 of file sbncode/sbncode/LArRecoProducer/LArReco/TrajectoryMCSFitter.cxx.
double TrajectoryMCSFitter::energyLossBetheBloch | ( | const double | mass, |
const double | e2 | ||
) | const |
Definition at line 259 of file sbncode/sbncode/LArRecoProducer/LArReco/TrajectoryMCSFitter.cxx.
double TrajectoryMCSFitter::energyLossLandau | ( | const double | mass2, |
const double | E2, | ||
const double | x | ||
) | const |
Definition at line 241 of file sbncode/sbncode/LArRecoProducer/LArReco/TrajectoryMCSFitter.cxx.
|
inline |
Definition at line 108 of file sbncode/sbncode/LArRecoProducer/LArReco/TrajectoryMCSFitter.h.
|
inline |
Definition at line 109 of file sbncode/sbncode/LArRecoProducer/LArReco/TrajectoryMCSFitter.h.
|
inline |
Definition at line 110 of file sbncode/sbncode/LArRecoProducer/LArReco/TrajectoryMCSFitter.h.
recob::MCSFitResult TrajectoryMCSFitter::fitMcs | ( | const recob::TrackTrajectory & | traj, |
int | pid, | ||
bool | momDepConst = true |
||
) | const |
Definition at line 11 of file sbncode/sbncode/LArRecoProducer/LArReco/TrajectoryMCSFitter.cxx.
|
inline |
Definition at line 113 of file sbncode/sbncode/LArRecoProducer/LArReco/TrajectoryMCSFitter.h.
|
inline |
Definition at line 114 of file sbncode/sbncode/LArRecoProducer/LArReco/TrajectoryMCSFitter.h.
double TrajectoryMCSFitter::GetE | ( | const double | initial_E, |
const double | length_travelled, | ||
const double | mass | ||
) | const |
Definition at line 283 of file sbncode/sbncode/LArRecoProducer/LArReco/TrajectoryMCSFitter.cxx.
void TrajectoryMCSFitter::linearRegression | ( | const recob::TrackTrajectory & | traj, |
const size_t | firstPoint, | ||
const size_t | lastPoint, | ||
recob::tracking::Vector_t & | pcdir | ||
) | const |
Definition at line 136 of file sbncode/sbncode/LArRecoProducer/LArReco/TrajectoryMCSFitter.cxx.
|
inline |
Definition at line 138 of file sbncode/sbncode/LArRecoProducer/LArReco/TrajectoryMCSFitter.h.
double TrajectoryMCSFitter::mcsLikelihood | ( | double | p, |
double | theta0x, | ||
std::vector< float > & | dthetaij, | ||
std::vector< float > & | seg_nradl, | ||
std::vector< float > & | cumLen, | ||
bool | fwd, | ||
bool | momDepConst, | ||
int | pid | ||
) | const |
Definition at line 188 of file sbncode/sbncode/LArRecoProducer/LArReco/TrajectoryMCSFitter.cxx.
|
inline |
Definition at line 132 of file sbncode/sbncode/LArRecoProducer/LArReco/TrajectoryMCSFitter.h.
|
private |
Definition at line 160 of file sbncode/sbncode/LArRecoProducer/LArReco/TrajectoryMCSFitter.h.
|
private |
Definition at line 156 of file sbncode/sbncode/LArRecoProducer/LArReco/TrajectoryMCSFitter.h.
|
private |
Definition at line 154 of file sbncode/sbncode/LArRecoProducer/LArReco/TrajectoryMCSFitter.h.
|
private |
Definition at line 152 of file sbncode/sbncode/LArRecoProducer/LArReco/TrajectoryMCSFitter.h.
|
private |
Definition at line 155 of file sbncode/sbncode/LArRecoProducer/LArReco/TrajectoryMCSFitter.h.
|
private |
Definition at line 151 of file sbncode/sbncode/LArRecoProducer/LArReco/TrajectoryMCSFitter.h.
|
private |
Definition at line 158 of file sbncode/sbncode/LArRecoProducer/LArReco/TrajectoryMCSFitter.h.
|
private |
Definition at line 157 of file sbncode/sbncode/LArRecoProducer/LArReco/TrajectoryMCSFitter.h.
|
private |
Definition at line 159 of file sbncode/sbncode/LArRecoProducer/LArReco/TrajectoryMCSFitter.h.
|
private |
Definition at line 153 of file sbncode/sbncode/LArRecoProducer/LArReco/TrajectoryMCSFitter.h.