]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONTriggerLut.cxx
Some cleanup, more may be needed
[u/mrichter/AliRoot.git] / MUON / AliMUONTriggerLut.cxx
index 2ec3c0117450570f27cdd26fe1dd44d34b5ac703..d67d666f6a6c5b1545cc0e72832607367d2d6fb5 100644 (file)
 
 /* $Id$ */
 
-#include "AliMUONTriggerCircuit.h"
+#include <TMath.h>
+#include <TFile.h>
+#include <TROOT.h>
+#include <TH3.h>
+
 #include "AliMUONTriggerLut.h"
-#include "TTree.h"
+#include "AliMUONTriggerCircuit.h"
 #include "AliRun.h"
 #include "AliMUON.h"
-#include "TMath.h"
-#include "TFile.h"
-#include "TROOT.h"
-#include "TH3.h"
-#include <Riostream.h>
 
 ClassImp(AliMUONTriggerLut)
 
 //----------------------------------------------------------------------
-AliMUONTriggerLut::AliMUONTriggerLut() {
+AliMUONTriggerLut::AliMUONTriggerLut() 
+  : TNamed()
+{
 // constructor
   fLptPlus = fLptMinu = fLptUnde = 0;
   fHptPlus = fHptMinu = fHptUnde = 0;
@@ -53,16 +54,25 @@ AliMUONTriggerLut::~AliMUONTriggerLut() {
 }
 
 //----------------------------------------------------------------------
-AliMUONTriggerLut::AliMUONTriggerLut (const AliMUONTriggerLut& MUONTriggerLut)
+AliMUONTriggerLut::AliMUONTriggerLut (const AliMUONTriggerLut& theMUONTriggerLut)
+  : TNamed(theMUONTriggerLut)
 {
-// Dummy copy constructor
+// Protected copy constructor
+
+  Fatal("AliMUONTriggerLut", "Not implemented.");
 }
 
 //----------------------------------------------------------------------
-AliMUONTriggerLut & AliMUONTriggerLut::operator=(const AliMUONTriggerLut& MUONTriggerLut)
+AliMUONTriggerLut & 
+AliMUONTriggerLut::operator=(const AliMUONTriggerLut& rhs)
 {
-// Dummy assignment operator
-    return *this;
+// Protected assignement operator
+
+  if (this == &rhs) return *this;
+
+  Fatal("operator=", "Not implemented.");
+    
+  return *this;  
 }
 
 //----------------------------------------------------------------------
@@ -74,7 +84,7 @@ void AliMUONTriggerLut::GetLutOutput(Int_t circuit, Int_t xstrip, Int_t idev,
   static TFile *fileLut;
   static Bool_t first=kTRUE;  
   if(first) {
-    printf(" opening MUONTriggerLut.root \n");
+    //    printf(" opening MUONTriggerLut.root \n");
     fileLut = new TFile("$(ALICE_ROOT)/MUON/MUONTriggerLut.root","READ");
     first=kFALSE;
   }