Hall-D Software
alpha
|
#include <DTrackFitterRiemann.h>
Public Types | |
enum | fit_type_t { kWireBased, kTimeBased } |
enum | fit_status_t { kFitNotDone, kFitSuccess, kFitFailed, kFitNoImprovement } |
Public Member Functions | |
DTrackFitterRiemann (JEventLoop *loop) | |
~DTrackFitterRiemann () | |
string | Name (void) const |
fit_status_t | FitTrack (void) |
double | ChiSq (fit_type_t fit_type, DReferenceTrajectory *rt, double *chisq_ptr=NULL, int *dof_ptr=NULL, vector< pull_t > *pulls_ptr=NULL) |
jerror_t | AddCDCHit (const DCDCTrackHit *cdchit) |
jerror_t | AddFDCHit (const DFDCPseudo *fdchit) |
jerror_t | AddHitXYZ (double x, double y, double z, double covx, double covy, double covxy) |
jerror_t | SetSeed (double my_q, const DVector3 &pos, const DVector3 &mom, double mass) |
double | GetProcessNoise (const DVector2 &XY, const double z) |
jerror_t | ComputeCRPhi () |
jerror_t | ComputeCR () |
jerror_t | ComputeCz () |
jerror_t | GetAxialPosition (double &sperp, const DVector2 &XYold, DRiemannHit_t *hit) |
jerror_t | GetStereoPosition (double &sperp, DVector2 &XYold, DRiemannHit_t *hit) |
double | GetStereoZ (double dx, double dy, DRiemannHit_t *hit) |
jerror_t | GetFDCPosition (DRiemannHit_t *hit) |
DVector2 | GetHelicalPosition (double sperp) |
jerror_t | FitCircle () |
jerror_t | FitLine () |
jerror_t | GetCharge () |
jerror_t | ComputeIntersections () |
double | ChiSq () |
JOBJECT_PUBLIC (DTrackFitter) | |
void | Reset (void) |
void | AddHit (const DCDCTrackHit *cdchit) |
void | AddHit (const DFDCPseudo *fdchit) |
void | AddHits (vector< const DCDCTrackHit * > cdchits) |
void | AddHits (vector< const DFDCPseudo * > fdchits) |
const vector< const DCDCTrackHit * > & | GetCDCInputHits (void) const |
const vector< const DFDCPseudo * > & | GetFDCInputHits (void) const |
const vector< const DCDCTrackHit * > & | GetCDCFitHits (void) const |
const vector< const DFDCPseudo * > & | GetFDCFitHits (void) const |
void | ClearExtrapolations (void) |
const DKinematicData & | GetInputParameters (void) const |
const DTrackingData & | GetFitParameters (void) const |
double | GetChisq (void) const |
int | GetNdof (void) const |
unsigned int | GetNumPotentialFDCHits (void) const |
unsigned int | GetNumPotentialCDCHits (void) const |
bool | GetIsSmoothed (void) const |
vector< pull_t > & | GetPulls (void) |
const map< DetectorSystem_t, vector< Extrapolation_t > > & | GetExtrapolations (void) const |
fit_type_t | GetFitType (void) const |
const DMagneticFieldMap * | GetDMagneticFieldMap (void) const |
void | SetFitType (fit_type_t type) |
void | SetInputParameters (const DTrackingData &starting_params) |
fit_status_t | FitTrack (const DVector3 &pos, const DVector3 &mom, double q, double mass, double t0=QuietNaN, DetectorSystem_t t0_det=SYS_NULL) |
fit_status_t | FitTrack (const DTrackingData &starting_params) |
fit_status_t | FindHitsAndFitTrack (const DKinematicData &starting_params, const DReferenceTrajectory *rt, JEventLoop *loop, double mass=-1.0, int N=0, double t0=QuietNaN, DetectorSystem_t t0_det=SYS_NULL) |
mass<0 means get it from starting_params More... | |
fit_status_t | FindHitsAndFitTrack (const DKinematicData &starting_params, const map< DetectorSystem_t, vector< DTrackFitter::Extrapolation_t > > &extrapolations, JEventLoop *loop, double mass, int N, double t0, DetectorSystem_t t0_det) |
jerror_t | CorrectForELoss (const DKinematicData &starting_params, DReferenceTrajectory *rt, DVector3 &pos, DVector3 &mom, double mass) |
double | CalcDensityEffect (double p, double mass, double density, double Z_over_A, double I) |
double | CalcDensityEffect (double p, double mass, double rho_Z_over_A, double LnI) |
double | CalcDensityEffect (double betagamma, double rho_Z_over_A, double LnI) |
bool | ExtrapolateToRadius (double R, const vector< Extrapolation_t > &extraps, DVector3 &pos, DVector3 &mom, double &t, double &s) const |
bool | ExtrapolateToRadius (double R, const vector< Extrapolation_t > &extraps, DVector3 &pos) const |
double | DistToWire (const DCoordinateSystem *wire, const vector< Extrapolation_t > &extrapolations, DVector3 *pos=NULL, DVector3 *mom=NULL, DVector3 *position_along_wire=NULL) const |
Protected Attributes | |
vector< const DCDCTrackHit * > | cdchits |
vector< const DFDCPseudo * > | fdchits |
DTrackingData | input_params |
fit_type_t | fit_type |
const DMagneticFieldMap * | bfield |
const DGeometry * | geom |
const DRootGeom * | RootGeom |
JEventLoop * | loop |
DTrackingData | fit_params |
double | chisq |
int | Ndof |
vector< pull_t > | pulls |
map< DetectorSystem_t, vector < Extrapolation_t > > | extrapolations |
fit_status_t | fit_status |
vector< const DCDCTrackHit * > | cdchits_used_in_fit |
vector< const DFDCPseudo * > | fdchits_used_in_fit |
bool | IsSmoothed |
unsigned int | potential_fdc_hits_on_track |
unsigned int | potential_cdc_hits_on_track |
bool | CORRECT_FOR_ELOSS |
Private Attributes | |
vector< DRiemannHit_t * > | my_circle_hits |
vector< DRiemannHit_t * > | my_line_hits |
double | mass2 |
double | phi0 |
double | z_vertex |
double | tanl |
double | q |
double | rc |
double | xc |
double | yc |
double | D |
double | p |
double | theta |
double | one_over_vcosl |
double | B |
DMatrix | CR |
DMatrix | CRPhi |
DMatrix | Cz |
vector< DVector2 > | projections |
vector< double > | s |
DVector3 | N |
double | c_origin |
Definition at line 23 of file DTrackFitterRiemann.h.
|
inherited |
Enumerator | |
---|---|
kFitNotDone | |
kFitSuccess | |
kFitFailed | |
kFitNoImprovement |
Definition at line 70 of file DTrackFitter.h.
|
inherited |
Enumerator | |
---|---|
kWireBased | |
kTimeBased |
Definition at line 65 of file DTrackFitter.h.
DTrackFitterRiemann::DTrackFitterRiemann | ( | JEventLoop * | loop | ) |
Definition at line 48 of file DTrackFitterRiemann.cc.
|
inline |
Definition at line 26 of file DTrackFitterRiemann.h.
jerror_t DTrackFitterRiemann::AddCDCHit | ( | const DCDCTrackHit * | cdchit | ) |
jerror_t DTrackFitterRiemann::AddFDCHit | ( | const DFDCPseudo * | fdchit | ) |
|
inherited |
Definition at line 120 of file DTrackFitter.cc.
Referenced by DTrackTimeBased_factory_StraightLine::evnt(), DTrackWireBased_factory_StraightLine::evnt(), DTrackHitSelector::GetCDCHits(), and DTrackHitSelector::GetFDCHits().
|
inherited |
Definition at line 138 of file DTrackFitter.cc.
|
inherited |
Definition at line 129 of file DTrackFitter.cc.
Referenced by DTrackWireBased_factory::DoFit(), DTrackTimeBased_factory::DoFit(), DTrackWireBased_factory_THROWN::evnt(), DTrackTimeBased_factory_THROWN::evnt(), and DTrackCandidate_factory_THROWN::evnt().
|
inherited |
Definition at line 147 of file DTrackFitter.cc.
jerror_t DTrackFitterRiemann::AddHitXYZ | ( | double | x, |
double | y, | ||
double | z, | ||
double | covx, | ||
double | covy, | ||
double | covxy | ||
) |
|
inherited |
Definition at line 412 of file DTrackFitter.cc.
Referenced by DTrackFitterKalmanSIMD::GetdEdx().
|
inherited |
Definition at line 422 of file DTrackFitter.cc.
|
inherited |
|
virtual |
Implements DTrackFitter.
Definition at line 308 of file DTrackFitterRiemann.cc.
References ChiSq(), DTrackFitter::chisq, DTrackFitter::Ndof, and printf().
double DTrackFitterRiemann::ChiSq | ( | ) |
Definition at line 324 of file DTrackFitterRiemann.cc.
References D, GetHelicalPosition(), my_circle_hits, my_line_hits, DTrackFitter::Ndof, phi0, rc, sin(), tanl, and z_vertex.
Referenced by ChiSq(), and FitTrack().
|
inlineinherited |
Definition at line 141 of file DTrackFitter.h.
References SYS_BCAL, SYS_CDC, SYS_DIRC, SYS_FCAL, SYS_FDC, SYS_START, and SYS_TOF.
Referenced by DTrackFitterKalmanSIMD::CentralFit(), DTrackFitterKalmanSIMD::ForwardCDCFit(), DTrackFitterKalmanSIMD::ForwardFit(), DTrackFitterStraightTrack::GetExtrapolations(), and DTrackFitterKalmanSIMD::KalmanLoop().
jerror_t DTrackFitterRiemann::ComputeCR | ( | ) |
Definition at line 698 of file DTrackFitterRiemann.cc.
References CR, EPS, GetProcessNoise(), my_line_hits, sin(), and tanl.
Referenced by FitTrack().
jerror_t DTrackFitterRiemann::ComputeCRPhi | ( | ) |
Definition at line 620 of file DTrackFitterRiemann.cc.
References CRPhi, EPS, GetProcessNoise(), my_circle_hits, rc, S, sin(), sqrt(), and tanl.
Referenced by FitTrack().
jerror_t DTrackFitterRiemann::ComputeCz | ( | ) |
Definition at line 748 of file DTrackFitterRiemann.cc.
References Cz, EPS, GetProcessNoise(), my_line_hits, s, and tanl.
Referenced by FitTrack().
jerror_t DTrackFitterRiemann::ComputeIntersections | ( | ) |
Definition at line 945 of file DTrackFitterRiemann.cc.
References c_origin, D, my_line_hits, N, phi0, projections, rc, s, sin(), sqrt(), and temp.
Referenced by FitTrack().
|
inherited |
Definition at line 362 of file DTrackFitter.cc.
References CDCSortByRincreasing(), DKinematicData::charge(), DReferenceTrajectory::FastSwim(), FDCSortByZincreasing(), DReferenceTrajectory::kBackward, DReferenceTrajectory::kForward, DCoordinateSystem::L, DKinematicData::momentum(), DCoordinateSystem::origin, DKinematicData::position(), DCoordinateSystem::sdir, DReferenceTrajectory::SetDGeometry(), DReferenceTrajectory::SetMass(), DReferenceTrajectory::SetPLossDirection(), DCoordinateSystem::tdir, and DCoordinateSystem::udir.
|
inherited |
Definition at line 537 of file DTrackFitter.cc.
References DCoordinateSystem::origin, sin(), and DCoordinateSystem::udir.
Referenced by JEventProcessor_FDCProjectionResiduals::evnt(), JEventProcessor_FDCProjectionResiduals::Expect_Hit(), and JEventProcessor_CDC_Efficiency::Fill_Efficiency_Histos().
|
inherited |
Definition at line 473 of file DTrackFitter.cc.
References alpha, DTrackFitter::Extrapolation_t::momentum, DTrackFitter::Extrapolation_t::position, DTrackFitter::Extrapolation_t::s, sqrt(), and DTrackFitter::Extrapolation_t::t.
Referenced by DBCALCluster_factory::clusterize(), DParticleID::Distance_ToTrack(), JEventProcessor_BCAL_TDC_Timing::evnt(), JEventProcessor_pi0bcalskim::evnt(), JEventProcessor_BCAL_point_calib::evnt(), JEventProcessor_BCAL_inv_mass::evnt(), JEventProcessor_BCAL_Eff::evnt(), DEventProcessor_BCAL_gainmatrix::evnt(), DParticleID::Get_StartTime(), and DCustomAction_p2pi_unusedHists::Perform_Action().
|
inherited |
Definition at line 527 of file DTrackFitter.cc.
|
inherited |
mass<0 means get it from starting_params
Fit a DTrackCandidate using a given mass hypothesis.
This will perform a full wire-based and time-based fit using the given mass and starting from the given candidate. The given DReferenceTrajectory is used to swim the track numerous times during the various stages but will be left with the final time-based fit result. The JEventLoop given will be used to get the hits (CDC and FDC) and default DTrackHitSelector to use for the fit.
Definition at line 271 of file DTrackFitter.cc.
References _DBG_, DKinematicData::charge(), DTrackHitSelector::GetAllHits(), IDTrack(), DTrackHitSelector::kHelical, DTrackHitSelector::kWireBased, DKinematicData::mass(), DKinematicData::momentum(), DKinematicData::position(), start_time, and prof_time::TimeDiffNow().
Referenced by DTrackTimeBased_factory::AddMissingTrackHypothesis(), DTrackWireBased_factory::DoFit(), and DTrackTimeBased_factory::DoFit().
|
inherited |
Definition at line 198 of file DTrackFitter.cc.
References _DBG_, DKinematicData::charge(), DTrackHitSelector::GetCDCHits(), DTrackHitSelector::GetFDCHits(), IDTrack(), DKinematicData::mass(), DKinematicData::momentum(), DKinematicData::position(), start_time, SYS_CDC, and SYS_FDC.
jerror_t DTrackFitterRiemann::FitCircle | ( | void | ) |
Riemann Circle fit: points on a circle in x,y project onto a plane cutting the circular paraboloid surface described by (x,y,x^2+y^2). Therefore the task of fitting points in (x,y) to a circle is transormed to the task of fitting planes in (x,y, w=x^2+y^2) space
Definition at line 811 of file DTrackFitterRiemann.cc.
References B0, c_origin, CRPhi, D, EPS, my_circle_hits, N, ONE_THIRD, phi0, q, rc, sin(), sqrt(), sum, temp, X, xc, and yc.
Referenced by FitTrack().
jerror_t DTrackFitterRiemann::FitLine | ( | ) |
Riemann Line fit: linear regression to determine the tangent of the dip angle and the z position of the closest approach to the beam line.
Definition at line 1001 of file DTrackFitterRiemann.cc.
References CR, Cz, DTrackFitter::fdchits, my_line_hits, projections, s, tanl, theta, Z_MAX, Z_VERTEX, and z_vertex.
Referenced by FitTrack().
|
virtual |
Implements DTrackFitter.
Definition at line 52 of file DTrackFitterRiemann.cc.
References B, DTrackFitter::bfield, DRiemannHit_t::cdc, cdc_variance(), DTrackFitter::cdchits, DKinematicData::charge(), ChiSq(), DTrackFitter::chisq, ComputeCR(), ComputeCRPhi(), ComputeCz(), ComputeIntersections(), DRiemannHit_t::covx, DRiemannHit_t::covy, DRiemannHit_t::covz, CR, CRPhi, Cz, D, dir, EPS, DRiemannHit_t::fdc, DTrackFitter::fdchits, DTrackFitter::fit_params, DTrackFitter::fit_type, FitCircle(), FitLine(), GetAxialPosition(), DMagneticFieldMap::GetBz(), GetFDCPosition(), GetHelicalPosition(), GetStereoPosition(), GetStereoZ(), IDTrack(), DTrackFitter::input_params, DTrackFitter::kFitFailed, DTrackFitter::kFitSuccess, DTrackFitter::kWireBased, DKinematicData::mass(), mass2, DKinematicData::momentum(), my_circle_hits, my_line_hits, one_over_vcosl, DCoordinateSystem::origin, p, phi0, DKinematicData::position(), projections, q, rc, s, DKinematicData::setMomentum(), DKinematicData::setPID(), DKinematicData::setPosition(), SetSeed(), sin(), sqrt(), DCDCWire::stereo, tanl, DCDCTrackHit::tdrift, DCDCTrackHit::wire, DFDCPseudo::wire, xc, DRiemannHit_t::XY, yc, DRiemannHit_t::z, and z_vertex.
|
inherited |
Definition at line 156 of file DTrackFitter.cc.
References IDTrack(), start_time, and prof_time::TimeDiffNow().
Referenced by DTrackWireBased_factory::DoFit(), DTrackTimeBased_factory::DoFit(), DTrackTimeBased_factory_StraightLine::evnt(), and DTrackWireBased_factory_StraightLine::evnt().
|
inherited |
Definition at line 179 of file DTrackFitter.cc.
References start_time, and prof_time::TimeDiffNow().
jerror_t DTrackFitterRiemann::GetAxialPosition | ( | double & | sperp, |
const DVector2 & | XYold, | ||
DRiemannHit_t * | hit | ||
) |
Definition at line 440 of file DTrackFitterRiemann.cc.
References DRiemannHit_t::cdc, cdc_variance(), DRiemannHit_t::covx, DRiemannHit_t::covxy, DRiemannHit_t::covy, dir, one_over_vcosl, DCoordinateSystem::origin, rc, DCDCTrackHit::tdrift, DCDCTrackHit::wire, xc, DRiemannHit_t::XY, and yc.
Referenced by FitTrack().
|
inlineinherited |
Definition at line 139 of file DTrackFitter.h.
Referenced by DTrackTimeBased_factory::AddMissingTrackHypothesis(), DTrackWireBased_factory::DoFit(), DTrackTimeBased_factory::DoFit(), DTrackTimeBased_factory_StraightLine::evnt(), and DTrackWireBased_factory_StraightLine::evnt().
|
inlineinherited |
Definition at line 137 of file DTrackFitter.h.
jerror_t DTrackFitterRiemann::GetCharge | ( | void | ) |
Definition at line 1087 of file DTrackFitterRiemann.cc.
|
inlineinherited |
Definition at line 154 of file DTrackFitter.h.
Referenced by DTrackTimeBased_factory::AddMissingTrackHypothesis(), DTrackWireBased_factory::DoFit(), DTrackTimeBased_factory::DoFit(), DTrackTimeBased_factory_StraightLine::evnt(), and DTrackWireBased_factory_StraightLine::evnt().
|
inlineinherited |
Definition at line 168 of file DTrackFitter.h.
Referenced by DTrackTimeBased_factory::CorrectForELoss(), and JEventProcessor_dumpcandidates::evnt().
|
inlineinherited |
Definition at line 163 of file DTrackFitter.h.
Referenced by DTrackTimeBased_factory::AddMissingTrackHypothesis(), DTrackWireBased_factory::DoFit(), DTrackTimeBased_factory::DoFit(), DTrackTimeBased_factory_StraightLine::evnt(), DTrackWireBased_factory_StraightLine::evnt(), and DTrackFitterStraightTrack::FitTrack().
|
inlineinherited |
Definition at line 140 of file DTrackFitter.h.
Referenced by DTrackTimeBased_factory::AddMissingTrackHypothesis(), DTrackWireBased_factory::DoFit(), DTrackTimeBased_factory::DoFit(), DTrackTimeBased_factory_StraightLine::evnt(), and DTrackWireBased_factory_StraightLine::evnt().
|
inlineinherited |
Definition at line 138 of file DTrackFitter.h.
jerror_t DTrackFitterRiemann::GetFDCPosition | ( | DRiemannHit_t * | hit | ) |
Definition at line 578 of file DTrackFitterRiemann.cc.
References DRiemannHit_t::covx, DRiemannHit_t::covxy, DRiemannHit_t::covy, DRiemannHit_t::fdc, fdc_y_variance(), GetHelicalPosition(), one_over_vcosl, DCoordinateSystem::origin, DFDCPseudo::s, tanl, DFDCPseudo::time, u, DCoordinateSystem::udir, DFDCPseudo::w, DFDCPseudo::wire, DRiemannHit_t::XY, DRiemannHit_t::z, and z_vertex.
Referenced by FitTrack().
|
inlineinherited |
Definition at line 153 of file DTrackFitter.h.
Referenced by DTrackTimeBased_factory::AddMissingTrackHypothesis(), DTrackWireBased_factory::DoFit(), DTrackTimeBased_factory::DoFit(), DTrackTimeBased_factory_StraightLine::evnt(), and DTrackWireBased_factory_StraightLine::evnt().
|
inlineinherited |
Definition at line 167 of file DTrackFitter.h.
DVector2 DTrackFitterRiemann::GetHelicalPosition | ( | double | sperp | ) |
Definition at line 561 of file DTrackFitterRiemann.cc.
References D, phi0, q, rc, and sin().
Referenced by ChiSq(), FitTrack(), and GetFDCPosition().
|
inlineinherited |
Definition at line 152 of file DTrackFitter.h.
|
inlineinherited |
Definition at line 160 of file DTrackFitter.h.
Referenced by DTrackTimeBased_factory::AddMissingTrackHypothesis(), DTrackTimeBased_factory::DoFit(), DTrackTimeBased_factory_StraightLine::evnt(), and DTrackWireBased_factory_StraightLine::evnt().
|
inlineinherited |
Definition at line 155 of file DTrackFitter.h.
Referenced by DTrackTimeBased_factory::AddMissingTrackHypothesis(), DTrackWireBased_factory::DoFit(), DTrackTimeBased_factory::DoFit(), DTrackTimeBased_factory_StraightLine::evnt(), and DTrackWireBased_factory_StraightLine::evnt().
|
inlineinherited |
Definition at line 157 of file DTrackFitter.h.
Referenced by DTrackTimeBased_factory::AddMissingTrackHypothesis(), and DTrackTimeBased_factory::DoFit().
|
inlineinherited |
Definition at line 156 of file DTrackFitter.h.
Referenced by DTrackTimeBased_factory::AddMissingTrackHypothesis(), and DTrackTimeBased_factory::DoFit().
double DTrackFitterRiemann::GetProcessNoise | ( | const DVector2 & | XY, |
const double | z | ||
) |
Definition at line 785 of file DTrackFitterRiemann.cc.
References e, F, DGeometry::FindMatKalman(), DTrackFitter::geom, mass2, MOLIERE_FRACTION, p, and p2.
Referenced by ComputeCR(), ComputeCRPhi(), and ComputeCz().
|
inlineinherited |
Definition at line 162 of file DTrackFitter.h.
Referenced by DTrackTimeBased_factory::AddMissingTrackHypothesis(), DTrackWireBased_factory::DoFit(), DTrackTimeBased_factory::DoFit(), DTrackTimeBased_factory_StraightLine::evnt(), and DTrackWireBased_factory_StraightLine::evnt().
jerror_t DTrackFitterRiemann::GetStereoPosition | ( | double & | sperp, |
DVector2 & | XYold, | ||
DRiemannHit_t * | hit | ||
) |
Definition at line 501 of file DTrackFitterRiemann.cc.
References DRiemannHit_t::cdc, DRiemannHit_t::covx, DRiemannHit_t::covxy, DRiemannHit_t::covy, DRiemannHit_t::covz, dir, DCoordinateSystem::origin, rc, sqrt(), temp, DCoordinateSystem::udir, DCDCTrackHit::wire, xc, DRiemannHit_t::XY, yc, DRiemannHit_t::z, and Z_VERTEX.
Referenced by FitTrack().
double DTrackFitterRiemann::GetStereoZ | ( | double | dx, |
double | dy, | ||
DRiemannHit_t * | hit | ||
) |
Definition at line 466 of file DTrackFitterRiemann.cc.
References DRiemannHit_t::cdc, DCoordinateSystem::origin, rc, sqrt(), temp, DCoordinateSystem::udir, DCDCTrackHit::wire, xc, yc, and Z_VERTEX.
Referenced by FitTrack().
|
inherited |
|
inlinevirtual |
|
inherited |
Definition at line 94 of file DTrackFitter.cc.
References start_time, and prof_time::TimeDiffNow().
Referenced by DTrackTimeBased_factory::AddMissingTrackHypothesis(), DTrackWireBased_factory::DoFit(), DTrackTimeBased_factory::DoFit(), DTrackTimeBased_factory_StraightLine::evnt(), DTrackWireBased_factory_StraightLine::evnt(), DTrackWireBased_factory_THROWN::evnt(), DTrackTimeBased_factory_THROWN::evnt(), and DTrackCandidate_factory_THROWN::evnt().
|
inlineinherited |
Definition at line 170 of file DTrackFitter.h.
Referenced by DTrackTimeBased_factory::AddMissingTrackHypothesis(), DTrackWireBased_factory::DoFit(), DTrackTimeBased_factory::DoFit(), and DTrackTimeBased_factory_StraightLine::evnt().
|
inlineinherited |
Definition at line 171 of file DTrackFitter.h.
jerror_t DTrackFitterRiemann::SetSeed | ( | double | my_q, |
const DVector3 & | pos, | ||
const DVector3 & | mom, | ||
double | mass | ||
) |
Definition at line 381 of file DTrackFitterRiemann.cc.
References _DBG_, B, DTrackFitter::bfield, D, DTrackFitter::fdchits, DTrackFitter::fit_type, DMagneticFieldMap::GetBz(), DTrackFitter::kTimeBased, mass2, one_over_vcosl, DCoordinateSystem::origin, p, phi0, q, rc, DFDCPseudo::s, sin(), sqrt(), tanl, theta, u, DCoordinateSystem::udir, DFDCPseudo::w, DFDCPseudo::wire, xc, yc, and z_vertex.
Referenced by FitTrack().
|
private |
Definition at line 69 of file DTrackFitterRiemann.h.
Referenced by FitTrack(), and SetSeed().
|
protectedinherited |
Definition at line 228 of file DTrackFitter.h.
Referenced by DTrackFitterKalmanSIMD::CalcDerivAndJacobian(), DTrackFitterALT1::DTrackFitterALT1(), DTrackFitterKalmanSIMD::DTrackFitterKalmanSIMD(), DTrackFitterKalmanSIMD::ExtrapolateCentralToOtherDetectors(), DTrackFitterKalmanSIMD::ExtrapolateForwardToOtherDetectors(), DTrackFitterKalmanSIMD::ExtrapolateToVertex(), DTrackFitterKalmanSIMD::FillPullsVectorEntry(), FitTrack(), DTrackLSFitter::FitTrack(), DTrackFitterKalmanSIMD_ALT1::KalmanForward(), DTrackFitterKalmanSIMD::KalmanForward(), DTrackFitterKalmanSIMD::KalmanLoop(), DTrackFitterKalmanSIMD::PropagateCentral(), DTrackFitterKalmanSIMD::SetCDCForwardReferenceTrajectory(), DTrackFitterKalmanSIMD::SetCDCReferenceTrajectory(), DTrackFitterKalmanSIMD::SetReferenceTrajectory(), SetSeed(), DTrackFitterKalmanSIMD::SmoothCentral(), DTrackFitterKalmanSIMD::Step(), DTrackFitterKalmanSIMD::StepJacobian(), and DTrackFitterKalmanSIMD::StepStateAndCovariance().
|
private |
Definition at line 82 of file DTrackFitterRiemann.h.
Referenced by ComputeIntersections(), and FitCircle().
|
protectedinherited |
Definition at line 224 of file DTrackFitter.h.
Referenced by DTrackFitterALT1::FillDebugHists(), DTrackFitterStraightTrack::FitCentralTrack(), DTrackFitterStraightTrack::FitForwardTrack(), FitTrack(), DTrackFitterALT1::FitTrack(), DTrackLSFitter::FitTrack(), DTrackFitterStraightTrack::FitTrack(), DTrackFitterKalmanSIMD::FitTrack(), DTrackFitterALT1::GetHits(), DTrackFitterStraightTrack::KalmanFilter(), and DTrackFitterStraightTrack::Smooth().
|
protectedinherited |
Definition at line 241 of file DTrackFitter.h.
Referenced by DTrackFitterKalmanSIMD::CentralFit(), DTrackFitterStraightTrack::FitCentralTrack(), DTrackFitterStraightTrack::FitForwardTrack(), DTrackFitterALT1::FitTrack(), DTrackLSFitter::FitTrack(), DTrackFitterStraightTrack::FitTrack(), DTrackFitterKalmanSIMD::ForwardCDCFit(), DTrackFitterKalmanSIMD::ForwardFit(), and DTrackFitterKalmanSIMD::KalmanLoop().
|
protectedinherited |
Definition at line 235 of file DTrackFitter.h.
Referenced by DTrackFitterKalmanSIMD::CentralFit(), ChiSq(), DTrackFitterALT1::ChiSq(), DTrackFitterKalmanSIMD::ChiSq(), FitTrack(), DTrackFitterALT1::FitTrack(), DTrackLSFitter::FitTrack(), DTrackFitterStraightTrack::FitTrack(), DTrackFitterKalmanSIMD::FitTrack(), DTrackFitterKalmanSIMD::ForwardCDCFit(), DTrackFitterKalmanSIMD::ForwardFit(), DTrackLSFitter::getChiSquared(), and DTrackFitterALT1::LeastSquaresB().
|
protectedinherited |
Definition at line 250 of file DTrackFitter.h.
Referenced by DTrackFitterKalmanSIMD::CalcDeriv(), DTrackFitterKalmanSIMD::CalcDerivAndJacobian(), DTrackFitterKalmanSIMD::ExtrapolateCentralToOtherDetectors(), DTrackFitterKalmanSIMD::ExtrapolateForwardToOtherDetectors(), DTrackFitterKalmanSIMD::ExtrapolateToVertex(), DTrackFitterKalmanSIMD::KalmanCentral(), DTrackFitterKalmanSIMD_ALT1::KalmanForward(), DTrackFitterKalmanSIMD::KalmanForward(), DTrackFitterKalmanSIMD::KalmanForwardCDC(), DTrackFitterKalmanSIMD::PropagateCentral(), DTrackFitterKalmanSIMD::PropagateForward(), DTrackFitterKalmanSIMD::PropagateForwardCDC(), and DTrackFitterKalmanSIMD::StepJacobian().
|
private |
Definition at line 72 of file DTrackFitterRiemann.h.
Referenced by ComputeCR(), FitLine(), and FitTrack().
|
private |
Definition at line 73 of file DTrackFitterRiemann.h.
Referenced by ComputeCRPhi(), FitCircle(), and FitTrack().
|
private |
Definition at line 74 of file DTrackFitterRiemann.h.
Referenced by ComputeCz(), FitLine(), and FitTrack().
|
private |
Definition at line 65 of file DTrackFitterRiemann.h.
Referenced by ChiSq(), ComputeIntersections(), FitCircle(), FitTrack(), GetHelicalPosition(), and SetSeed().
|
protectedinherited |
Definition at line 238 of file DTrackFitter.h.
Referenced by DTrackFitterKalmanSIMD::CentralFit(), DTrackFitterKalmanSIMD::ExtrapolateCentralToOtherDetectors(), DTrackFitterKalmanSIMD::ExtrapolateForwardToOtherDetectors(), DTrackFitterKalmanSIMD::FitTrack(), DTrackFitterKalmanSIMD::ForwardCDCFit(), DTrackFitterKalmanSIMD::ForwardFit(), DTrackFitterStraightTrack::GetExtrapolations(), and DTrackFitterKalmanSIMD::KalmanLoop().
|
protectedinherited |
Definition at line 225 of file DTrackFitter.h.
Referenced by DTrackFitterALT1::FillDebugHists(), DTrackFitterStraightTrack::FitForwardTrack(), FitLine(), FitTrack(), DTrackFitterALT1::FitTrack(), DTrackLSFitter::FitTrack(), DTrackFitterStraightTrack::FitTrack(), DTrackFitterKalmanSIMD::FitTrack(), DTrackFitterALT1::GetHits(), DTrackFitterStraightTrack::KalmanFilter(), DTrackFitterStraightTrack::SetReferenceTrajectory(), SetSeed(), and DTrackFitterStraightTrack::Smooth().
|
protectedinherited |
Definition at line 242 of file DTrackFitter.h.
Referenced by DTrackFitterStraightTrack::FitForwardTrack(), DTrackFitterALT1::FitTrack(), DTrackLSFitter::FitTrack(), DTrackFitterKalmanSIMD::ForwardFit(), and DTrackFitterKalmanSIMD::KalmanLoop().
|
protectedinherited |
Definition at line 234 of file DTrackFitter.h.
Referenced by FitTrack(), DTrackFitterALT1::FitTrack(), DTrackLSFitter::FitTrack(), DTrackFitterStraightTrack::FitTrack(), and DTrackFitterKalmanSIMD::FitTrack().
|
protectedinherited |
Definition at line 240 of file DTrackFitter.h.
Referenced by DTrackFitterALT1::FitTrack(), DTrackLSFitter::FitTrack(), and DTrackFitterKalmanSIMD::FitTrack().
|
protectedinherited |
Definition at line 227 of file DTrackFitter.h.
Referenced by DTrackFitterKalmanSIMD::CentralFit(), DTrackFitterKalmanSIMD::ExtrapolateToVertex(), FitTrack(), DTrackFitterALT1::FitTrack(), DTrackFitterStraightTrack::FitTrack(), DTrackFitterKalmanSIMD::FitTrack(), DTrackFitterKalmanSIMD::ForwardCDCFit(), DTrackFitterKalmanSIMD::ForwardFit(), DTrackFitterKalmanSIMD::KalmanCentral(), DTrackFitterStraightTrack::KalmanFilter(), DTrackFitterKalmanSIMD_ALT1::KalmanForward(), DTrackFitterKalmanSIMD::KalmanForward(), DTrackFitterKalmanSIMD::KalmanForwardCDC(), DTrackFitterKalmanSIMD::KalmanLoop(), DTrackFitterKalmanSIMD::PropagateCentral(), DTrackFitterKalmanSIMD::PropagateForward(), DTrackFitterKalmanSIMD::PropagateForwardCDC(), SetSeed(), and DTrackFitterStraightTrack::Smooth().
|
protectedinherited |
Definition at line 229 of file DTrackFitter.h.
Referenced by DTrackFitterALT1::DTrackFitterALT1(), DTrackFitterKalmanSIMD::DTrackFitterKalmanSIMD(), DTrackFitterStraightTrack::DTrackFitterStraightTrack(), DTrackFitterKalmanSIMD::ExtrapolateCentralToOtherDetectors(), DTrackFitterKalmanSIMD::ExtrapolateForwardToOtherDetectors(), DTrackFitterKalmanSIMD::ExtrapolateToVertex(), GetProcessNoise(), DTrackFitterKalmanSIMD::PropagateCentral(), DTrackFitterKalmanSIMD::PropagateForward(), and DTrackFitterKalmanSIMD::PropagateForwardCDC().
|
protectedinherited |
Definition at line 226 of file DTrackFitter.h.
Referenced by FitTrack(), DTrackFitterALT1::FitTrack(), DTrackFitterStraightTrack::FitTrack(), DTrackFitterKalmanSIMD::FitTrack(), DTrackFitterKalmanSIMD::KalmanLoop(), and DTrackLSFitter::setFitterStartParams().
|
protectedinherited |
Definition at line 244 of file DTrackFitter.h.
Referenced by DTrackFitterKalmanSIMD::CentralFit(), DTrackFitterStraightTrack::FitCentralTrack(), DTrackFitterStraightTrack::FitForwardTrack(), DTrackFitterKalmanSIMD::ForwardCDCFit(), DTrackFitterKalmanSIMD::ForwardFit(), and DTrackFitterKalmanSIMD::KalmanLoop().
|
protectedinherited |
Definition at line 231 of file DTrackFitter.h.
Referenced by DTrackFitterALT1::ChiSq(), DTrackFitterALT1::DTrackFitterALT1(), DTrackFitterALT1::FitTrack(), and DTrackLSFitter::FitTrack().
|
private |
Definition at line 62 of file DTrackFitterRiemann.h.
Referenced by FitTrack(), GetProcessNoise(), and SetSeed().
|
private |
Definition at line 58 of file DTrackFitterRiemann.h.
Referenced by ChiSq(), ComputeCRPhi(), FitCircle(), and FitTrack().
|
private |
Definition at line 59 of file DTrackFitterRiemann.h.
Referenced by ChiSq(), ComputeCR(), ComputeCz(), ComputeIntersections(), FitLine(), and FitTrack().
|
private |
Definition at line 81 of file DTrackFitterRiemann.h.
Referenced by ComputeIntersections(), and FitCircle().
|
protectedinherited |
Definition at line 236 of file DTrackFitter.h.
Referenced by ChiSq(), DTrackFitterALT1::ChiSq(), DTrackFitterALT1::FitTrack(), DTrackLSFitter::FitTrack(), DTrackFitterStraightTrack::FitTrack(), DTrackFitterKalmanSIMD::FitTrack(), DTrackFitterALT1::LeastSquaresB(), and DTrackFitterALT1::PrintChisqElements().
|
private |
Definition at line 66 of file DTrackFitterRiemann.h.
Referenced by FitTrack(), GetAxialPosition(), GetFDCPosition(), and SetSeed().
|
private |
Definition at line 66 of file DTrackFitterRiemann.h.
Referenced by FitTrack(), GetProcessNoise(), and SetSeed().
|
private |
Definition at line 65 of file DTrackFitterRiemann.h.
Referenced by ChiSq(), ComputeIntersections(), FitCircle(), FitTrack(), GetHelicalPosition(), and SetSeed().
|
protectedinherited |
Definition at line 247 of file DTrackFitter.h.
Referenced by DTrackFitterKalmanSIMD::FitTrack().
|
protectedinherited |
Definition at line 246 of file DTrackFitter.h.
Referenced by DTrackFitterKalmanSIMD::FitTrack().
|
private |
Definition at line 77 of file DTrackFitterRiemann.h.
Referenced by ComputeIntersections(), FitLine(), and FitTrack().
|
protectedinherited |
Definition at line 237 of file DTrackFitter.h.
Referenced by DTrackFitterKalmanSIMD::CentralFit(), DTrackFitterALT1::ChiSq(), DTrackFitterKalmanSIMD::ChiSq(), DTrackFitterKalmanSIMD::FitTrack(), DTrackFitterKalmanSIMD::ForwardCDCFit(), DTrackFitterKalmanSIMD::ForwardFit(), DTrackFitterKalmanSIMD::KalmanLoop(), DTrackFitterStraightTrack::Smooth(), and DTrackFitterKalmanSIMD_ALT1::SmoothForward().
|
private |
Definition at line 65 of file DTrackFitterRiemann.h.
Referenced by FitCircle(), FitTrack(), GetHelicalPosition(), and SetSeed().
|
private |
Definition at line 65 of file DTrackFitterRiemann.h.
Referenced by ChiSq(), ComputeCRPhi(), ComputeIntersections(), FitCircle(), FitTrack(), GetAxialPosition(), GetHelicalPosition(), GetStereoPosition(), GetStereoZ(), and SetSeed().
|
protectedinherited |
Definition at line 230 of file DTrackFitter.h.
Referenced by DTrackFitterALT1::DTrackFitterALT1().
|
private |
Definition at line 78 of file DTrackFitterRiemann.h.
Referenced by ComputeCz(), ComputeIntersections(), FitLine(), and FitTrack().
|
private |
Definition at line 65 of file DTrackFitterRiemann.h.
Referenced by ChiSq(), ComputeCR(), ComputeCRPhi(), ComputeCz(), FitLine(), FitTrack(), GetFDCPosition(), and SetSeed().
|
private |
Definition at line 66 of file DTrackFitterRiemann.h.
|
private |
Definition at line 65 of file DTrackFitterRiemann.h.
Referenced by FitCircle(), FitTrack(), GetAxialPosition(), GetStereoPosition(), GetStereoZ(), and SetSeed().
|
private |
Definition at line 65 of file DTrackFitterRiemann.h.
Referenced by FitCircle(), FitTrack(), GetAxialPosition(), GetStereoPosition(), GetStereoZ(), and SetSeed().
|
private |
Definition at line 65 of file DTrackFitterRiemann.h.
Referenced by ChiSq(), FitLine(), FitTrack(), GetFDCPosition(), and SetSeed().