ROOT logo
////////////////////////////////////////////////////////////////////////////////
///                                                                          ///
/// AliFemtoTPCInnerCorrFctn - A correlation function that saves the         ///
/// distance at the entrance to the TPC between two tracks as a function     ///
/// of qinv                                                                  ///
/// Authors: Adam Kisiel kisiel@mps.ohio-state.edu                           ///
///                                                                          ///
////////////////////////////////////////////////////////////////////////////////

#ifndef AliFemtoTPCInnerCorrFctn_hh
#define AliFemtoTPCInnerCorrFctn_hh

#include "TH1D.h"
#include "TH2D.h"
#include "AliFemtoCorrFctn.h"

class AliFemtoTPCInnerCorrFctn : public AliFemtoCorrFctn {
public:
  AliFemtoTPCInnerCorrFctn(char* title, const int& nbins, const float& QinvLo, const float& QinvHi);
  AliFemtoTPCInnerCorrFctn(const AliFemtoTPCInnerCorrFctn& aCorrFctn);
  virtual ~AliFemtoTPCInnerCorrFctn();

  AliFemtoTPCInnerCorrFctn& operator=(const AliFemtoTPCInnerCorrFctn& aCorrFctn);

  virtual AliFemtoString Report();
  virtual void AddRealPair(AliFemtoPair* aPair);
  virtual void AddMixedPair(AliFemtoPair* aPair);
  void SetRadius(double rad);

  virtual void Finish();

  void WriteHistos();
  virtual TList* GetOutputList();
private:
  
  TH2D *fDTPCNumerator;        // Distance at the entrance to the TPC for real pairs
  TH2D *fDTPCDenominator;      // Distance at the entrance to tht TPC for mixed pairs
  TH2D *fRadDNumerator;        // Distance at the radius for real pairs
  TH2D *fRadDDenominator;      // Distance at the radius for mixed pairs
  Double_t fRadius;            // Radius at which to calculate the distance

#ifdef __ROOT__
  ClassDef(AliFemtoTPCInnerCorrFctn, 1)
#endif
};


#endif

 AliFemtoTPCInnerCorrFctn.h:1
 AliFemtoTPCInnerCorrFctn.h:2
 AliFemtoTPCInnerCorrFctn.h:3
 AliFemtoTPCInnerCorrFctn.h:4
 AliFemtoTPCInnerCorrFctn.h:5
 AliFemtoTPCInnerCorrFctn.h:6
 AliFemtoTPCInnerCorrFctn.h:7
 AliFemtoTPCInnerCorrFctn.h:8
 AliFemtoTPCInnerCorrFctn.h:9
 AliFemtoTPCInnerCorrFctn.h:10
 AliFemtoTPCInnerCorrFctn.h:11
 AliFemtoTPCInnerCorrFctn.h:12
 AliFemtoTPCInnerCorrFctn.h:13
 AliFemtoTPCInnerCorrFctn.h:14
 AliFemtoTPCInnerCorrFctn.h:15
 AliFemtoTPCInnerCorrFctn.h:16
 AliFemtoTPCInnerCorrFctn.h:17
 AliFemtoTPCInnerCorrFctn.h:18
 AliFemtoTPCInnerCorrFctn.h:19
 AliFemtoTPCInnerCorrFctn.h:20
 AliFemtoTPCInnerCorrFctn.h:21
 AliFemtoTPCInnerCorrFctn.h:22
 AliFemtoTPCInnerCorrFctn.h:23
 AliFemtoTPCInnerCorrFctn.h:24
 AliFemtoTPCInnerCorrFctn.h:25
 AliFemtoTPCInnerCorrFctn.h:26
 AliFemtoTPCInnerCorrFctn.h:27
 AliFemtoTPCInnerCorrFctn.h:28
 AliFemtoTPCInnerCorrFctn.h:29
 AliFemtoTPCInnerCorrFctn.h:30
 AliFemtoTPCInnerCorrFctn.h:31
 AliFemtoTPCInnerCorrFctn.h:32
 AliFemtoTPCInnerCorrFctn.h:33
 AliFemtoTPCInnerCorrFctn.h:34
 AliFemtoTPCInnerCorrFctn.h:35
 AliFemtoTPCInnerCorrFctn.h:36
 AliFemtoTPCInnerCorrFctn.h:37
 AliFemtoTPCInnerCorrFctn.h:38
 AliFemtoTPCInnerCorrFctn.h:39
 AliFemtoTPCInnerCorrFctn.h:40
 AliFemtoTPCInnerCorrFctn.h:41
 AliFemtoTPCInnerCorrFctn.h:42
 AliFemtoTPCInnerCorrFctn.h:43
 AliFemtoTPCInnerCorrFctn.h:44
 AliFemtoTPCInnerCorrFctn.h:45
 AliFemtoTPCInnerCorrFctn.h:46
 AliFemtoTPCInnerCorrFctn.h:47
 AliFemtoTPCInnerCorrFctn.h:48
 AliFemtoTPCInnerCorrFctn.h:49