]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONMerger.h
Move to AOD/ESD schema - ITS readers not needed any more
[u/mrichter/AliRoot.git] / MUON / AliMUONMerger.h
index 14ad881b9f0c011d7bd8755d23dbaf8e63670174..4594bbb1b7b69699e4216ae1721a1c7e41a17d7b 100644 (file)
@@ -4,9 +4,9 @@
  * See cxx source for full Copyright notice                               */
 
 /* $Id$ */
+// Revision of includes 07/05/2004
 
-// #include "AliMerger.h"
-// #include "AliMergable.h"
+class TTree;
 
 class AliMUONPadHit;
 class AliHitMap;
@@ -37,13 +37,18 @@ class AliMUONMerger {
     void SetBackgroundEventNumber(Int_t i) {fEvNrBgr = i;}    
     void SetBackgroundFileName(char* file) {fFnBgr = file;}        
     void SetMode(MergeMode_t mode) {fMerge = mode;}
+    void SetDebug(Int_t debug) {fDebug = debug;}
        
     enum {kBgTag = -1};
-    
+
+ protected:    
+    AliMUONMerger(const AliMUONMerger& rhs);
+    AliMUONMerger& operator=(const AliMUONMerger& rhs);
+
  private:    
     // Open the bgr file
     TFile *InitBgr();
-    void SortTracks(Int_t *tracks,Int_t *charges,Int_t ntr);
+    void SortTracks(Int_t *tracks,Int_t *charges,Int_t ntr) const;
     
  private:
     TTree *fTrH1;                   //! Hits Tree for background event
@@ -62,6 +67,7 @@ class AliMUONMerger {
     MergeMode_t fMerge;             // merging type kDigitize, kMerge
     char  *fFnBgr;                  // background file name
     TFile *fBgrFile;                // Pointer to background file
+    Int_t  fDebug;                  // level of debug printing
     
     ClassDef(AliMUONMerger,0)
 };