]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FMD/AliFMDReconstructor.cxx
Fix in path for simulated files + typo fixed.
[u/mrichter/AliRoot.git] / FMD / AliFMDReconstructor.cxx
index 17211be93d337071c15b0b574946b1d44893f178..f6493fdab3348c339d5b981b9b43418f6a185d4c 100644 (file)
@@ -95,53 +95,6 @@ AliFMDReconstructor::AliFMDReconstructor()
     fZSFactor[det-1] = 0;
   }
 }
-  
-
-//____________________________________________________________________
-AliFMDReconstructor::AliFMDReconstructor(const AliFMDReconstructor& other) 
-  : AliReconstructor(), 
-    fMult(other.fMult),
-    fNMult(other.fNMult),
-    fTreeR(other.fTreeR),
-    fCurrentVertex(other.fCurrentVertex),
-    fESDObj(other.fESDObj),
-    fNoiseFactor(other.fNoiseFactor),
-    fAngleCorrect(other.fAngleCorrect),
-    fVertexType(other.fVertexType),
-    fESD(other.fESD),
-    fDiagnostics(other.fDiagnostics),
-    fDiagStep1(other.fDiagStep1), 
-    fDiagStep2(other.fDiagStep2),
-    fDiagStep3(other.fDiagStep3),
-    fDiagStep4(other.fDiagStep4),
-    fDiagAll(other.fDiagAll) 
-{
-  // Copy constructor 
-}
-  
-
-//____________________________________________________________________
-AliFMDReconstructor&
-AliFMDReconstructor::operator=(const AliFMDReconstructor& other) 
-{
-  // Assignment operator
-  fMult          = other.fMult;
-  fNMult         = other.fNMult;
-  fTreeR         = other.fTreeR;
-  fCurrentVertex = other.fCurrentVertex;
-  fESDObj        = other.fESDObj;
-  fNoiseFactor   = other.fNoiseFactor;
-  fAngleCorrect  = other.fAngleCorrect;
-  fVertexType    = other.fVertexType;
-  fESD           = other.fESD;
-  fDiagnostics   = other.fDiagnostics;
-  fDiagStep1     = other.fDiagStep1;
-  fDiagStep2     = other.fDiagStep2;
-  fDiagStep3     = other.fDiagStep3;
-  fDiagStep4     = other.fDiagStep4;
-  fDiagAll       = other.fDiagAll;
-  return *this;
-}
 
 //____________________________________________________________________
 AliFMDReconstructor::~AliFMDReconstructor() 
@@ -301,6 +254,7 @@ AliFMDReconstructor::Reconstruct(AliRawReader* reader, TTree*) const
   // Parameters: 
   //   reader  Raw event reader 
   //   ctree    Not used. 
+  AliFMDDebug(1, ("Reconstructing from raw reader"));
   AliFMDRawReader rawReader(reader, 0);
 
   UShort_t det, sec, str, fac;
@@ -365,7 +319,7 @@ AliFMDReconstructor::Reconstruct(TTree* digitsTree,
   //   digitsTree      Pointer to a tree containing digits 
   //   clusterTree     Pointer to output tree 
   // 
-  AliFMDDebug(2, ("Reconstructing from digits in a tree"));
+  AliFMDDebug(1, ("Reconstructing from digits in a tree"));
   GetVertex(fESD);
   
   TBranch *digitBranch = digitsTree->GetBranch("FMD");
@@ -386,7 +340,7 @@ AliFMDReconstructor::Reconstruct(TTree* digitsTree,
   AliFMDDebug(5, ("Getting entry 0 from digit branch"));
   digitBranch->GetEntry(0);
   
-  AliFMDDebug(1, ("Processing digits"));
+  AliFMDDebug(5, ("Processing digits"));
   UseRecoParam(kTRUE);
   ProcessDigits(digits);
   UseRecoParam(kFALSE);
@@ -410,7 +364,7 @@ AliFMDReconstructor::ProcessDigits(TClonesArray* digits) const
   //    digits Array of digits
   // 
   Int_t nDigits = digits->GetEntries();
-  AliFMDDebug(1, ("Got %d digits", nDigits));
+  AliFMDDebug(2, ("Got %d digits", nDigits));
   fESDObj->SetNoiseFactor(fNoiseFactor);
   fESDObj->SetAngleCorrected(fAngleCorrect);
   for (Int_t i = 0; i < nDigits; i++) {
@@ -453,7 +407,7 @@ AliFMDReconstructor::ProcessSignal(UShort_t det,
   AliFMDParameters* param  = AliFMDParameters::Instance();
   // Check that the strip is not marked as dead 
   if (param->IsDead(det, rng, sec, str)) {
-    AliFMDDebug(10, ("FMD%d%c[%2d,%3d] is dead", det, rng, sec, str));
+    AliFMDDebug(3, ("FMD%d%c[%2d,%3d] is dead", det, rng, sec, str));
     return;
   }
   
@@ -475,7 +429,7 @@ AliFMDReconstructor::ProcessSignal(UShort_t det,
   Double_t mult     = Energy2Multiplicity(det, rng, sec, str, edep);
   // Get rid of nonsense mult
   if (mult < 0)  return; 
-  AliFMDDebug(5, ("FMD%d%c[%2d,%3d]: "
+  AliFMDDebug(10, ("FMD%d%c[%2d,%3d]: "
                    "ADC: %d, Counts: %d, Energy: %f, Mult: %f",
                  det, rng, sec, str, adc, counts, edep, mult));
   
@@ -845,7 +799,7 @@ AliFMDReconstructor::FillESD(TTree*  /* digitsTree */,
   // - That's OK.  We just use it for the name of the directory -
   // nothing else.  Christian
   Int_t evno = esd->GetEventNumberInFile(); 
-  AliFMDDebug(1, ("Writing diagnostics histograms to FMD.Diag.root/%03d",evno));
+  AliFMDDebug(3, ("Writing diagnostics histograms to FMD.Diag.root/%03d",evno));
   TFile f("FMD.Diag.root", (first ? "RECREATE" : "UPDATE"));
   first = false;
   f.cd(); 
@@ -876,7 +830,6 @@ AliFMDReconstructor::FillESD(AliRawReader*, TTree* clusterTree,
   TTree* dummy = 0;
   FillESD(dummy, clusterTree, esd);
 }
-
 //____________________________________________________________________
 //
 // EOF