1 #ifndef ALIFMDRAWREADER_H 2 #define ALIFMDRAWREADER_H 24 #include <TClonesArray.h> 29 class AliAltroRawStreamV3;
75 virtual void Exec(Option_t* option=
"");
105 TArrayS &pulseLength,
106 Bool_t* detectors=0);
146 Int_t
NextSample(UShort_t& det, Char_t& rng, UShort_t& sec, UShort_t& str,
147 UShort_t& sam, UShort_t& rat, Short_t& adc,
148 Bool_t& zs, UShort_t& fac);
169 UShort_t& sec, UShort_t& str,
170 Short_t& adc, Bool_t& zs,
197 static Bool_t
SelectSample(UShort_t samp, UShort_t rate);
234 Int_t
NewDDL(AliAltroRawStreamV3& input, UShort_t& det);
247 Int_t
NewChannel(
const AliAltroRawStreamV3& input,
248 UShort_t det, Char_t& ring,
249 UShort_t& sec, Short_t& strbase);
259 Bool_t
NewBunch(
const AliAltroRawStreamV3& input,
260 UShort_t& start, UShort_t& length);
274 Int_t
NewSample(
const AliAltroRawStreamV3& input,
275 Int_t i, UShort_t t, UShort_t sec,
276 UShort_t strbase, Short_t& str, UShort_t& samp);
303 void AddError(Int_t ddl, Int_t hwaddr);
304 void ReadbackError(
const AliAltroRawStreamV3& input,
const char* format, ...);
Int_t NextSample(UShort_t &det, Char_t &rng, UShort_t &sec, UShort_t &str, UShort_t &sam, UShort_t &rat, Short_t &adc, Bool_t &zs, UShort_t &fac)
void ReadbackError(const AliAltroRawStreamV3 &input, const char *format,...)
Int_t GetHalfringIndex(UShort_t det, Char_t ring, UShort_t board) const
Map of an integer per strip.
virtual void Exec(Option_t *option="")
UShort_t NoiseFactor(UShort_t ddl) const
Bool_t NewBunch(const AliAltroRawStreamV3 &input, UShort_t &start, UShort_t &length)
void AddError(Int_t ddl, Int_t hwaddr)
void SetVerbose(Bool_t verb=kTRUE)
AliFMDRawReader(const AliFMDRawReader &o)
Class to read ALTRO formated raw data from an AliRawReader object.
UShort_t GetNErrors(UShort_t ddl) const
Bool_t fZeroSuppress[kNDDL]
Per strip of unisgned shorts (16 bit) data.
Per digitizer card pulser calibration.
AliFMDRawReader(AliRawReader *reader, TTree *array)
Bool_t IsZeroSuppressed(UShort_t ddl) const
Int_t NextSignal(UShort_t &det, Char_t &rng, UShort_t &sec, UShort_t &str, Short_t &adc, Bool_t &zs, UShort_t &fac)
virtual ~AliFMDRawReader()
UShort_t fNoiseFactor[kNDDL]
static Bool_t SelectSample(UShort_t samp, UShort_t rate)
UInt_t Get32bitWord(Int_t idx)
UShort_t fSampleRate[kNDDL]
Pointer to raw reader.
AliRawReader * fReader
Pointer to tree to read into.
virtual Bool_t ReadAdcs(TClonesArray *array)
UShort_t GetL1Phase(UShort_t ddl) const
ULong_t GetNwords() const
virtual Bool_t ReadSODevent(AliFMDCalibSampleRate *samplerate, AliFMDCalibStripRange *striprange, TArrayS &pulseSize, TArrayS &pulseLength, Bool_t *detectors=0)
Per digitizer card pulser calibration.
Int_t NewChannel(const AliAltroRawStreamV3 &input, UShort_t det, Char_t &ring, UShort_t &sec, Short_t &strbase)
AliFMDRawReader & operator=(const AliFMDRawReader &)
Int_t NewDDL(AliAltroRawStreamV3 &input, UShort_t &det)
Int_t NewSample(const AliAltroRawStreamV3 &input, Int_t i, UShort_t t, UShort_t sec, UShort_t strbase, Short_t &str, UShort_t &samp)