#ifndef AliAODPair_H
#define AliAODPair_H
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice */
+
+/* $Id$ */
+
//_________________________________________________________________________
///////////////////////////////////////////////////////////////////////////
//
//
// class implements pair of particles and taking care of caluclation (almost)
// all of pair properties (Qinv, InvMass,...)
-// more info: http://alisoft.cern.ch/people/skowron/analyzer/index.html
+// more info: http://aliweb.cern.ch/people/skowron/analyzer/index.html
//
////////////////////////////////////////////////////////////////////////////
+#include <TMath.h>
#include <TObject.h>
-#include "AliVAODParticle.h"
+#include "AliVAODParticle.h"
class AliAODPair: public TObject
{
virtual Double_t GetDeltaPhi();
virtual Double_t GetGammaToLCMS();
+ virtual Double_t GetGammaToTransverse();
virtual Double_t GetPIDProb() const {return fPart1->GetPidProb()*fPart2->GetPidProb();}
+ virtual Double_t GetRStar() ;
+ virtual Double_t GetR() ;//returns distance between particle production points
+
+ void MirrorSecond();
+ void DeleteSecond();
+
+ void Print(const Option_t* option ) const {TObject::Print(option);}
+ void Print() ;
+
protected:
AliVAODParticle* fPart1; //pointer to first particle
AliVAODParticle* fPart2; //pointer to second particle
{
//sets the particle to the pair
- fPart1 = p1;
+ fPart1 = p1;
fPart2 = p2;
if (fSwappedPair) //if we have Swapped (so we are not)
- fSwappedPair->SetParticles(p2,p1); //set particles for him too
+ fSwappedPair->SetParticles(fPart2,p1); //set particles for him too
Changed();
//and do nothing until will be asked for
}