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