Skip to content

Commit

Permalink
Please consider the following formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alibuild committed Jan 11, 2024
1 parent 3e81664 commit 26a4ad2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions PWGLF/DataModel/LFStrangenessTables.h
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ DECLARE_SOA_TABLE(StoredCascCores, "AOD", "CASCCORE", //! core information about
cascdata::YXi<cascdata::Px, cascdata::Py, cascdata::Pz>,
cascdata::YOmega<cascdata::Px, cascdata::Py, cascdata::Pz>,
cascdata::Rapidity<cascdata::Px, cascdata::Py, cascdata::Pz>,

cascdata::NegativePt<cascdata::PxNeg, cascdata::PyNeg>,
cascdata::PositivePt<cascdata::PxPos, cascdata::PyPos>,
cascdata::BachelorPt<cascdata::PxBach, cascdata::PyBach>,
Expand Down Expand Up @@ -849,8 +849,8 @@ DECLARE_SOA_TABLE(StoredKFCascCores, "AOD", "KFCASCCORE", //!

// Longitudinal
cascdata::YXi<cascdata::Px, cascdata::Py, cascdata::Pz>,
cascdata::YOmega<cascdata::Px, cascdata::Py, cascdata::Pz>,
cascdata::YOmega<cascdata::Px, cascdata::Py, cascdata::Pz>,

cascdata::NegativePt<cascdata::PxNeg, cascdata::PyNeg>,
cascdata::PositivePt<cascdata::PxPos, cascdata::PyPos>,
cascdata::BachelorPt<cascdata::PxBach, cascdata::PyBach>,
Expand Down
10 changes: 5 additions & 5 deletions PWGLF/Tasks/lambdakzeroanalysis.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ struct lambdakzeroAnalysis {
histos.add("hEventSelection", "hEventSelection", kTH1F, {{2, -0.5f, +1.5f}});
histos.get<TH1>(HIST("hEventSelection"))->GetXaxis()->SetBinLabel(1, "All collisions");
histos.get<TH1>(HIST("hEventSelection"))->GetXaxis()->SetBinLabel(2, "posZ cut");

histos.add("hEventCentrality", "hEventCentrality", kTH1F, {{100, 0.0f, +100.0f}});

histos.add("h3dMassK0Short", "h3dMassK0Short", kTH3F, {axisCentrality, axisPt, axisK0Mass});
histos.add("h3dMassLambda", "h3dMassLambda", kTH3F, {axisCentrality, axisPt, axisLambdaMass});
histos.add("h3dMassAntiLambda", "h3dMassAntiLambda", kTH3F, {axisCentrality, axisPt, axisLambdaMass});

// Extra QA histograms to be added <fixme>
}

Expand All @@ -93,7 +93,7 @@ struct lambdakzeroAnalysis {

static constexpr float defaultLifetimeCuts[1][2] = {{25., 20.}};
Configurable<LabeledArray<float>> lifetimecut{"lifetimecut", {defaultLifetimeCuts[0], 2, {"lifetimecutLambda", "lifetimecutK0S"}}, "lifetimecut"};

Filter preFilterV0 = nabs(aod::v0data::dcapostopv) > dcapostopv&& nabs(aod::v0data::dcanegtopv) > dcanegtopv&& aod::v0data::dcaV0daughters < dcav0dau;

void process(soa::Join<aod::StraCollisions, aod::StraCents>::iterator const& collision, soa::Filtered<soa::Join<aod::V0Cores, aod::V0Extras>> const& fullV0s, dauTracks const&)
Expand All @@ -104,7 +104,7 @@ struct lambdakzeroAnalysis {
}
histos.fill(HIST("hEventSelection"), 1.5);
histos.fill(HIST("hEventCentrality"), collision.centFT0C());

for (auto& v0 : fullV0s) {
// FIXME: could not find out how to filter cosPA and radius variables (dynamic columns)
if (v0.v0radius() > v0radius && v0.v0cosPA() > v0cospa) {
Expand Down

0 comments on commit 26a4ad2

Please sign in to comment.