- void SetSampleRate(UShort_t sampleRate=1) { fSampleRate = sampleRate; }
- void SetChannelsPerAltro(UShort_t size=128) { fChannelsPerAltro = size; }
- void SetThreshold(UShort_t t=0) { fThreshold = t; }
+ /** Write an array of AliFMDDigit objects as raw ALTRO data.
+ @param digits Array of AliFMDDigit objects to convert to raw
+ ALTRO data. */
+ virtual Long_t WriteDigits(TClonesArray* digits);
+ /** Do zero-suppression of channel data.
+ @param data Contain @a nWords of valid data. On input, it
+ contains the full channel data. On output it
+ will contain the zero-suppresed data.
+ @param peds Contain @a nWords pedestals
+ @param noise Contain @a nWords pedestal widths
+ @param threshold Zero suppression threshold. */
+ void ZeroSuppress(Int_t*& data, Int_t nWords, const Float_t* peds,
+ const Float_t* noise, UShort_t threshold) const;