Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 1 addition & 3 deletions PWGHF/D2H/Tasks/taskFlowCharmHadrons.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@
scalprodCand = cosNPhi * xQVec + sinNPhi * yQVec;
}
LOG(info) << "\nScalar product before correction" << scalprodCand;
if (useOnlineResoCorrection && scalarProdReso > 1e-5f) {

Check failure on line 781 in PWGHF/D2H/Tasks/taskFlowCharmHadrons.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[magic-number]

Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
scalprodCand /= scalarProdReso;
}
LOG(info) << "Scalar product after correction" << scalprodCand;
Expand All @@ -801,7 +801,7 @@
}
}

bool subtractDaugsFromRedQVec = storeRedQVec && useRedQVecDaugsSubtr &&
bool subtractDaugsFromRedQVec = storeRedQVec && useRedQVecDaugsSubtr &&
(qVecRedDetector == QvecEstimator::TPCNeg ||
qVecRedDetector == QvecEstimator::TPCPos ||
qVecRedDetector == QvecEstimator::TPCTot);
Expand Down Expand Up @@ -1037,8 +1037,6 @@
// }
// PROCESS_SWITCH(HfTaskFlowCharmHadrons, processXic, "Process Xic candidates", false);



/// Compute resolution
/// \param collision is the collision with the Q vector information
/// \param bcs is used for the event selection based on centrality estimators with time information
Expand Down
5 changes: 2 additions & 3 deletions PWGHF/D2H/Utils/utilsFlow.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#include <string>
#include <vector>


namespace o2::analysis
{
namespace hf_flow_utils
Expand All @@ -42,9 +41,9 @@ enum QvecEstimator { FV0A = 0,
TPCNeg,
TPCTot };

class HfQVectorResoHelper {
class HfQVectorResoHelper
{
public:

HfQVectorResoHelper() = default;

/// Call once per run / timestamp update
Expand Down
Loading