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 7874302d5d9a59ecea8e09591f967e7f8b6b72d4..b005aa67ce4e083999b1c6b1c994777dc3e2147b 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 42685153506f9447baa683759fd2dbc4c28c4617..56de72d48be7a8f25a15f77ffc25ff2cb017342d 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 220b73bcb6adb9b0d9a74fbb70b0b410e86a1b26..00d2d204c952e3c42da6ea4f629091a417836edb 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();
     }