]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RAW/AliRawEvent.h
strdup replaced by malloc and strcpy
[u/mrichter/AliRoot.git] / RAW / AliRawEvent.h
index 2d51dedb1a1bdf97329895ba6913a7be3309c4fd..dff55a20cebc98942cb3e9007e692b085152660c 100644 (file)
@@ -4,6 +4,32 @@
 // Author: Fons Rademakers  26/11/99
 // Updated: Dario Favretto  15/04/2003
 
+/* Copyright(c) 1998-2003, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice                               */
+
+//////////////////////////////////////////////////////////////////////////
+//                                                                      //
+// AliRawEvent                                                          //
+//                                                                      //
+// Set of classes defining the ALICE RAW event format. The AliRawEvent  //
+// class defines a RAW event. It consists of an AliEventHeader object   //
+// an AliEquipmentHeader object, an AliRawData object and an array of   //
+// sub-events, themselves also being AliRawEvents. The number of        //
+// sub-events depends on the number of DATE LDC's.                      //
+// The AliRawEvent objects are written to a ROOT file using different   //
+// technologies, i.e. to local disk via AliRawDB or via rfiod using     //
+// AliRawRFIODB or via rootd using AliRawRootdDB or to CASTOR via       //
+// rootd using AliRawCastorDB (and for performance testing there is     //
+// also AliRawNullDB).                                                  //
+// The AliRunDB class provides the interface to the run and file        //
+// catalogues (AliEn or plain MySQL).                                   //
+// The AliStats class provides statics information that is added as     //
+// a single keyed object to each raw file.                              //
+// The AliTagDB provides an interface to a TAG database.                //
+// The AliMDC class is usid by the "alimdc" stand-alone program         //
+// that reads data directly from DATE.                                  //
+//                                                                      //
+//////////////////////////////////////////////////////////////////////////
 
 #ifndef ROOT_TObject
 #include <TObject.h>
 #include <TTree.h>
 #endif
 
-#ifndef ROOT_TH1
-#include <TH1.h>
-#endif
-
 
 // Forward class declarations
+class TH1F;
 class AliRawDB;
 
 
@@ -152,7 +175,7 @@ private:
    Bool_t  fOwner;        //!if true object owns fRawData buffer
 
    AliRawData(const AliRawData &);      // not implemented, usage causes
-   void operator=(const AliRawData &);  // link time error
+   AliRawData &operator=(const AliRawData &);  // link time error
 
    ClassDef(AliRawData,1)  // Alice raw event buffer
 };
@@ -200,7 +223,7 @@ private:
    TObjArray             *fSubEvents;   // sub AliRawEvent's
 
    AliRawEvent(const AliRawEvent &);    // not implemented, usage causes
-   void operator=(const AliRawEvent &); // link time error
+   AliRawEvent &operator=(const AliRawEvent &); // link time error
 
    ClassDef(AliRawEvent,1)  // ALICE raw event object
 };
@@ -297,7 +320,7 @@ protected:
 
 private:
    AliRawDB(const AliRawDB &);       // not implemented, usage causes
-   void operator=(const AliRawDB &); // link time error
+   AliRawDB &operator=(const AliRawDB &); // link time error
 
    ClassDef(AliRawDB,0)  // Raw DB
 };
@@ -396,7 +419,7 @@ protected:
 
 private:
    AliTagDB(const AliTagDB &);       // not implemented, usage causes
-   void operator=(const AliTagDB &); // link time error
+   AliTagDB &operator=(const AliTagDB &); // link time error
 
    ClassDef(AliTagDB,0)  // Tag DB
 };
@@ -432,7 +455,7 @@ private:
    TFile  *fRunDB;     // run database
 
    AliRunDB(const AliRunDB &);       // not implemented, usage causes
-   void operator=(const AliRunDB &); // link time error
+   AliRunDB &operator=(const AliRunDB &); // link time error
 
    ClassDef(AliRunDB,0)  // Run (bookkeeping) DB
 };