Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PWGLF] Please consider the following formatting changes to #8826 #97

Merged
merged 1 commit into from
Dec 5, 2024
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
16 changes: 8 additions & 8 deletions PWGLF/Tasks/Nuspex/spectraTOF.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,7 @@
return false;
}
}
return (std::abs(track.dcaXY()) <= (maxDcaXYFactor.value * (0.0105f + 0.0350f / pow(track.pt(), 1.1f))));

Check warning on line 1100 in PWGLF/Tasks/Nuspex/spectraTOF.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[std-prefix]

Use std:: prefix for names from the std namespace.
}
return track.isGlobalTrack();
}
Expand Down Expand Up @@ -1345,14 +1345,14 @@
continue;
}
if (std::abs(track.rapidity(PID::getMass(2))) > trkselOptions.cfgCutY) {
return;
}
if (std::abs(track.rapidity(PID::getMass(3))) > trkselOptions.cfgCutY) {
return;
}
if (std::abs(track.rapidity(PID::getMass(4))) > trkselOptions.cfgCutY) {
return;
}
return;
}
if (std::abs(track.rapidity(PID::getMass(3))) > trkselOptions.cfgCutY) {
return;
}
if (std::abs(track.rapidity(PID::getMass(4))) > trkselOptions.cfgCutY) {
return;
}
if (includeCentralityToTracks) {

if (track.sign() > 0) {
Expand Down Expand Up @@ -1610,7 +1610,7 @@

using RecoMCCollisions = soa::Join<aod::Collisions, aod::McCollisionLabels, aod::EvSels, aod::CentFT0As, aod::CentFT0Cs, aod::TPCMults, aod::PVMults, aod::MultZeqs, aod::CentFT0Ms>; // RD
template <std::size_t i, typename TrackType, typename ParticleType>
void fillTrackHistograms_MC(TrackType const& track,

Check warning on line 1613 in PWGLF/Tasks/Nuspex/spectraTOF.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
ParticleType::iterator const& mcParticle,
RecoMCCollisions::iterator const& collision,
ParticleType const& mcParticles)
Expand Down Expand Up @@ -1682,10 +1682,10 @@
}

if (enableDCAvsmotherHistograms) {
bool IsD0Mother = false;

Check warning on line 1685 in PWGLF/Tasks/Nuspex/spectraTOF.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
bool IsCharmMother = false;

Check warning on line 1686 in PWGLF/Tasks/Nuspex/spectraTOF.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
bool IsBeautyMother = false;

Check warning on line 1687 in PWGLF/Tasks/Nuspex/spectraTOF.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
bool IsNotHFMother = false;

Check warning on line 1688 in PWGLF/Tasks/Nuspex/spectraTOF.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.

if (mcParticle.has_mothers()) {
const int charmOrigin = RecoDecay::getCharmHadronOrigin(mcParticles, mcParticle, false);
Expand Down Expand Up @@ -1837,7 +1837,7 @@
}

template <std::size_t i, typename ParticleType>
void fillParticleHistograms_MC(const float multiplicity, ParticleType const& mcParticle)

Check warning on line 1840 in PWGLF/Tasks/Nuspex/spectraTOF.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
{
if (!isParticleEnabled<i>()) { // Check if the particle is enabled
return;
Expand All @@ -1859,7 +1859,7 @@
}

template <std::size_t i, typename ParticleType>
void fillParticleHistograms_MCRecoEvs(ParticleType const& mcParticle, RecoMCCollisions::iterator const& collision)

Check warning on line 1862 in PWGLF/Tasks/Nuspex/spectraTOF.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
{
if (!isParticleEnabled<i>()) { // Check if the particle is enabled
return;
Expand Down Expand Up @@ -1917,7 +1917,7 @@
}

template <std::size_t i, typename ParticleType>
void fillParticleHistograms_MCGenEvs(ParticleType const& mcParticle, GenMCCollisions::iterator const& mcCollision)

Check warning on line 1920 in PWGLF/Tasks/Nuspex/spectraTOF.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
{

if (!isParticleEnabled<i>()) { // Check if the particle is enabled
Expand Down Expand Up @@ -2131,7 +2131,7 @@
}
}
PROCESS_SWITCH(tofSpectra, processMCgen, "process generated MC", false);
void processMCgen_RecoEvs(GenMCCollisions const&, RecoMCCollisions const& collisions, aod::McParticles const& mcParticles)

Check warning on line 2134 in PWGLF/Tasks/Nuspex/spectraTOF.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
{
for (const auto& collision : collisions) {
if (!collision.has_mcCollision()) {
Expand Down
Loading