Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions PWGLF/TableProducer/Strangeness/cascadeflow.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@

float getNsigmaMass(const cascadev2::species s, const float pt, const float nsigma = 6)
{
const auto sigma = parSigmaMass->get(0u, s) * exp(parSigmaMass->get(1, s) * pt) + parSigmaMass->get(2, s) * exp(parSigmaMass->get(3, s) * pt);

Check failure on line 388 in PWGLF/TableProducer/Strangeness/cascadeflow.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[std-prefix]

Use std:: prefix for names from the std namespace.
return nsigma * sigma;
}

Expand Down Expand Up @@ -914,7 +914,7 @@
cosThetaStarLambda[i] = boostedLambda.Pz() / boostedLambda.P();
}

double ptLambda = sqrt(pow(casc.pxlambda(), 2) + pow(casc.pylambda(), 2));

Check failure on line 917 in PWGLF/TableProducer/Strangeness/cascadeflow.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[std-prefix]

Use std:: prefix for names from the std namespace.
auto etaLambda = RecoDecay::eta(std::array{casc.pxlambda(), casc.pylambda(), casc.pzlambda()});

// acceptance values if requested
Expand Down Expand Up @@ -1010,7 +1010,7 @@
histos.get<TH1>(HIST("massXi_ProtonAcc"))->Fill(casc.mXi());
}
}
if (fillingConfigs.isFillTHNOmega) {
if (fillingConfigs.isFillTHNOmega) {
if (fillingConfigs.isFillTHN_V2)
histos.get<THn>(HIST("hOmegaV2"))->Fill(coll.centFT0C(), ChargeIndex, casc.pt(), casc.mOmega(), BDTresponse[1], v2CEP);
if (fillingConfigs.isFillTHN_Pz)
Expand Down Expand Up @@ -1055,23 +1055,23 @@
}
}

void processAnalyseDataEP2CentralFW(CollEventPlaneCentralFW const& coll, CascCandidates const& Cascades, DauTracks const&)
void processAnalyseDataEP2CentralFW(CollEventPlaneCentralFW const& coll, CascCandidates const& Cascades, DauTracks const&)
{

if (!AcceptEvent(coll, 1)) {
return;
}

// select only events used for the calibration of the event plane
if (isGoodEventEP) {
if (abs(coll.qvecFT0CRe()) > 990 || abs(coll.qvecFT0CIm()) > 990 || abs(coll.qvecBNegRe()) > 990 || abs(coll.qvecBNegIm()) > 990 || abs(coll.qvecBPosRe()) > 990 || abs(coll.qvecBPosIm()) > 990) {

Check failure on line 1067 in PWGLF/TableProducer/Strangeness/cascadeflow.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[std-prefix]

Use std:: prefix for names from the std namespace.
return;
}
}

// event has FT0C event plane
bool hasEventPlane = 0;
if (abs(coll.qvecFT0CRe()) < 990 && abs(coll.qvecFT0CIm()) < 990)

Check failure on line 1074 in PWGLF/TableProducer/Strangeness/cascadeflow.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[std-prefix]

Use std:: prefix for names from the std namespace.
hasEventPlane = 1;

histos.fill(HIST("hNEvents"), 9.5);
Expand Down Expand Up @@ -1183,7 +1183,7 @@
cosThetaStarLambda[i] = boostedLambda.Pz() / boostedLambda.P();
}

double ptLambda = sqrt(pow(casc.pxlambda(), 2) + pow(casc.pylambda(), 2));

Check failure on line 1186 in PWGLF/TableProducer/Strangeness/cascadeflow.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[std-prefix]

Use std:: prefix for names from the std namespace.
auto etaLambda = RecoDecay::eta(std::array{casc.pxlambda(), casc.pylambda(), casc.pzlambda()});

// acceptance values if requested
Expand Down Expand Up @@ -1277,7 +1277,7 @@
histos.get<TH1>(HIST("massXi_ProtonAcc"))->Fill(casc.mXi());
}
}
if (fillingConfigs.isFillTHNOmega) {
if (fillingConfigs.isFillTHNOmega) {
if (fillingConfigs.isFillTHN_V2)
histos.get<THn>(HIST("hOmegaV2"))->Fill(coll.centFT0C(), ChargeIndex, casc.pt(), casc.mOmega(), BDTresponse[1], v2CEP);
if (fillingConfigs.isFillTHN_Pz)
Expand Down Expand Up @@ -1331,14 +1331,14 @@

// select only events used for the calibration of the event plane
if (isGoodEventEP) {
if (abs(coll.qvecFT0CRe()) > 990 || abs(coll.qvecFT0CIm()) > 990 || abs(coll.qvecBNegRe()) > 990 || abs(coll.qvecBNegIm()) > 990 || abs(coll.qvecBPosRe()) > 990 || abs(coll.qvecBPosIm()) > 990) {

Check failure on line 1334 in PWGLF/TableProducer/Strangeness/cascadeflow.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[std-prefix]

Use std:: prefix for names from the std namespace.
return;
}
}

// event has FT0C event plane
bool hasEventPlane = 0;
if (abs(coll.qvecFT0CRe()) < 990 && abs(coll.qvecFT0CIm()) < 990)

Check failure on line 1341 in PWGLF/TableProducer/Strangeness/cascadeflow.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[std-prefix]

Use std:: prefix for names from the std namespace.
hasEventPlane = 1;

// event has spectator plane
Expand All @@ -1360,9 +1360,9 @@
ROOT::Math::XYZVector spectatorplaneVecZDCA{std::cos(coll.psiZDCA()), std::sin(coll.psiZDCA()), 0}; // eta positive = projectile
ROOT::Math::XYZVector spectatorplaneVecZDCC{std::cos(coll.psiZDCC()), std::sin(coll.psiZDCC()), 0}; // eta negative = target

float NormQvT0C = sqrt(eventplaneVecT0C.Dot(eventplaneVecT0C));

Check failure on line 1363 in PWGLF/TableProducer/Strangeness/cascadeflow.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[std-prefix]

Use std:: prefix for names from the std namespace.
float NormQvTPCA = sqrt(eventplaneVecTPCA.Dot(eventplaneVecTPCA));

Check failure on line 1364 in PWGLF/TableProducer/Strangeness/cascadeflow.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[std-prefix]

Use std:: prefix for names from the std namespace.
float NormQvTPCC = sqrt(eventplaneVecTPCC.Dot(eventplaneVecTPCC));

Check failure on line 1365 in PWGLF/TableProducer/Strangeness/cascadeflow.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[std-prefix]

Use std:: prefix for names from the std namespace.

const float PsiT0C = std::atan2(coll.qvecFT0CIm(), coll.qvecFT0CRe()) * 0.5f;
histos.fill(HIST("hPsiT0C"), PsiT0C);
Expand Down
Loading