Skip to content

Commit 7f35237

Browse files
committed
codecheck
1 parent 840b015 commit 7f35237

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

PWGCF/TwoParticleCorrelations/Tasks/twoParticleCorrelationsMpi.cxx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ struct TwoParticleCorrelationsMpi {
316316
OutputObj<FlowContainer> fFCGen{"FlowContainer_gen"};
317317
OutputObj<FlowPtContainer> fFCptGen{"FlowPtContainer_gen"};
318318
std::unique_ptr<GFW> fGFW{std::make_unique<GFW>()};
319-
std::unique_ptr<TAxis> fPtAxis{};
319+
std::unique_ptr<TAxis> fPtAxis;
320320
std::unique_ptr<TRandom3> fRndm{std::make_unique<TRandom3>()};
321321
std::vector<GFW::CorrConfig> mCorrConfigs;
322322
std::shared_ptr<TH3> mAcceptanceWeights;
@@ -725,7 +725,7 @@ struct TwoParticleCorrelationsMpi {
725725

726726
void addConfigObjectsToObjArray(TObjArray* profiles, const std::vector<GFW::CorrConfig>& configs, const bool addSeedClasses)
727727
{
728-
profiles->SetOwner(kTRUE);
728+
profiles->SetOwner(true);
729729
for (const auto& config : configs) {
730730
if (config.pTDif) {
731731
const std::string suffix = "_ptDiff";
@@ -765,23 +765,23 @@ struct TwoParticleCorrelationsMpi {
765765

766766
for (std::size_t configIndex = 0; configIndex < mCorrConfigs.size(); ++configIndex) {
767767
if (!mCorrConfigs.at(configIndex).pTDif) {
768-
const auto dnx = fGFW->Calculate(mCorrConfigs.at(configIndex), 0, kTRUE).real();
768+
const auto dnx = fGFW->Calculate(mCorrConfigs.at(configIndex), 0, true).real();
769769
if (dnx == 0) {
770770
continue;
771771
}
772-
const auto val = fGFW->Calculate(mCorrConfigs.at(configIndex), 0, kFALSE).real() / dnx;
772+
const auto val = fGFW->Calculate(mCorrConfigs.at(configIndex), 0, false).real() / dnx;
773773
if (std::abs(val) < 1) {
774774
fillFlowProfile(mCorrConfigs.at(configIndex).Head, val, cfgEventWeight.cfgUseMultiplicityFlowWeights ? dnx : 1.0);
775775
flowPtContainer->fillVnPtProfiles(centMult, val, dnx, randomNumber, cfgCorrConfig->GetpTCorrMasks()[configIndex]);
776776
}
777777
continue;
778778
}
779779
for (int i = 1; i <= fPtAxis->GetNbins(); i++) {
780-
const auto dnx = fGFW->Calculate(mCorrConfigs.at(configIndex), i - 1, kTRUE).real();
780+
const auto dnx = fGFW->Calculate(mCorrConfigs.at(configIndex), i - 1, true).real();
781781
if (dnx == 0) {
782782
continue;
783783
}
784-
const auto val = fGFW->Calculate(mCorrConfigs.at(configIndex), i - 1, kFALSE).real() / dnx;
784+
const auto val = fGFW->Calculate(mCorrConfigs.at(configIndex), i - 1, false).real() / dnx;
785785
if (std::abs(val) < 1) {
786786
const std::string profileName = Form("%s_pt_%i", mCorrConfigs.at(configIndex).Head.c_str(), i);
787787
fillFlowProfile(profileName, val, cfgEventWeight.cfgUseMultiplicityFlowWeights ? dnx : 1.0);

0 commit comments

Comments
 (0)