UShort_t FilterTailNextSample(Int_t adc, UShort_t value);
// tracklet calculation
- void AddHitToFitreg(Int_t adc, UShort_t timebin, UShort_t qtot, Short_t ypos, Int_t label);
+ void AddHitToFitreg(Int_t adc, UShort_t timebin, UShort_t qtot, Short_t ypos, Int_t label[]);
void CalcFitreg();
void TrackletSelection();
void FitTracklet();
// hit detection
// individual hits can be stored as MC info
struct Hit_t { // Array of detected hits (only available in MC)
+ Hit_t() : fChannel(0), fTimebin(0), fQtot(0), fYpos(0) { fLabel[0] = 0; fLabel[1] = 0; fLabel[2] = 0; }
Int_t fChannel; // ADC channel of the hit
Int_t fTimebin; // timebin of the hit
Int_t fQtot; // total charge of the hit
Int_t fYpos; // calculated y-position
- Int_t fLabel; // label (only in MC)
+ Int_t fLabel[3]; // up to 3 labels (only in MC)
} fHits[fgkNHitsMC];
Int_t fNHits; // Number of detected hits