X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ANALYSIS%2FAliAODPair.h;h=5957f2a7fbf1c02f4c789efabc4a5c6182f01655;hb=795e4a2212eecadf442f81f499f025cbbc28a427;hp=42265059403e38e2894117cc158e0958dfc15ca2;hpb=a40c04338b31d237db1dd14cd14bdd636dc4c587;p=u%2Fmrichter%2FAliRoot.git diff --git a/ANALYSIS/AliAODPair.h b/ANALYSIS/AliAODPair.h index 42265059403..5957f2a7fbf 100644 --- a/ANALYSIS/AliAODPair.h +++ b/ANALYSIS/AliAODPair.h @@ -1,5 +1,10 @@ #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$ */ + //_________________________________________________________________________ /////////////////////////////////////////////////////////////////////////// // @@ -7,13 +12,14 @@ // // 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 #include -#include "AliVAODParticle.h" +#include "AliVAODParticle.h" class AliAODPair: public TObject { @@ -67,8 +73,18 @@ 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 @@ -167,10 +183,10 @@ void AliAODPair::SetParticles(AliVAODParticle* p1,AliVAODParticle* p2) { //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 }