Go to the documentation of this file.
8 #ifndef LITSCALTRACK_H_
9 #define LITSCALTRACK_H_
18 using std::stringstream;
228 vector<const LitScalPixelHit*>
fHits;
252 binary_function<const LitScalTrack*, const LitScalTrack*, bool> {
274 binary_function<const LitScalTrack*, const LitScalTrack*, bool> {
295 binary_function<const LitScalTrack*, const LitScalTrack*, bool> {
unsigned short fPreviousTrackId
virtual ~LitScalTrack()
Destructor.
Base class for scalar pixel hits.
Comparator class used in STL algorithms for LitScalTrack class.
unsigned short GetNDF() const
Returns number of degrees of freedom.
fscal GetChiSq() const
Returns chi square of the track.
const LitScalPixelHit * GetHit(unsigned short index) const
Returns pointer to the hit.
unsigned short fNofMissingHits
Comparator class used in STL algorithms for LitScalTrack class.
Track parameters data class.
void SetLastStationId(unsigned short lastStationId)
Set last station ID.
LitScalTrack()
Constructor.
unsigned short GetNofHits() const
Returns number of hits in track.
bool operator()(const LitScalTrack *track1, const LitScalTrack *track2) const
void SetPreviousTrackId(unsigned short previousTrackId)
Sets previous trackId.
void AddHit(const LitScalPixelHit *hit)
Adds hit to track.
void IncChiSq(fscal dChiSq)
Increases chi square by dChiSq.
unsigned short GetNofMissingHits() const
Returns number of missing hits.
void SetNofHits(unsigned short nofHits)
Depricated.
bool IsGood() const
Returns true if track is good.
void SetParamFirst(const LitTrackParamScal ¶m)
Sets first track parameter.
friend ostream & operator<<(ostream &strm, const LitScalTrack &track)
Operator << for convenient output to ostream.
string ToString() const
Returns string representation of the class.
void SetNofMissingHits(unsigned short nofMissingHits)
Sets number of missing hits.
unsigned char fLastStationId
Base class for scalar pixel hits.
unsigned short GetPreviousTrackId() const
Return Previous track index.
unsigned short GetLastStationId() const
Returns last station ID.
void IncNofMissingHits(unsigned short dNofMissingHits=1)
Increases number of missing hits by dNofMissingHits.
Comparator class used in STL algorithms for LitScalTrack class.
const LitTrackParamScal & GetParamFirst() const
Returns first parameter of the track.
LitTrackParamScal fParamFirst
bool operator()(const LitScalTrack *track1, const LitScalTrack *track2) const
void SetChiSq(fscal chiSq)
Sets chi square.
void SetParamLast(const LitTrackParamScal ¶m)
Sets last track parameter.
void IsGood(bool isGood)
Sets is good track.
const LitTrackParamScal & GetParamLast() const
Returns last parameter of the track.
vector< const LitScalPixelHit * > fHits
unsigned short NDF(const LitScalTrack &track)
Returns number of degrees of freedom for the track.
LitTrackParamScal fParamLast
bool operator()(const LitScalTrack *track1, const LitScalTrack *track2) const
void SetNDF(unsigned short NDF)
Sets number of degrees of freedom.