]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDsegmentArray.h
Updated version of tag classes (P.Christakoglou)
[u/mrichter/AliRoot.git] / TRD / AliTRDsegmentArray.h
index fcfa82204581ede35c41adeec9a5af618fa5bd05..b3349519d643fff82c3f0741629026dab0396823 100644 (file)
@@ -11,6 +11,8 @@
 //  Array for TRD detector segments containing digits //
 ////////////////////////////////////////////////////////
 
+class TTree;
+
 class AliTRDdataArray;
 
 //_____________________________________________________________________________
@@ -19,16 +21,16 @@ class AliTRDsegmentArray : public AliTRDsegmentArrayBase {
  public:
 
   AliTRDsegmentArray();
-  AliTRDsegmentArray(Text_t *classname, Int_t n);
+  AliTRDsegmentArray(const char *classname, Int_t n);
   AliTRDsegmentArray(AliTRDsegmentArray &a);
   virtual ~AliTRDsegmentArray();
 
-  virtual void             Copy(TObject &a);
+  virtual void             Copy(TObject &a) const;
   virtual void             Delete();
   virtual void             Delete(const char *) { Delete(); };
 
-  virtual Bool_t           LoadArray(const Char_t *branchname);
-  virtual Bool_t           StoreArray(const Char_t *branchname);
+  virtual Bool_t           LoadArray(const Char_t *branchname, TTree *tree = 0);
+  virtual Bool_t           StoreArray(const Char_t *branchname, TTree *tree = 0);
 
   virtual AliTRDdataArray *GetDataArray(Int_t det) const;
   virtual AliTRDdataArray *GetDataArray(Int_t sec, Int_t cha, Int_t pla) const;