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