]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HBTAN/AliHBTLLWeightTheorFctn.cxx
Working version (P.Skowronski)
[u/mrichter/AliRoot.git] / HBTAN / AliHBTLLWeightTheorFctn.cxx
index 0e35a711b4be86095820b3966f7fb883a42b1ee1..3aa7a9ca5875333c150320b62b6182b34edcd15e 100644 (file)
@@ -1,12 +1,11 @@
-/////////////////////////////////////////////////////////////
-//
-//This class introduces the weights calculated according 
-//with functions of efficiency of identification (TPC+TOF) 
-//(calculated by B.V. Batyunia).
-//
-//Author: Ludmila Malinina, JINR (malinina@sunhe.jinr.ru)
-//
-/////////////////////////////////////////////////////////////
+/* $Id$ */
+
+//-----------------------------------------------------------
+// This class introduces the weights calculated according 
+// with functions of efficiency of identification (TPC+TOF) 
+// (calculated by B.V. Batyunia).
+// Author: Ludmila Malinina, JINR (malinina@sunhe.jinr.ru)
+//-----------------------------------------------------------
 
 #include "AliHBTLLWeightTheorFctn.h"
 #include "AliHBTLLWeights.h"
@@ -18,15 +17,14 @@ ClassImp(AliHBTLLWeightTheorQInvFctn)
 
 AliHBTLLWeightTheorQInvFctn::
 AliHBTLLWeightTheorQInvFctn(Int_t nbins, Double_t maxXval, Double_t minXval):
-           AliHBTOnePairFctn1D(nbins,maxXval,minXval)
+  AliHBTOnePairFctn1D(nbins,maxXval,minXval)
 {
-//ctor
-
+  //ctor
 }
 /****************************************************************/
 void  AliHBTLLWeightTheorQInvFctn::ProcessSameEventParticles(AliHBTPair* partpair)
 {
-//Processes Particles and tracks Same different even
+  //Processes Particles and tracks Same different even
   partpair  = CheckPair(partpair);
   Double_t weight = AliHBTLLWeights::Instance()->GetWeight(partpair);
   if(TMath::Abs(weight)<=10.) fNumerator->Fill(partpair->GetQInv(),weight);
@@ -35,7 +33,7 @@ void  AliHBTLLWeightTheorQInvFctn::ProcessSameEventParticles(AliHBTPair* partpai
 /**************************************************************/
 TH1* AliHBTLLWeightTheorQInvFctn::GetResult() 
 {
-//returns ratio of numerator and denominator
- return GetRatio(Scale());
+  //returns ratio of numerator and denominator
 return GetRatio(Scale());
 }