]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONConstants.cxx
TDC added to monitor ZDC timing via DQM
[u/mrichter/AliRoot.git] / MUON / AliMUONConstants.cxx
index 01fec147f3aec2896cf972b192304276d17393d0..a4c08606a47ec9837ba2eaf0592d5143f58c22a2 100644 (file)
@@ -114,6 +114,10 @@ Double_t AliMUONConstants::fgChamberThicknessInX0[10] = {0.065, 0.065, 0.075, 0.
 
 const Double_t AliMUONConstants::fgkMostProbBendingMomentum = 2.0;
 
+Float_t AliMUONConstants::fgAverageChamberT[14]=
+  {17.64*1E-9, 18.28*1E-9, 22.68*1E-9, 23.33*1E-9, 32.42*1E-9, 33.48*1E-9, 42.76*1E-9,
+   43.81*1E-9, 47.13*1E-9, 48.17*1E-9, 53.75*1E-9, 54.32*1E-9, 57.12*1E-9, 57.67*1E-9};
+
 //______________________________________________________________________________
 Int_t AliMUONConstants::NCh()
 {
@@ -172,3 +176,11 @@ Int_t AliMUONConstants::ChamberNumber(Float_t z, bool warn)
   if (warn) AliWarningClass(Form("No chamber number found for z = %f",z));
   return -1;
 }
+
+//______________________________________________________________________________
+Float_t AliMUONConstants::ReducedQTot(Float_t qtot, Float_t timeDif)
+{
+  // return a reduced charge if the hit belongs to a track from a pileup event
+  Float_t q = qtot*1.19*(1.24-timeDif*1E6)*TMath::Exp(-(0.97-timeDif*1E6)*(0.97-timeDif*1E6)/2.42);
+  return q;
+}