10 #ifndef _FASTTRACKLET_H
11 #define _FASTTRACKLET_H
34 void identify(std::ostream& os = std::cout)
const;
72 void print(std::ostream& os = std::cout)
const;
82 double getPosRef(
double default_val = -9999.);
129 void identify(std::ostream& os = std::cout)
const { os <<
"Tracklet @sID=" <<
stationID << std::endl;}
138 void print(std::ostream& os = std::cout);
176 double Eval(
const double* par);
177 double Eval4(
const double* par);
259 void identify(std::ostream& os = std::cout)
const;
264 bool empty()
const {
return trackletVec.empty(); }
265 size_t size()
const {
return trackletVec.size(); }
271 size_t erase(
const size_t index);
273 std::vector<Tracklet*>::const_iterator
begin()
const {
return trackletVec.begin(); }
274 std::vector<Tracklet*>::const_iterator
end()
const {
return trackletVec.end(); }
276 std::vector<Tracklet*>::iterator
begin() {
return trackletVec.begin(); }
277 std::vector<Tracklet*>::iterator
end() {
return trackletVec.end(); }
280 std::vector<Tracklet*> trackletVec;
Definition of hit structure.
void linearFit_iterative()
double getClosestApproach(double z, double pos)
PropSegment * Clone() const
void print(std::ostream &os=std::cout) const
double getExpPosition(double z) const
int isValid() const
isValid returns non zero if object contains vailid data
double getPosRef(double default_val=-9999.)
void identify(std::ostream &os=std::cout) const
int isValid() const
isValid returns non zero if object contains vailid data
bool operator<(const SignedHit elem) const
SignedHit * Clone() const
bool operator==(const SignedHit elem) const
void identify(std::ostream &os=std::cout) const
double pos(int sign_input)
void identify(std::ostream &os=std::cout) const
const Tracklet * at(const size_t index) const
virtual ~TrackletVector()
std::vector< Tracklet * >::const_iterator end() const
TrackletVector * Clone() const
std::vector< Tracklet * >::iterator end()
std::vector< Tracklet * >::iterator begin()
size_t erase(const size_t index)
int isValid() const
isValid returns non zero if object contains vailid data
void push_back(const Tracklet *tracklet)
std::vector< Tracklet * >::const_iterator begin() const
double getExpPositionY(double z) const
std::list< SignedHit > hits
bool operator<(const Tracklet &elem) const
TVector3 getMomentumSt1() const
int isValid() const
isValid returns non zero if object contains vailid data
void identify(std::ostream &os=std::cout) const
double Eval(const double *par)
double getExpPosErrorY(double z) const
double Eval4(const double *par)
void getXZErrorInSt1(double &err_tx_st1, double &err_x0_st1) const
Tracklet operator*(const Tracklet &elem) const
TVector3 getMomentumSt3() const
double getExpPosErrorX(double z) const
int getExpElementID(int detectorID) const
TVector3 getExpMomentum(double z) const
double getMomProb() const
bool similarity(const Tracklet &elem) const
double residual[nChamberPlanes]
double getExpPositionX(double z) const
SRecTrack getSRecTrack(bool hyptest=true)
SignedHit getSignedHit(int index)
double getExpPositionW(int detectorID) const
double getMomentum() const
Tracklet operator+(const Tracklet &elem) const
void print(std::ostream &os=std::cout)
Tracklet merge(Tracklet &elem)
int getCharge() const
Return the charge (+1 or -1) of this tracklet.
void getXZInfoInSt1(double &tx_st1, double &x0_st1) const