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 Dec 3, 2023
1 parent a31bda4 commit 459acea
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions PWGLF/DataModel/LFStrangenessTables.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ DECLARE_SOA_COLUMN(Py, py, float); //! py
DECLARE_SOA_COLUMN(Pz, pz, float); //! pz
DECLARE_SOA_COLUMN(PDGCode, pdgCode, int); //! pdg code
DECLARE_SOA_COLUMN(IsPhysicalPrimary, isPhysicalPrimary, bool); //! primary criterion
}
} // namespace motherParticle

DECLARE_SOA_TABLE(MotherMCParticles, "AOD", "MOTHERMCPART", //! mother MC information
motherParticle::Px, motherParticle::Py, motherParticle::Pz,
motherParticle::Px, motherParticle::Py, motherParticle::Pz,
motherParticle::PDGCode, motherParticle::IsPhysicalPrimary);

using MotherMCParticle = MotherMCParticles::iterator;
Expand Down
2 changes: 1 addition & 1 deletion PWGLF/TableProducer/lambdakzerobuilder.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ struct lambdakzeroBuilder {
auto lPtAnHy = RecoDecay::sqrtSumOfSquares(v0candidate.posP[0] + 2.0f * v0candidate.negP[0], v0candidate.posP[1] + 2.0f * v0candidate.negP[1]);

// Fill basic mass histograms
if( TMath::Abs(RecoDecay::eta(std::array{px, py, pz}))<0.5 ) {
if (TMath::Abs(RecoDecay::eta(std::array{px, py, pz})) < 0.5) {
if ((V0.isdEdxGamma() || dEdxUnchecked) && (V0.isTrueGamma() || mcUnchecked))
registry.fill(HIST("h2dGammaMass"), lPt, lGammaMass);
if ((V0.isdEdxK0Short() || dEdxUnchecked) && (V0.isTrueK0Short() || mcUnchecked))
Expand Down
2 changes: 1 addition & 1 deletion PWGLF/TableProducer/lambdakzeromcfinder.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ struct lambdakzeromcfinder {
bool reconstructed = false;
for (auto& mcParticle : mcParticles) {
if (fabs(mcParticle.y()) > yPreFilter)
continue; // go declarative at a later stage but pre-filter here
continue; // go declarative at a later stage but pre-filter here

if (mcParticle.pdgCode() == 22 && findGamma) {
reconstructed = ProcessV0(mcParticle, tracks, bestCollisionIndex, positiveITS, negativeITS, positiveTPC, negativeTPC, positiveTPCITS, negativeTPCITS);
Expand Down
12 changes: 6 additions & 6 deletions PWGLF/TableProducer/strangederivedbuilder.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ struct strangederivedbuilder {
Produces<aod::DauTrackTPCPIDs> dauTrackTPCPIDs; // daughter track TPC PID
Produces<aod::V0Extras> v0Extras; // references DauTracks from V0s
Produces<aod::CascExtras> cascExtras; // references DauTracks from cascades
Produces<aod::StraTrackExtras> straTrackExtras; // references DauTracks from tracked cascades
Produces<aod::StraTrackExtras> straTrackExtras; // references DauTracks from tracked cascades

//__________________________________________________
// cascade interlinks
Expand All @@ -84,9 +84,9 @@ struct strangederivedbuilder {

//__________________________________________________
// mother information
Produces<aod::V0MCMothers> v0mothers; // V0 mother references
Produces<aod::CascMCMothers> cascmothers; // casc mother references
Produces<aod::MotherMCParticles> motherMCParticles; //mc particles for mothers
Produces<aod::V0MCMothers> v0mothers; // V0 mother references
Produces<aod::CascMCMothers> cascmothers; // casc mother references
Produces<aod::MotherMCParticles> motherMCParticles; // mc particles for mothers

// histogram registry for bookkeeping
HistogramRegistry histos{"Histos", {}, OutputObjHandlingPolicy::AnalysisObject};
Expand Down Expand Up @@ -332,9 +332,9 @@ struct strangederivedbuilder {
//__________________________________________________
// mark mcParticles for referencing
for (auto const& v0 : V0s)
motherReference[v0.mcParticleId()] = 0;
motherReference[v0.mcParticleId()] = 0;
for (auto const& ca : Cascades)
motherReference[ca.mcParticleId()] = 0;
motherReference[ca.mcParticleId()] = 0;
//__________________________________________________
// Figure out the numbering of the new mcMother table
// assume filling per order
Expand Down
2 changes: 1 addition & 1 deletion PWGLF/Tasks/QC/straRecoStudy.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ struct straRecoStudy {
{
// check if collision successfully reconstructed
for (auto& mcp : mcParticles) {
if (TMath::Abs(mcp.eta()) < 0.5) {
if (TMath::Abs(mcp.eta()) < 0.5) {
if (mcp.pdgCode() == 22)
histos.fill(HIST("hGenGamma"), mcp.pt());
if (mcp.pdgCode() == 310)
Expand Down

0 comments on commit 459acea

Please sign in to comment.