]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - TRD/AliTRDsegmentArray.h
Changes by Massimo Masera to allow Recpoints and Clusters to be written
[u/mrichter/AliRoot.git] / TRD / AliTRDsegmentArray.h
... / ...
CommitLineData
1#ifndef ALITRDSEGMENTARRAY_H
2#define ALITRDSEGMENTARRAY_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
8#include "AliTRDsegmentArrayBase.h"
9
10////////////////////////////////////////////////////////
11// Array for TRD detector segments containing digits //
12////////////////////////////////////////////////////////
13
14class TTree;
15
16class AliTRDdataArray;
17
18//_____________________________________________________________________________
19class AliTRDsegmentArray : public AliTRDsegmentArrayBase {
20
21 public:
22
23 AliTRDsegmentArray();
24 AliTRDsegmentArray(Text_t *classname, Int_t n);
25 AliTRDsegmentArray(AliTRDsegmentArray &a);
26 virtual ~AliTRDsegmentArray();
27
28 virtual void Copy(TObject &a);
29 virtual void Delete();
30 virtual void Delete(const char *) { Delete(); };
31
32 virtual Bool_t LoadArray(const Char_t *branchname, TTree *tree = 0);
33 virtual Bool_t StoreArray(const Char_t *branchname, TTree *tree = 0);
34
35 virtual AliTRDdataArray *GetDataArray(Int_t det) const;
36 virtual AliTRDdataArray *GetDataArray(Int_t sec, Int_t cha, Int_t pla) const;
37
38 protected:
39
40 ClassDef(AliTRDsegmentArray,1) // TRD detector segment array
41
42};
43
44#endif