![]() |
AliRoot Core
edcc906 (edcc906)
|
Class to write ALTRO formated raw data from an array of AliFMDDigit objects. More...
#include <AliFMDRawWriter.h>
Public Member Functions | |
AliFMDRawWriter (AliFMD *fmd) | |
virtual | ~AliFMDRawWriter () |
virtual void | Exec (Option_t *option="") |
virtual Long_t | WriteDigits (TClonesArray *digits) |
void | ZeroSuppress (Int_t *&data, Int_t nWords, const Float_t *peds, const Float_t *noise, UShort_t threshold) const |
Protected Member Functions | |
AliFMDRawWriter (const AliFMDRawWriter &o) | |
AliFMDRawWriter & | operator= (const AliFMDRawWriter &) |
void | WriteRCUTrailer (AliAltroBufferV3 *altro, UInt_t ddl, Bool_t zs, UShort_t factor, UShort_t rate) const |
Protected Attributes | |
AliFMD * | fFMD |
UShort_t | fSampleRate |
Pointer to detector description. More... | |
UShort_t | fChannelsPerAltro |
UShort_t | fThreshold |
Class to write ALTRO formated raw data from an array of AliFMDDigit objects.
Definition at line 45 of file AliFMDRawWriter.h.
AliFMDRawWriter::AliFMDRawWriter | ( | AliFMD * | fmd | ) |
Constructor
fmd | Pointer to detector object. |
Definition at line 64 of file AliFMDRawWriter.cxx.
|
inlinevirtual |
Destructor
Definition at line 52 of file AliFMDRawWriter.h.
|
inlineprotected |
Definition at line 71 of file AliFMDRawWriter.h.
|
virtual |
Write the output from AliFMD object.
option | Not used |
Definition at line 79 of file AliFMDRawWriter.cxx.
Referenced by Convert2Raw(), AliFMD::Digits2Raw(), and ~AliFMDRawWriter().
|
inlineprotected |
Definition at line 78 of file AliFMDRawWriter.h.
|
virtual |
Write an array of AliFMDDigit objects as raw ALTRO data.
digits | Array of AliFMDDigit objects to convert to raw ALTRO data. |
Definition at line 170 of file AliFMDRawWriter.cxx.
Referenced by Exec(), TestRawIO(), ZeroSuppress(), and ~AliFMDRawWriter().
|
protected |
Definition at line 320 of file AliFMDRawWriter.cxx.
Referenced by operator=(), and WriteDigits().
void AliFMDRawWriter::ZeroSuppress | ( | Int_t *& | data, |
Int_t | nWords, | ||
const Float_t * | peds, | ||
const Float_t * | noise, | ||
UShort_t | threshold | ||
) | const |
Do zero-suppression of channel data.
data | Contain nWords of valid data. On input, it contains the full channel data. On output it will contain the zero-suppresed data. |
peds | Contain nWords pedestals |
noise | Contain nWords pedestal widths |
threshold | Zero suppression threshold. |
Definition at line 354 of file AliFMDRawWriter.cxx.
Referenced by runTest(), WriteDigits(), and ~AliFMDRawWriter().
|
protected |
Definition at line 86 of file AliFMDRawWriter.h.
|
protected |
Definition at line 84 of file AliFMDRawWriter.h.
Referenced by Exec(), and WriteDigits().
|
protected |
Pointer to detector description.
Definition at line 85 of file AliFMDRawWriter.h.
|
protected |
Definition at line 87 of file AliFMDRawWriter.h.