]>
Commit | Line | Data |
---|---|---|
4347b38f | 1 | #ifndef ALIFMDRAWSTREAM_H |
2 | #define ALIFMDRAWSTREAM_H | |
0d0e6995 | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights |
4 | * reserved. | |
5 | * | |
6 | * Latest changes by Christian Holm Christensen <cholm@nbi.dk> | |
7 | * | |
8 | * See cxx source for full Copyright notice | |
9 | */ | |
c2fc1258 | 10 | /** @file AliFMDRawStream.h |
11 | @author Christian Holm Christensen <cholm@nbi.dk> | |
12 | @date Tue Mar 28 12:53:26 2006 | |
13 | @brief Class to read ALTRO formated data from an AliRawReader. | |
14 | */ | |
4347b38f | 15 | #ifndef ALIALTRORAWSTREAM_H |
16 | # include <AliAltroRawStream.h> | |
17 | #endif | |
18 | ||
19 | ||
c2fc1258 | 20 | /** @class AliFMDRawStream |
21 | @brief Class to read ALTRO formated data from an AliRawReader. | |
22 | This class is mostly here to set | |
23 | AliAltroRawStream::fNoAltroMapping to false. Furthermore, it | |
24 | defines the utility function ReadChannel to read in a full ALTRO | |
25 | channel. The data is unpacked into the passed array. | |
26 | */ | |
4347b38f | 27 | class AliFMDRawStream : public AliAltroRawStream |
28 | { | |
4347b38f | 29 | public: |
c2fc1258 | 30 | /** Constructor |
31 | @param reader Raw reader to use */ | |
32 | AliFMDRawStream(AliRawReader* reader); | |
33 | /** Destructor */ | |
088f8e79 | 34 | virtual ~AliFMDRawStream() {} |
4347b38f | 35 | |
c2fc1258 | 36 | /** Read one ALTRO channel from the raw reader |
37 | @param ddl On return, the DDL | |
38 | @param addr On return, the hardware address | |
39 | @param len On return, the number of entries filled in @a data | |
40 | @param data On return, the read ADC channels. | |
41 | @return @c true on success */ | |
42 | virtual Bool_t ReadChannel(UInt_t& ddl, UInt_t& addr, | |
43 | UInt_t& len, UShort_t* data); | |
1e8f773e | 44 | protected: |
e802be3e | 45 | |
4347b38f | 46 | ClassDef(AliFMDRawStream, 0) // Read raw FMD Altro data |
47 | }; | |
48 | ||
49 | #endif | |
0d0e6995 | 50 | //____________________________________________________________________ |
51 | // | |
52 | // Local Variables: | |
53 | // mode: C++ | |
54 | // End: | |
55 | // | |
56 | // EOF | |
57 | // |