From e6694ae08b34084b0a84a68b70bcfa05b3aca54c Mon Sep 17 00:00:00 2001 From: alibrary Date: Thu, 1 Feb 2007 09:32:58 +0000 Subject: [PATCH] Adding includes now needed by ROOT --- EVE/Reve/Cascade.h | 5 ++++- MUON/AliMUONGMSSubprocessor.h | 1 + RAW/AliRawDB.cxx | 14 ++++++++++++++ 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/EVE/Reve/Cascade.h b/EVE/Reve/Cascade.h index 7874302d5d9..b005aa67ce4 100644 --- a/EVE/Reve/Cascade.h +++ b/EVE/Reve/Cascade.h @@ -24,13 +24,16 @@ class CascadeList; class Cascade : public RenderElement, public TPolyMarker3D { +public: + typedef std::vector vpPathMark_t; + +private: friend class CascadeList; Cascade(const Cascade&); // Not implemented Cascade& operator=(const Cascade&); // Not implemented protected: - typedef std::vector vpPathMark_t; typedef std::vector::iterator vpPathMark_i; Reve::Vector fV_neg; // Vertex of negative track diff --git a/MUON/AliMUONGMSSubprocessor.h b/MUON/AliMUONGMSSubprocessor.h index 42685153506..56de72d48be 100644 --- a/MUON/AliMUONGMSSubprocessor.h +++ b/MUON/AliMUONGMSSubprocessor.h @@ -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 diff --git a/RAW/AliRawDB.cxx b/RAW/AliRawDB.cxx index 220b73bcb6a..00d2d204c95 100644 --- a/RAW/AliRawDB.cxx +++ b/RAW/AliRawDB.cxx @@ -25,6 +25,12 @@ #include #include +#if ROOT_VERSION_CODE >= ROOT_VERSION(5,15,0) +#include +#else +#include +#endif + #include #include @@ -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(); } -- 2.43.0