During simulation: fill STU region w/ non null time sums
[u/mrichter/AliRoot.git] / RAW / AliRawEquipment.h
CommitLineData
94d918a7 1#ifndef ALIRAWEQUIPMENT_H
2#define ALIRAWEQUIPMENT_H
d04aea32 3// @(#) $Id$
94d918a7 4// Author: Fons Rademakers 26/11/99
5// Updated: Dario Favretto 15/04/2003
6
7/* Copyright(c) 1998-2003, ALICE Experiment at CERN, All rights reserved. *
8 * See cxx source for full Copyright notice */
9
10//////////////////////////////////////////////////////////////////////////
11// //
12// AliRawEvent //
13// //
14// Set of classes defining the ALICE RAW event format. The AliRawEvent //
15// class defines a RAW event. It consists of an AliEventHeader object //
16// an AliEquipmentHeader object, an AliRawData object and an array of //
17// sub-events, themselves also being AliRawEvents. The number of //
18// sub-events depends on the number of DATE LDC's. //
19// The AliRawEvent objects are written to a ROOT file using different //
20// technologies, i.e. to local disk via AliRawDB or via rfiod using //
21// AliRawRFIODB or via rootd using AliRawRootdDB or to CASTOR via //
22// rootd using AliRawCastorDB (and for performance testing there is //
23// also AliRawNullDB). //
24// The AliRunDB class provides the interface to the run and file //
25// catalogues (AliEn or plain MySQL). //
26// The AliStats class provides statics information that is added as //
27// a single keyed object to each raw file. //
28// The AliTagDB provides an interface to a TAG database. //
29// The AliMDC class is usid by the "alimdc" stand-alone program //
30// that reads data directly from DATE. //
31// //
32//////////////////////////////////////////////////////////////////////////
33
34#ifndef ROOT_TObject
35#include <TObject.h>
36#endif
6605cb7a 37#include <TRef.h>
94d918a7 38
39// Forward class declarations
6605cb7a 40class AliRawDataArray;
94d918a7 41class AliRawEquipmentHeader;
42class AliRawData;
43
33314186 44#include "AliRawVEquipment.h"
94d918a7 45
33314186 46class AliRawEquipment : public AliRawVEquipment {
94d918a7 47
48public:
49 AliRawEquipment();
50 virtual ~AliRawEquipment();
51
33314186 52 virtual AliRawEquipmentHeader *GetEquipmentHeader();
53 virtual AliRawData *GetRawData();
94d918a7 54
243e7b72 55 virtual void CloneRawData(const AliRawData *rawData);
aeaaf1d0 56
57 private:
94d918a7 58 AliRawEquipmentHeader *fEqpHdr; // equipment header
59 AliRawData *fRawData; // raw data container
6605cb7a 60 TRef fRawDataRef; // reference to raw data container
94d918a7 61
62 AliRawEquipment(const AliRawEquipment& rawEvent);
63 AliRawEquipment& operator = (const AliRawEquipment& rawEvent);
64
33314186 65 ClassDef(AliRawEquipment,3) // ALICE raw equipment object
94d918a7 66};
67
68#endif