]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDsegmentArray.h
- Return from Gstpar if material is not used.
[u/mrichter/AliRoot.git] / TRD / AliTRDsegmentArray.h
index fcfa82204581ede35c41adeec9a5af618fa5bd05..bcd028a1f85238042cd6fa1bf1b47300e0ec982c 100644 (file)
@@ -11,6 +11,8 @@
 //  Array for TRD detector segments containing digits //
 ////////////////////////////////////////////////////////
 
+class TTree;
+
 class AliTRDdataArray;
 
 //_____________________________________________________________________________
@@ -19,7 +21,7 @@ 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();
 
@@ -27,8 +29,8 @@ class AliTRDsegmentArray : public AliTRDsegmentArrayBase {
   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;