AliHBTOutSideLongFctn correl function added
authorskowron <skowron@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 29 Feb 2004 15:30:53 +0000 (15:30 +0000)
committerskowron <skowron@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 29 Feb 2004 15:30:53 +0000 (15:30 +0000)
HBTAN/AliHBTCorrelFctn.cxx
HBTAN/AliHBTCorrelFctn.h
HBTAN/HBTAnalysisLinkDef.h

index adf5cca..e59c7c5 100644 (file)
@@ -44,6 +44,19 @@ TH1* AliHBTQInvCorrelFctn::GetResult()
 /*************************************************************************************/ 
 /*************************************************************************************/ 
 
+ClassImp(AliHBTOutSideLongFctn)
+
+AliHBTOutSideLongFctn::AliHBTOutSideLongFctn(Int_t nXbins, Double_t maxXval, Double_t minXval,
+                                                   Int_t nYbins, Double_t maxYval, Double_t minYval,
+                                                   Int_t nZbins, Double_t maxZval, Double_t minZval):
+ AliHBTOnePairFctn3D(nXbins,maxXval,minXval,nYbins,maxYval,minYval,nZbins,maxZval,minZval)
+{
+  fWriteNumAndDen = kTRUE;//change default behaviour
+  Rename("qoslcf","Q_{out}-Q_{side}-Q_{long} Correlation Fctn");
+}
+
+/*************************************************************************************/ 
+
 ClassImp(AliHBTQOutCMSLCCorrelFctn)
     
 AliHBTQOutCMSLCCorrelFctn::AliHBTQOutCMSLCCorrelFctn(Int_t nbins, Double_t maxXval, Double_t minXval):
index df22900..f73c9f9 100644 (file)
@@ -37,6 +37,26 @@ class AliHBTQInvCorrelFctn: public AliHBTOnePairFctn1D, public AliHBTCorrelFunct
    ClassDef(AliHBTQInvCorrelFctn,2)
  
 };
+/*************************************************************/
+
+class AliHBTOutSideLongFctn: public AliHBTOnePairFctn3D, public AliHBTCorrelFunction
+{
+
+  public:
+    AliHBTOutSideLongFctn(Int_t nXbins = 100, Double_t maxXval = 0.15, Double_t minXval = 0.0,
+                             Int_t nYbins = 100, Double_t maxYval = 0.15, Double_t minYval = 0.0,
+                Int_t nZbins = 100, Double_t maxZval = 0.15, Double_t minZval = 0.0);
+    virtual  ~AliHBTOutSideLongFctn(){}
+
+  TH1* GetResult();
+  void   ProcessSameEventParticles(AliHBTPair* partpair);
+  
+  void GetValues(AliHBTPair* pair, Double_t& x, Double_t& y, Double_t& z)
+    { x=TMath::Abs(pair->GetQOutCMSLC()); y=TMath::Abs(pair->GetQSideCMSLC()); z=TMath::Abs(pair->GetQLongCMSLC());} 
+
+  ClassDef(AliHBTOutSideLongFctn,1)
+};
+
 /*************************************************************************************/ 
 
 class AliHBTQOutCMSLCCorrelFctn: public AliHBTOnePairFctn1D, public AliHBTCorrelFunction
index ea91189..56ca4af 100644 (file)
@@ -83,6 +83,7 @@
 #pragma link C++ class AliHBTClusterMap+;
     
 #pragma link C++ class AliHBTQInvCorrelFctn+;
+#pragma link C++ class AliHBTOutSideLongFctn+;
 #pragma link C++ class AliHBTTwoKStarCorrelFctn+;
 #pragma link C++ class AliHBTQOutCMSLCCorrelFctn+;
 #pragma link C++ class AliHBTQLongCMSLCCorrelFctn+;