9#include "FemtoCorrFuncY.h"
19 FemtoCorrFuncY::FemtoCorrFuncY(
const DividedHisto1D& h,
const std::initializer_list<double>& init, Int_t yBins) :
20 FemtoCorrFunc1D(h, init, yBins,
"Y_{pair}",
"Y_{pair} ",
"N_{pairs}") {}
22 Double_t FemtoCorrFuncY::GetPairValNum(FemtoPair* pair)
const {
23 Double_t e1 = pair->GetE1();
24 Double_t e2 = pair->GetE2();
25 Double_t pz1 = pair->GetPz1();
26 Double_t pz2 = pair->GetPz2();
28 Double_t Pz = pz1 + pz2;
29 return 0.5 * TMath::Log((E + Pz) / (E - Pz));
32 Double_t FemtoCorrFuncY::GetPairValDenRot(FemtoPair* pair)
const {
return GetPairValNum(pair); }
34 Double_t FemtoCorrFuncY::GetPairValDenHemi(FemtoPair* pair)
const {
35 Double_t e1 = pair->GetE1();
36 Double_t e2 = pair->GetE2();
37 Double_t pz1 = pair->GetPz1();
38 Double_t pz2 = pair->GetPz2();
40 Double_t Pz = pz1 - pz2;
41 return 0.5 * TMath::Log((E + Pz) / (E - Pz));
44 FemtoCorrFuncY::FemtoCorrFuncY(
const FemtoCorrFuncY& other) : FemtoCorrFunc1D(other) {}