17#ifndef TRKDIFPIECETRAJ_HH
18#define TRKDIFPIECETRAJ_HH
19#include "TrkBase/TrkSimpTraj.h"
20#include "TrkBase/TrkKalDeriv.h"
21#include "TrkBase/TrkDirection.h"
85 void print(std::ostream& os)
const;
126 int trajIndex(
const double& global,
double& local)
const;
void printAll(std::ostream &os) const
TrkDifPieceTraj(const TrkDifPieceTraj &)
TrkDifPieceTraj(const TrkSimpTraj &, const double lowlim, const double hilim)
HepPoint3D position(double) const
Hep3Vector direction(double) const
HepMatrix derivDeflect(double fltlen, deflectDirection) const
int trajIndex(const double &global, double &local) const
virtual ~TrkDifPieceTraj()
const TrkErrCode & append(TrkSimpTraj *traj, double &gap)
const TrkErrCode & append(double, const TrkDifPieceTraj &, double &gap)
TrkDifPieceTraj(const std::vector< TrkSimpTraj * > &trajs)
void getDFInfo(double fltLen, DifPoint &pos, DifVector &direction, DifVector &delDirect) const
void getInfo(double fltLen, HepPoint3D &, Hep3Vector &direction, Hep3Vector &delDirect) const
TrkDifPieceTraj & invert()
const TrkErrCode & prepend(double, const TrkDifPieceTraj &, double &gap)
void getInfo(double fltLen, HepPoint3D &, Hep3Vector &direction) const
int resize(double len, trkDirection)
const TrkErrCode & append(double gfltlen, TrkSimpTraj *, double &gap)
double globalDist(int index, double locdist) const
void getDFInfo2(double fltlen, DifPoint &pos, DifVector &direction) const
double curvature(double f=0.) const
double distTo2ndError(double s, double tol, int pathDir) const
TrkDifPieceTraj & operator=(const TrkDifPieceTraj &)
std::deque< TrkSimpTraj * > _localtraj
TrkDifPieceTraj(TrkSimpTraj *, const double lowlim, const double hilim)
const TrkErrCode & prepend(TrkSimpTraj *traj, double &gap)
std::deque< double > _globalrange
bool locallyValid(double glen, double tol=0.0) const
void print(std::ostream &os) const
const TrkErrCode & prepend(double gfltlen, TrkSimpTraj *, double &gap)
double localDist(int index, double globdist) const
Hep3Vector delDirect(double) const
double distTo1stError(double s, double tol, int pathDir) const
const TrkErrCode & append(double gfltlen, const TrkSimpTraj &, double &gap)
HepMatrix derivPFract(double fltlen) const
const TrkSimpTraj * localTrajectory(double, double &) const
HepMatrix derivDisplace(double fltlen, deflectDirection idir) const
const TrkErrCode & prepend(double gfltlen, const TrkSimpTraj &, double &gap)
TrkDifPieceTraj * clone() const
void setFlightRange(double newrange[2])
bool operator==(const TrkDifPieceTraj &other) const