]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDsegmentArray.h
Add new TRD classes
[u/mrichter/AliRoot.git] / TRD / AliTRDsegmentArray.h
diff --git a/TRD/AliTRDsegmentArray.h b/TRD/AliTRDsegmentArray.h
new file mode 100644 (file)
index 0000000..2d296ea
--- /dev/null
@@ -0,0 +1,38 @@
+#ifndef TRDsegmentArray_H
+#define TRDsegmentArray_H
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice                               */
+
+/* $Id$ */
+
+////////////////////////////////////////////////////////
+//  Array for TRD detector segments containing digits //
+////////////////////////////////////////////////////////
+
+#include "AliTRDsegmentArrayBase.h"
+#include "AliTRDdataArray.h"
+
+//_____________________________________________________________________________
+class AliTRDsegmentArray : public AliTRDsegmentArrayBase {
+
+ public:
+
+  AliTRDsegmentArray();
+  AliTRDsegmentArray(Int_t n);
+  ~AliTRDsegmentArray() { };
+
+  virtual void             Delete();
+
+  virtual Bool_t           LoadArray(const Char_t *branchname);
+  virtual Bool_t           StoreArray(const Char_t *branchname);
+
+  virtual AliTRDdataArray *GetDataArray(Int_t det);
+  virtual AliTRDdataArray *GetDataArray(Int_t sec, Int_t cha, Int_t pla);
+
+ protected:
+
+  ClassDef(AliTRDsegmentArray,1)        // TRD detector segment array 
+
+};
+
+#endif