Chages concerning coding convetion requirements.
authorskowron <skowron@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 11 Nov 2003 10:15:11 +0000 (10:15 +0000)
committerskowron <skowron@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 11 Nov 2003 10:15:11 +0000 (10:15 +0000)
HBTAN/AliHBTMonitorFunction.cxx
HBTAN/AliHBTMonitorFunction.h
HBTAN/AliHBTQResolutionFctns.cxx
HBTAN/AliHBTQResolutionFctns.h

index 53e6532..72bf0ba 100644 (file)
@@ -25,26 +25,44 @@ Zbigniew.Chajecki@cern.ch
 #include <Riostream.h>
 ClassImp( AliHBTMonitorFunction )
 
-AliHBTMonitorFunction::AliHBTMonitorFunction()
+AliHBTMonitorFunction::AliHBTMonitorFunction():
+ fParticleCut(new AliHBTEmptyParticleCut())
 {
-  fParticleCut = new AliHBTEmptyParticleCut(); //dummy cut
+  //ctor
 }
 /******************************************************************/
-AliHBTMonitorFunction::AliHBTMonitorFunction(const char* name,const char* title):TNamed(name,title)
+AliHBTMonitorFunction::AliHBTMonitorFunction(const char* name,const char* title):
+ TNamed(name,title),
+ fParticleCut(new AliHBTEmptyParticleCut())
 {
-  fParticleCut = new AliHBTEmptyParticleCut(); //dummy cut
+  //ctor
 }
 /******************************************************************/
+AliHBTMonitorFunction::AliHBTMonitorFunction(const AliHBTMonitorFunction& /*in*/):
+ TNamed(),
+ fParticleCut(new AliHBTEmptyParticleCut())
+{
+  //cpy ctor
+  MayNotUse("AliHBTMonitorFunction(const AliHBTMonitorFunction&");
+}
+/******************************************************************/
+const AliHBTMonitorFunction& AliHBTMonitorFunction::operator=(const AliHBTMonitorFunction& /*in*/)
+{
+  //assigment operator
+  MayNotUse("operator=");
+  return *this;
+}
 
 AliHBTMonitorFunction::~AliHBTMonitorFunction()
  {
+  //dtor
   if (fParticleCut) delete fParticleCut;
  }
 /******************************************************************/
 
-void AliHBTMonitorFunction::
-Write()
+void AliHBTMonitorFunction::Write()
  {
+   //Writes an function to disk
    if (GetResult()) GetResult()->Write();
  }
 /******************************************************************/
@@ -69,11 +87,9 @@ void AliHBTMonitorFunction::SetParticleCut(AliHBTParticleCut* cut)
  fParticleCut = (AliHBTParticleCut*)cut->Clone();
  
 }
-
 /******************************************************************/
 
-void AliHBTMonitorFunction::
-Rename(const Char_t * name)
+void AliHBTMonitorFunction::Rename(const Char_t * name)
  {
  //renames the function and histograms
   SetName(name);
@@ -83,12 +99,10 @@ Rename(const Char_t * name)
                                            //result histogram
   GetResult()->SetName(numstr.Data());
   GetResult()->SetTitle(numstr.Data());
-  
-  
  }
+/******************************************************************/
 
