// 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
//
////////////////////////////////////////////////////////////////////////////
fQLongLCMSNotCalc(kTRUE),
fQtLCMS(0.0),
fQtLCMSNotCalc(kTRUE),
+ fQt(0.0),
+ fQtNotCalc(kTRUE),
fQInv(0.0),
fQInvNotCalc(kTRUE),
fInvMass(0.0),
fQLongLCMSNotCalc(kTRUE),
fQtLCMS(0.0),
fQtLCMSNotCalc(kTRUE),
+ fQt(0.0),
+ fQtNotCalc(kTRUE),
fQInv(0.0),
fQInvNotCalc(kTRUE),
fInvMass(0.0),
}
/************************************************************************/
+Double_t AliAODPair::GetGammaToTransverse()
+{
+ //calculates gamma factor of the boost to LCMS
+ Double_t beta = 2.0*GetKt() / GetMt();
+ Double_t gamma = 1.0/TMath::Sqrt(1.0 - beta*beta);
+
+ return gamma;
+}
+/************************************************************************/
+
Double_t AliAODPair::GetMt()
{
//Calculates transverse mass of the pair
delete fPart2;
fPart2 = 0x0;
}
+
+void AliAODPair::Print()
+{
+ if (fPart1) fPart1->Print();
+ if (fPart2) fPart2->Print();
+
+ Info("Print","GetKStar() %f",GetKStar());
+ Info("Print","GetKt() %f",GetKt() );
+ Info("Print","QInv %f", GetQInv() );
+ Info("Print","GetQOutLCMS() %f",GetQOutLCMS() );
+ Info("Print","GetQSideLCMS %f",GetQSideLCMS() );
+ Info("Print","GetQLongLCMS() %f", GetQLongLCMS());
+ Info("Print","GetDeltaTheta() %f", GetDeltaTheta());
+ Info("Print","GetDeltaPhi() %f", GetDeltaPhi());
+
+
+}