]>
Commit | Line | Data |
---|---|---|
33314186 | 1 | #ifndef ALIRAWDATAARRAYV2_H |
2 | #define ALIRAWDATAARRAYV2_H | |
3 | ||
4 | // Author: Cvetan Cheshkov 27/03/2007 | |
5 | ||
6 | /* Copyright(c) 1998-2003, ALICE Experiment at CERN, All rights reserved. * | |
7 | * See cxx source for full Copyright notice */ | |
8 | ||
9 | ////////////////////////////////////////////////////////////////////////// | |
10 | // // | |
11 | // AliRawDataArrayV2 // | |
12 | // A container object which is used in order to write the sub-detector // | |
13 | // raw-data payloads into a separate branches // | |
14 | // // | |
15 | ////////////////////////////////////////////////////////////////////////// | |
16 | ||
17 | #ifndef ROOT_TObject | |
18 | #include <TObject.h> | |
19 | #endif | |
20 | #include <TClonesArray.h> | |
21 | ||
22 | class AliRawData; | |
23 | ||
24 | class AliRawDataArrayV2 : public TObject { | |
25 | ||
26 | public: | |
27 | AliRawDataArrayV2(); | |
28 | AliRawDataArrayV2(Int_t n); | |
29 | virtual ~AliRawDataArrayV2(); | |
30 | ||
31 | void ClearData(); | |
32 | AliRawData *Add(); | |
33 | ||
34 | private: | |
35 | TClonesArray fRawDataArray; // Array containing raw-data payloads | |
36 | Int_t fNAlloc; //! | |
37 | ||
38 | AliRawDataArrayV2(const AliRawDataArrayV2 &); // not implemented, usage causes | |
39 | AliRawDataArrayV2 &operator=(const AliRawDataArrayV2 &); // link time error | |
40 | ||
41 | ClassDef(AliRawDataArrayV2,1) // Alice raw event buffer | |
42 | }; | |
43 | ||
44 | #endif |