-void AliHBTMonitorFunction::
-Rename(const Char_t * name, const Char_t * title)
+void AliHBTMonitorFunction::Rename(const Char_t * name, const Char_t * title)
  {
  //renames and retitle the function and histograms
  
@@ -118,25 +132,26 @@ ClassImp( AliHBTMonTwoParticleFctn )  //z.ch.
 /******************************************************************/
 /******************************************************************/
 ClassImp( AliHBTMonOneParticleFctn1D )
-AliHBTMonOneParticleFctn1D::AliHBTMonOneParticleFctn1D()
+AliHBTMonOneParticleFctn1D::AliHBTMonOneParticleFctn1D():
+ fResult(0x0)
  {
-   fResult = 0x0;
+   //ctor
  }
+/******************************************************************/
 
-AliHBTMonOneParticleFctn1D::
-AliHBTMonOneParticleFctn1D(Int_t nbins, Double_t maxXval, Double_t minXval)
+AliHBTMonOneParticleFctn1D::AliHBTMonOneParticleFctn1D(Int_t nbins, Double_t maxXval, Double_t minXval)
  {
+   //ctor
    TString numstr = fName + " Result";  //title and name of the 
                                            //result histogram
-         
    fResult   = new TH1D(numstr.Data(),numstr.Data(),nbins,minXval,maxXval);
  }
 
-AliHBTMonOneParticleFctn1D::
-AliHBTMonOneParticleFctn1D(const Char_t *name, const Char_t *title,
+AliHBTMonOneParticleFctn1D::AliHBTMonOneParticleFctn1D(const Char_t *name, const Char_t *title,
                     Int_t nbins, Double_t maxXval, Double_t minXval)
        :AliHBTMonOneParticleFctn(name,title)
 {
+  //ctor
    TString numstr = fName + " Result";  //title and name of the 
                                            //result histogram
          
@@ -145,7 +160,8 @@ AliHBTMonOneParticleFctn1D(const Char_t *name, const Char_t *title,
 /******************************************************************/
 AliHBTMonOneParticleFctn1D::~AliHBTMonOneParticleFctn1D()
 {
-  delete fResult;
+ //dtor
+ delete fResult;
 }
 /******************************************************************/
 
@@ -160,26 +176,28 @@ void AliHBTMonOneParticleFctn1D::Process(AliHBTParticle* particle)
  
 ClassImp( AliHBTMonOneParticleFctn2D )
 
-AliHBTMonOneParticleFctn2D::
-AliHBTMonOneParticleFctn2D(Int_t nXbins, Double_t maxXval, Double_t minXval , 
+AliHBTMonOneParticleFctn2D::AliHBTMonOneParticleFctn2D(Int_t nXbins, Double_t maxXval, Double_t minXval , 
                     Int_t nYbins, Double_t maxYval, Double_t minYval)
 
 {
+  //ctor
    TString numstr = fName + " Result";  //title and name of the 
                                            //result histogram
         
    fResult   = new TH2D(numstr.Data(),numstr.Data(),
                            nXbins,minXval,maxXval,
               nYbins,minYval,maxYval);
-              
 }        
+/******************************************************************/
 
 AliHBTMonOneParticleFctn2D::~AliHBTMonOneParticleFctn2D()
 {
+  //dtor
   delete fResult;
 }
 void AliHBTMonOneParticleFctn2D::Process(AliHBTParticle* particle)
 {
+  //fills the function for one particle
   particle = CheckParticle(particle);
   if(particle) 
    { 
@@ -201,6 +219,7 @@ AliHBTMonOneParticleFctn3D(Int_t nXbins, Double_t maxXval, Double_t minXval,
                     Int_t nZbins, Double_t maxZval, Double_t minZval)
 
 {
+  //ctor
    TString numstr = fName + " Result";  //title and name of the 
                                            //result histogram
  
@@ -214,6 +233,7 @@ AliHBTMonOneParticleFctn3D(Int_t nXbins, Double_t maxXval, Double_t minXval,
 
 AliHBTMonOneParticleFctn3D::~AliHBTMonOneParticleFctn3D()
 {
+  //dtor
   delete fResult;
 }
 /******************************************************************/
@@ -227,6 +247,7 @@ ClassImp( AliHBTMonTwoParticleFctn1D)
 AliHBTMonTwoParticleFctn1D::
 AliHBTMonTwoParticleFctn1D(Int_t nbins, Double_t maxval, Double_t minval)
  {
+   //ctor
    TString numstr = fName + " Result";  //title and name of the 
                                            //result histogram
          
@@ -240,6 +261,7 @@ AliHBTMonTwoParticleFctn1D(const Char_t* name, const Char_t* title,
                     Int_t nbins, Double_t maxval, Double_t minval)
        :AliHBTMonTwoParticleFctn(name,title)
  {
+   //ctor
    TString numstr = fName + " Result";  //title and name of the 
                                            //result histogram
 
@@ -252,12 +274,14 @@ AliHBTMonTwoParticleFctn1D(const Char_t* name, const Char_t* title,
 /******************************************************************/
 AliHBTMonTwoParticleFctn1D::~AliHBTMonTwoParticleFctn1D()
 {
+  //dtor
   delete fResult;
 }
 /******************************************************************/
 void AliHBTMonTwoParticleFctn1D::
 Process(AliHBTParticle* trackparticle, AliHBTParticle* partparticle)
 {
+  //fills the function for one particle
   partparticle  = CheckParticle(partparticle);
   trackparticle = CheckParticle(trackparticle);
   if( partparticle && trackparticle) 
@@ -277,6 +301,7 @@ AliHBTMonTwoParticleFctn2D(Int_t nXbins, Double_t maxXval, Double_t minXval ,
                     Int_t nYbins, Double_t maxYval, Double_t minYval)
 
 {
+  //ctor
    TString numstr = fName + " Result";  //title and name of the 
                                            //result histogram
          
@@ -288,12 +313,14 @@ AliHBTMonTwoParticleFctn2D(Int_t nXbins, Double_t maxXval, Double_t minXval ,
 /******************************************************************/
 AliHBTMonTwoParticleFctn2D::~AliHBTMonTwoParticleFctn2D()
 {
+  //dtor
   delete fResult;
 }
 /******************************************************************/
 void AliHBTMonTwoParticleFctn2D::
 Process(AliHBTParticle* trackparticle, AliHBTParticle* partparticle)
 {
+  //fills the function for one particle
   partparticle  = CheckParticle(partparticle);
   trackparticle = CheckParticle(trackparticle);
   if( partparticle && trackparticle) 
@@ -311,6 +338,7 @@ ClassImp(AliHBTMonTwoParticleFctn3D)
 void AliHBTMonTwoParticleFctn3D::
 Process(AliHBTParticle* trackparticle, AliHBTParticle* partparticle)
 {
+  //fills the function for one particle
   partparticle  = CheckParticle(partparticle);
   trackparticle = CheckParticle(trackparticle);
   if( partparticle && trackparticle) 
index 64c1592..3c5287d 100644 (file)
@@ -1,4 +1,26 @@
-//Zbigniew.Chajecki@cern.ch
+//__________________________________________________________________
+////////////////////////////////////////////////////////////////////
+//
+/******************************************************************/
+/*
+Base classes for monitor functions
+
+          monitor function
+               /    \
+              /      \
+             /        \
+            /          \
+           /            \
+          /              \
+         /                \
+   one particle     two particle  
+     /  |  \            /  |  \
+    /   |   \          /   |   \
+   1D  2D   3D        1D  2D   3D
+
+Zbigniew.Chajecki@cern.ch
+
+*/
 
 #ifndef ALIMONITORFUNCTION_H
 #define ALIMONITORFUNCTION_H
@@ -9,7 +31,6 @@
 #include <TH2.h>
 #include <TH3.h>
 
-//class AliHBTAnalysis;
 
 class AliHBTMonitorFunction: public TNamed
 //Abstract base class for HBT functions
@@ -17,8 +38,12 @@ class AliHBTMonitorFunction: public TNamed
   public:
     AliHBTMonitorFunction();
     AliHBTMonitorFunction(const char* name,const char* title);
+    AliHBTMonitorFunction(const AliHBTMonitorFunction& /*in*/);
     virtual ~AliHBTMonitorFunction();
     
+    const AliHBTMonitorFunction& operator=(const AliHBTMonitorFunction& /*in*/);
+    
+    
     virtual TH1* GetResult() = 0;
 
     virtual void Write();
@@ -26,25 +51,25 @@ class AliHBTMonitorFunction: public TNamed
     void Rename(const Char_t * name); 
     void Rename(const Char_t * name, const Char_t * title); 
     
-    void SetParticleCut(AliHBTParticleCut*);
+    void SetParticleCut(AliHBTParticleCut* cut);
 
-    virtual AliHBTParticle* CheckParticle(AliHBTParticle* particle);
+    virtual AliHBTParticle* CheckParticle(AliHBTParticle* particle) const;
 
   protected:
-    AliHBTParticleCut*      fParticleCut;
+    AliHBTParticleCut*      fParticleCut;//Particle cut
     
-  public:  
+  private:  
    ClassDef(AliHBTMonitorFunction,1)
 };
 /******************************************************************/
 /******************************************************************/
-inline AliHBTParticle* AliHBTMonitorFunction::CheckParticle(AliHBTParticle* particle)
+inline AliHBTParticle* AliHBTMonitorFunction::CheckParticle(AliHBTParticle* particle) const
 {
   //check if particle meets the cut criteria
   if(fParticleCut->Pass(particle)) //if the particle is BAD
-       { 
-        return 0x0;//it is BAD as well - so return
-       }
+   { 
+     return 0x0;//it is BAD as well - so return
+   }
   return particle; 
 }
 
@@ -62,7 +87,7 @@ class AliHBTMonOneParticleFctn: public AliHBTMonitorFunction
     virtual void Process(AliHBTParticle* particle) = 0;
     
   protected:
-  public:  
+  private:  
    ClassDef(AliHBTMonOneParticleFctn,1)
   
 };
@@ -83,9 +108,9 @@ class AliHBTMonOneParticleFctn1D: public AliHBTMonOneParticleFctn
  protected:
   virtual Double_t GetValue(AliHBTParticle* particle) = 0; 
 
-  TH1D* fResult;
+  TH1D* fResult;//histogram to be filled
   
- public:
+ private:
   ClassDef(AliHBTMonOneParticleFctn1D,2)
 };
 /******************************************************************/
@@ -104,9 +129,9 @@ class AliHBTMonOneParticleFctn2D: public AliHBTMonOneParticleFctn
  protected:
   virtual void GetValues(AliHBTParticle* particle, Double_t&, Double_t&) = 0;
 
-  TH2D* fResult;
+  TH2D* fResult;//histogram to be filled
   
- public:
+ private:
   ClassDef(AliHBTMonOneParticleFctn2D,1)
 };
 /******************************************************************/
@@ -125,9 +150,9 @@ class AliHBTMonOneParticleFctn3D: public AliHBTMonOneParticleFctn
   TH1* GetResult(){return fResult;}
 
  protected:
-  TH3D* fResult;
+  TH3D* fResult;//histogram to be filled
 
- public:
+ private:
   ClassDef(AliHBTMonOneParticleFctn3D,1)
 };
 /******************************************************************/
@@ -143,7 +168,7 @@ class AliHBTMonTwoParticleFctn: public AliHBTMonitorFunction
     Process(AliHBTParticle* trackparticle, AliHBTParticle* partparticle) = 0;
             
   protected:
-  public:  
+  private:  
    ClassDef(AliHBTMonTwoParticleFctn,1)
   
 };
@@ -153,7 +178,7 @@ class AliHBTMonTwoParticleFctn1D: public AliHBTMonTwoParticleFctn
 {
  public:
   AliHBTMonTwoParticleFctn1D(Int_t nbins = 200, Double_t maxval = 1.5, Double_t minval = 0.0);
-  AliHBTMonTwoParticleFctn1D(const char*,const char*,
+  AliHBTMonTwoParticleFctn1D(const char* name,const char* title,
                       Int_t nbins = 200, Double_t maxval = 1.5, Double_t minval = 0.0);
   virtual ~AliHBTMonTwoParticleFctn1D();
   
@@ -164,9 +189,9 @@ class AliHBTMonTwoParticleFctn1D: public AliHBTMonTwoParticleFctn
  protected:
   virtual Double_t GetValue(AliHBTParticle* trackparticle, AliHBTParticle* partparticle) = 0;
 
-  TH1D* fResult;
+  TH1D* fResult;//histogram to be filled
 
- public:
+ private:
   ClassDef(AliHBTMonTwoParticleFctn1D,1)
 };
 /******************************************************************/
@@ -184,9 +209,9 @@ class AliHBTMonTwoParticleFctn2D: public AliHBTMonTwoParticleFctn
  protected:
   virtual void GetValues(AliHBTParticle*,AliHBTParticle*, Double_t&, Double_t&) = 0;
 
-  TH2D* fResult;
+  TH2D* fResult;//histogram to be filled
   
- public:
+ private:
   ClassDef(AliHBTMonTwoParticleFctn2D,1)
 };
 
@@ -207,9 +232,9 @@ class AliHBTMonTwoParticleFctn3D: public AliHBTMonTwoParticleFctn
  protected:
   virtual void GetValues(AliHBTParticle*,AliHBTParticle*, Double_t&, Double_t&,Double_t&) = 0;
 
-  TH3D* fResult;
+  TH3D* fResult; //histogram to be filled
   
- public:
+ private:
   ClassDef(AliHBTMonTwoParticleFctn3D,1)
 };
 
index 129a5c1..f4629bd 100644 (file)
@@ -1,3 +1,20 @@
+//__________________________________________________________________
+////////////////////////////////////////////////////////////////////
+//                                                                //
+// General Remark:                                                //
+// CMSLC means                                                    //
+// Center of Mass System Longitudially Co-moving                  //
+//                                                                //
+//                                                                //
+// This class creates resolution function of Qout                 //
+// (difference of simulated pair Qout and recontructed pair)      //
+// in function of QInv                                            //
+// it inherits from AliHBTTwoPairFctn2D                           //
+//  it needs two pairs to compare                                 //
+//  and is two dimentional: numerator and denominator are TH2D    //
+//                                                                //
+////////////////////////////////////////////////////////////////////
+
 #include "AliHBTQResolutionFctns.h"
 
 
@@ -10,6 +27,7 @@ AliHBTKtResolVsQInvFctn(Int_t nXbins, Double_t maxXval, Double_t minXval,
                         Int_t nYbins, Double_t maxYval, Double_t minYval):
  AliHBTTwoPairFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
 {
+//ctor
  Rename("KtResolVsQInv","K_{t} Resolution vs. Q_{Inv}");
 }
 /******************************************************************/
@@ -21,6 +39,7 @@ AliHBTQInvResolVsQInvFctn(Int_t nXbins, Double_t maxXval, Double_t minXval,
                           Int_t nYbins, Double_t maxYval, Double_t minYval):
                 AliHBTTwoPairFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
 {
+//ctor
  Rename("QInvResolVsQInv","Q_{Inv} Resolution vs. Q_{Inv}");
 }
 /******************************************************************/
@@ -33,6 +52,7 @@ AliHBTQOutResolVsQInvFctn(Int_t nXbins, Double_t maxXval, Double_t minXval,
                           Int_t nYbins, Double_t maxYval, Double_t minYval):
                 AliHBTTwoPairFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
 {
+//ctor
  Rename("QOutResolVsQInv","Q_{Out} Resolution vs. Q_{Inv}");
 }
 /******************************************************************/
@@ -46,6 +66,7 @@ AliHBTQSideResolVsQInvFctn(Int_t nXbins, Double_t maxXval, Double_t minXval,
                           Int_t nYbins, Double_t maxYval, Double_t minYval):
                 AliHBTTwoPairFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
 {
+//ctor
  Rename("QSideResolVsQInv","Q_{Side} Resolution vs. Q_{Inv}");
 }
 
@@ -60,6 +81,7 @@ AliHBTQLongResolVsQInvFctn(Int_t nXbins, Double_t maxXval, Double_t minXval,
                            Int_t nYbins, Double_t maxYval, Double_t minYval):
                            AliHBTTwoPairFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
 {
+//ctor
  Rename("QLongResolVsQInv","Q_{Long} Resolution vs. Q_{Inv}");
 }
 
@@ -74,6 +96,7 @@ AliHBTQInvResolVsKtFctn(Int_t nXbins, Double_t maxXval, Double_t minXval,
                         Int_t nYbins, Double_t maxYval, Double_t minYval):
                            AliHBTTwoPairFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
 {
+//ctor
  Rename("QInvResolVsKt","Q_{Inv} Resolution vs. K_{t}");
 }
 
@@ -87,6 +110,7 @@ AliHBTQOutResolVsKtFctn(Int_t nXbins, Double_t maxXval, Double_t minXval,
                            Int_t nYbins, Double_t maxYval, Double_t minYval):
                            AliHBTTwoPairFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
 {
+//ctor
  Rename("QOutResolVsKt","Q_{Out} Resolution vs. K_{t} ");
 }
 
@@ -101,6 +125,7 @@ AliHBTQSideResolVsKtFctn(Int_t nXbins, Double_t maxXval, Double_t minXval,
                            Int_t nYbins, Double_t maxYval, Double_t minYval):
                            AliHBTTwoPairFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
 {
+//ctor
  Rename("QSideResolVsKt","Q_{Side} Resolution vs. K_{t} ");
 }
 
@@ -114,6 +139,7 @@ AliHBTQLongResolVsKtFctn(Int_t nXbins, Double_t maxXval, Double_t minXval,
                            Int_t nYbins, Double_t maxYval, Double_t minYval):
                              AliHBTTwoPairFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
 {
+//ctor
  Rename("QLongResolVsKt","Q_{Long} Resolution vs. K_{t} ");
 }
 
@@ -128,6 +154,7 @@ AliHBTQOutResolVsQOutFctn(Int_t nXbins, Double_t maxXval, Double_t minXval,
                            Int_t nYbins, Double_t maxYval, Double_t minYval):
                            AliHBTTwoPairFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
 {
+//ctor
  Rename("QOutResolVsQOut","Q_{Out} Resolution vs. Q_{Out} ");
 }
  
@@ -141,6 +168,7 @@ AliHBTQSideResolVsQSideFctn(Int_t nXbins, Double_t maxXval, Double_t minXval,
                            Int_t nYbins, Double_t maxYval, Double_t minYval):
                            AliHBTTwoPairFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
 {
+//ctor
  Rename("QSideResolVsQSide","Q_{Side} Resolution vs. Q_{Side} ");
 }
 
@@ -154,6 +182,7 @@ AliHBTQLongResolVsQLongFctn(Int_t nXbins, Double_t maxXval, Double_t minXval,
                            Int_t nYbins, Double_t maxYval, Double_t minYval):
                            AliHBTTwoPairFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
 {
+//ctor
  Rename("QLongResolVsQLong","Q_{Long} Resolution vs. Q_{Long} ");
 }
 
@@ -170,6 +199,7 @@ AliHBTPairThetaResolVsQInvFctn(Int_t nXbins, Double_t maxXval, Double_t minXval,
                            Int_t nYbins, Double_t maxYval, Double_t minYval):
                            AliHBTTwoPairFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
 {
+//ctor
  Rename("PairThetaResolVsQInv","Pair Theta Angle Resolution vs. Q_{Inv} ");
 }
 /******************************************************************/
@@ -183,6 +213,7 @@ AliHBTPairPhiResolVsQInvFctn(Int_t nXbins, Double_t maxXval, Double_t minXval,
                            Int_t nYbins, Double_t maxYval, Double_t minYval):
                            AliHBTTwoPairFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
 {
+//ctor
  Rename("PairPhiResolVsQInv","Pair Phi Angle Resolution vs. Q_{Inv} ");
 }
 /******************************************************************/
@@ -197,6 +228,7 @@ AliHBTPairThetaResolVsKtFctn(Int_t nXbins, Double_t maxXval, Double_t minXval,
                            Int_t nYbins, Double_t maxYval, Double_t minYval):
                            AliHBTTwoPairFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
 {
+//ctor
  Rename("PairThetaResolVsKt","Pair Theta Angle Resolution vs. K_{t} ");
 }
 /******************************************************************/
@@ -210,6 +242,7 @@ AliHBTPairPhiResolVsKtFctn(Int_t nXbins, Double_t maxXval, Double_t minXval,
                            Int_t nYbins, Double_t maxYval, Double_t minYval):
                            AliHBTTwoPairFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
 {
+//ctor
  Rename("PairPhiResolVsKt","Pair Phi Angle Resolution vs. K_{t} ");
 }
 /******************************************************************/
index 687d40a..eda1632 100644 (file)
@@ -1,17 +1,23 @@
 #ifndef ALIHBTQOUTVsQINVRESOLFCTN_H
 #define ALIHBTQOUTVsQINVRESOLFCTN_H
-//General Remark:
-//CMSLC means
-//Center of Mass System Longitudially Co-moving
+//__________________________________________________________________
+////////////////////////////////////////////////////////////////////
+//                                                                //
+// General Remark:                                                //
+// CMSLC means                                                    //
+// Center of Mass System Longitudially Co-moving                  //
+//                                                                //
+//                                                                //
+// This class creates resolution function of Qout                 //
+// (difference of simulated pair Qout and recontructed pair)      //
+// in function of QInv                                            //
+// it inherits from AliHBTTwoPairFctn2D                           //
+//  it needs two pairs to compare                                 //
+//  and is two dimentional: numerator and denominator are TH2D    //
+//                                                                //
+////////////////////////////////////////////////////////////////////
 
 
-//this class creates resolution function of Qout 
-//(difference of simulated pair Qout and recontructed pair)
-//in function of QInv
-//it inherits from AliHBTTwoPairFctn2D
-//  it needs two pairs to compare
-//  and is two dimentional: numerator and denominator are TH2D
-
 class AliHBTKtResolVsQInvFctn;  //Kt Res   Vs   QInvCMSLC 
 
 class AliHBTQOutResolVsQInvFctn;  //QOutCMSLC  Res   Vs   QInvCMSLC 
@@ -56,7 +62,6 @@ class AliHBTKtResolVsQInvFctn: public AliHBTTwoPairFctn2D
     }
   protected:
   private: 
-  public:
     ClassDef(AliHBTKtResolVsQInvFctn,1)
  };
 
@@ -79,7 +84,6 @@ class AliHBTQInvResolVsQInvFctn: public AliHBTTwoPairFctn2D
     }
   protected:
   private: 
-  public:
     ClassDef(AliHBTQInvResolVsQInvFctn,1)
  };
 
@@ -102,7 +106,6 @@ class AliHBTQOutResolVsQInvFctn: public AliHBTTwoPairFctn2D
     }
   protected:
   private: 
-  public:
     ClassDef(AliHBTQOutResolVsQInvFctn,1)
  };
 
@@ -123,7 +126,6 @@ class AliHBTQSideResolVsQInvFctn: public AliHBTTwoPairFctn2D
    TH1* GetResult(){return fNumerator;} 
   protected:
   private:
-  public:
     ClassDef(AliHBTQSideResolVsQInvFctn,1)
  };
 
@@ -144,7 +146,6 @@ class AliHBTQLongResolVsQInvFctn: public AliHBTTwoPairFctn2D
    TH1* GetResult(){return fNumerator;} 
   protected:
   private:
-  public:
     ClassDef(AliHBTQLongResolVsQInvFctn,1)
  };
 
@@ -165,7 +166,6 @@ class AliHBTQInvResolVsKtFctn: public AliHBTTwoPairFctn2D
    TH1* GetResult(){return fNumerator;} 
   protected:
   private:
-  public:
     ClassDef(AliHBTQInvResolVsKtFctn,1)
  };
 /***********************************************************************/
@@ -184,7 +184,6 @@ class AliHBTQOutResolVsKtFctn: public AliHBTTwoPairFctn2D
     }
   protected:
   private:
