]> git.uio.no Git - u/mrichter/AliRoot.git/blob - RAW/AliRawVEquipment.h
ALIROOT-5420 Uniform interface to CDH v2 and CDH v3
[u/mrichter/AliRoot.git] / RAW / AliRawVEquipment.h
1 #ifndef ALIRAWVEQUIPMENT_H
2 #define ALIRAWVEQUIPMENT_H
3 // Author: Cvetan Cheshkov 11/05/2009
4
5 /* Copyright(c) 1998-2003, ALICE Experiment at CERN, All rights reserved. *
6  * See cxx source for full Copyright notice                               */
7
8 //////////////////////////////////////////////////////////////////////////
9 //                                                                      //
10 // AliRawVEquipment                                                     //
11 //                                                                      //
12 // Set of classes defining the ALICE RAW event format. The AliRawVEvent //
13 // class defines a RAW event. It consists of an AliEventHeader object   //
14 // an AliEquipmentHeader object, an AliRawData object and an array of   //
15 // sub-events, themselves also being AliRawVEvents. The number of       //
16 // sub-events depends on the number of DATE LDC's.                      //
17 // The AliRawVEvent objects are written to a ROOT file using different  //
18 // technologies, i.e. to local disk via AliRawDB or via rfiod using     //
19 // AliRawRFIODB or via rootd using AliRawRootdDB or to CASTOR via       //
20 // rootd using AliRawCastorDB (and for performance testing there is     //
21 // also AliRawNullDB).                                                  //
22 // The AliRunDB class provides the interface to the run and file        //
23 // catalogues (AliEn or plain MySQL).                                   //
24 // The AliStats class provides statics information that is added as     //
25 // a single keyed object to each raw file.                              //
26 // The AliTagDB provides an interface to a TAG database.                //
27 // The AliMDC class is usid by the "alimdc" stand-alone program         //
28 // that reads data directly from DATE.                                  //
29 //                                                                      //
30 //////////////////////////////////////////////////////////////////////////
31
32 #ifndef ROOT_TObject
33 #include <TObject.h>
34 #endif
35
36 // Forward class declarations
37 class AliRawEquipmentHeader;
38 class AliRawData;
39
40 class AliRawVEquipment : public TObject {
41
42 public:
43    AliRawVEquipment() { }
44    virtual ~AliRawVEquipment() { }
45
46    virtual AliRawEquipmentHeader *GetEquipmentHeader() = 0;
47    virtual AliRawData            *GetRawData() = 0;
48
49    virtual void                   CloneRawData(const AliRawData *rawData) = 0;
50
51 private:
52
53    AliRawVEquipment(const AliRawVEquipment& eq);
54    AliRawVEquipment& operator = (const AliRawVEquipment& eq);
55
56    ClassDef(AliRawVEquipment,1)  // ALICE raw equipment object
57 };
58
59 #endif