17#ifndef TRKDIFPIECETRAJ_HH
18#define TRKDIFPIECETRAJ_HH
85 void print(std::ostream& os)
const;
86 void printAll(std::ostream& os)
const;
126 int trajIndex(
const double& global,
double& local)
const;
TFile f("ana_bhabha660a_dqa_mcPat_zy_old.root")
void printAll(std::ostream &os) const
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
void getDFInfo(double fltLen, DifPoint &pos, DifVector &direction, DifVector &delDirect) const
TrkDifPieceTraj & invert()
std::deque< TrkSimpTraj * > _localtraj
void getInfo(double fltLen, HepPoint3D &, Hep3Vector &direction) const
int resize(double len, trkDirection)
double globalDist(int index, double locdist) const
std::deque< double > _globalrange
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 &)
bool locallyValid(double glen, double tol=0.0) const
void print(std::ostream &os) const
double localDist(int index, double globdist) const
Hep3Vector delDirect(double) const
double distTo1stError(double s, double tol, int pathDir) const
virtual ~TrkDifPieceTraj()
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