-  public:
     ClassDef(AliHBTQOutResolVsKtFctn,1)
  };
 /***********************************************************************/
@@ -203,7 +202,6 @@ class AliHBTQSideResolVsKtFctn: public AliHBTTwoPairFctn2D
     }
   protected:
   private:
-  public:
     ClassDef(AliHBTQSideResolVsKtFctn,1)
  };
 /***********************************************************************/
@@ -223,7 +221,6 @@ class AliHBTQLongResolVsKtFctn: public AliHBTTwoPairFctn2D
    TH1* GetResult(){return fNumerator;}
   protected:
   private:
-  public:
     ClassDef(AliHBTQLongResolVsKtFctn,1)
  };
 /***********************************************************************/
@@ -243,7 +240,6 @@ class AliHBTQOutResolVsQOutFctn: public AliHBTTwoPairFctn2D
    TH1* GetResult(){return fNumerator;}  
   protected:
   private:
-  public:
     ClassDef(AliHBTQOutResolVsQOutFctn,1)
  };
 
@@ -265,7 +261,6 @@ class AliHBTQSideResolVsQSideFctn: public AliHBTTwoPairFctn2D
    TH1* GetResult(){return fNumerator;}  
   protected:
   private:
-  public:
     ClassDef(AliHBTQSideResolVsQSideFctn,1)
  };
 
