]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONTreeManager.h
Flexible pt range for the efficiency histogramming
[u/mrichter/AliRoot.git] / MUON / AliMUONTreeManager.h
index 5c8dd73e7b7fbe0351b59a5ad568d936051a83f2..d2d701d73b087b1808b71a348fbafdbc1bde305e 100644 (file)
@@ -33,7 +33,7 @@ public:
   Bool_t MakeBranch(TTree& tree, const char* storeClassName,
                     const char* branchClassName, const char* branchName, 
                     void* address,
-                    Int_t bufferSize = 4000, Int_t splitLevel = 1) const;
+                    Int_t bufferSize = 4000, Int_t splitLevel = 99) const;
   
   Bool_t SetAddress(TTree& tree, const char* branchName, void* address) const;
   
@@ -41,9 +41,6 @@ public:
   
   void UpdateBranchStatuses(TTree& tree, const char* pattern) const;
   
-  const char* GetClassName(const TTree& tree, const char* pattern,
-                           Bool_t makeDefault) const;
-  
   /** Debug method to get an event, but checking beforehand that all selected
     branches do have a non-zero address set (otherwise we leak memory). 
     */
@@ -54,7 +51,10 @@ public:
 
 private:
 
-  const char* DefaultClassName(const char* treename, const char* pattern) const;
+  TString GetClassName(const TTree& tree, const char* pattern,
+                       Bool_t makeDefault) const;
+    
+  TString DefaultClassName(const char* treename, const char* pattern) const;
   
   ClassDef(AliMUONTreeManager,0) // Helper class to handle MUON TTrees
 };