Adding includes now needed by ROOT
authoralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 1 Feb 2007 09:32:58 +0000 (09:32 +0000)
committeralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 1 Feb 2007 09:32:58 +0000 (09:32 +0000)
EVE/Reve/Cascade.h
MUON/AliMUONGMSSubprocessor.h
RAW/AliRawDB.cxx

index 7874302..b005aa6 100644 (file)
@@ -24,13 +24,16 @@ class CascadeList;
 
 class Cascade : public RenderElement, public TPolyMarker3D
 {
+public:
+  typedef std::vector<Reve::PathMark*>           vpPathMark_t;
+
+private:
   friend class CascadeList;
 
   Cascade(const Cascade&);            // Not implemented
   Cascade& operator=(const Cascade&); // Not implemented
 
 protected:
-  typedef std::vector<Reve::PathMark*>           vpPathMark_t;
   typedef std::vector<Reve::PathMark*>::iterator vpPathMark_i;
 
   Reve::Vector fV_neg;       // Vertex of negative track
index 4268515..56de72d 100644 (file)
@@ -32,6 +32,7 @@ class AliMUONGMSSubprocessor : public AliMUONVSubprocessor
     virtual UInt_t Process(TMap* /*dcsAliasMap*/);
 
   private:
+    AliMUONGMSSubprocessor(const AliMUONGMSSubprocessor&); // Not implemented
     // static data members
     static const Int_t    fgkSystem;           ///< The data system
     static const TString  fgkDataId;           ///< The data Id
index 220b73b..00d2d20 100644 (file)
 #include <errno.h>
 #include <Riostream.h>
 
+#if ROOT_VERSION_CODE >= ROOT_VERSION(5,15,0)
+#include <TBufferFile.h>
+#else
+#include <TBuffer.h>
+#endif
+
 #include <TSystem.h>
 #include <TKey.h>
 
@@ -328,7 +334,11 @@ Int_t AliRawDB::GetTotalSize()
     }
     total += skey;
     if (fTree->GetZipBytes() > 0) total += fTree->GetTotBytes();
+#if ROOT_VERSION_CODE >= ROOT_VERSION(5,15,0)
+    TBufferFile b(TBuffer::kWrite,10000);
+#else
     TBuffer b(TBuffer::kWrite,10000);
+#endif
     TTree::Class()->WriteBuffer(b,fTree);
     total += b.Length();
   }
@@ -343,7 +353,11 @@ Int_t AliRawDB::GetTotalSize()
       }
       total += skey;
       if (fESDTree->GetZipBytes() > 0) total += fESDTree->GetTotBytes();
+#if ROOT_VERSION_CODE >= ROOT_VERSION(5,15,0)
+      TBufferFile b(TBuffer::kWrite,10000);
+#else
       TBuffer b(TBuffer::kWrite,10000);
+#endif
       TTree::Class()->WriteBuffer(b,fESDTree);
       total += b.Length();
     }