@@ -288,7 +283,6 @@ class AliHBTQLongResolVsQLongFctn: public AliHBTTwoPairFctn2D
    TH1* GetResult(){return fNumerator;}  
   protected:
   private:
-  public:
     ClassDef(AliHBTQLongResolVsQLongFctn,1)
  };
 
@@ -313,7 +307,6 @@ class AliHBTPairThetaResolVsQInvFctn: public AliHBTTwoPairFctn2D
     }
   protected:
   private: 
-  public:
     ClassDef(AliHBTPairThetaResolVsQInvFctn,1)
  };
 
@@ -337,7 +330,6 @@ class AliHBTPairPhiResolVsQInvFctn: public AliHBTTwoPairFctn2D
     }
   protected:
   private: 
-  public:
     ClassDef(AliHBTPairPhiResolVsQInvFctn,1)
  };
 
@@ -361,7 +353,6 @@ class AliHBTPairThetaResolVsKtFctn: public AliHBTTwoPairFctn2D
     }
   protected:
   private: 
-  public:
     ClassDef(AliHBTPairThetaResolVsKtFctn,1)
  };
 
@@ -385,7 +376,6 @@ class AliHBTPairPhiResolVsKtFctn: public AliHBTTwoPairFctn2D
     }
   protected:
   private: 
-  public:
     ClassDef(AliHBTPairPhiResolVsKtFctn,1)
  };