Skip to content

Commit 7d4243d

Browse files
committed
Implement Vit comment and cleanup
1 parent c639795 commit 7d4243d

2 files changed

Lines changed: 0 additions & 64 deletions

File tree

PWGHF/D2H/Tasks/taskFlowCharmHadrons.cxx

Lines changed: 0 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -777,11 +777,9 @@ struct HfTaskFlowCharmHadrons {
777777
} else {
778778
scalprodCand = cosNPhi * xQVec + sinNPhi * yQVec;
779779
}
780-
LOG(info) << "\nScalar product before correction" << scalprodCand;
781780
if (useOnlineResoCorrection && scalarProdReso > 1e-5f) {
782781
scalprodCand /= scalarProdReso;
783782
}
784-
LOG(info) << "Scalar product after correction" << scalprodCand;
785783

786784
if (fillMassPtMlTree || fillMassPtMlSpCentTree || fillMassPtMlSpCentPvTree) {
787785
if (downSampleFactor < 1.) {
@@ -980,63 +978,6 @@ struct HfTaskFlowCharmHadrons {
980978
}
981979
PROCESS_SWITCH(HfTaskFlowCharmHadrons, processXic0, "Process Xic0 candidates", false);
982980

983-
// // Ds with rectangular cuts
984-
// void processDs(CollsWithSPQvecs::iterator const& collision,
985-
// CandDsData const& /*candidatesDs*/,
986-
// TracksWithExtra const& tracks)
987-
// {
988-
// auto candsDsToKKPi = selectedDsToKKPi->sliceByCached(aod::hf_cand::collisionId, collision.globalIndex(), cache);
989-
// auto candsDsToPiKK = selectedDsToPiKK->sliceByCached(aod::hf_cand::collisionId, collision.globalIndex(), cache);
990-
// runFlowAnalysis<RunMode::kSP, DecayChannel::DsToKKPi>(collision, candsDsToKKPi, tracks);
991-
// runFlowAnalysis<RunMode::kSP, DecayChannel::DsToPiKK>(collision, candsDsToPiKK, tracks);
992-
// }
993-
// PROCESS_SWITCH(HfTaskFlowCharmHadrons, processDs, "Process Ds candidates", false);
994-
995-
// // D0 with rectangular cuts
996-
// void processD0(CollsWithSPQvecs::iterator const& collision,
997-
// CandD0Data const& /*candidatesD0*/,
998-
// TracksWithExtra const& tracks)
999-
// {
1000-
// auto candsD0ToPiK = selectedD0ToPiK->sliceByCached(aod::hf_cand::collisionId, collision.globalIndex(), cache);
1001-
// auto candsD0ToKPi = selectedD0ToKPi->sliceByCached(aod::hf_cand::collisionId, collision.globalIndex(), cache);
1002-
// runFlowAnalysis<RunMode::kSP, DecayChannel::D0ToPiK>(collision, candsD0ToPiK, tracks);
1003-
// runFlowAnalysis<RunMode::kSP, DecayChannel::D0ToKPi>(collision, candsD0ToKPi, tracks);
1004-
// }
1005-
// PROCESS_SWITCH(HfTaskFlowCharmHadrons, processD0, "Process D0 candidates", false);
1006-
1007-
// // Dplus with rectangular cuts
1008-
// void processDplus(CollsWithSPQvecs::iterator const& collision,
1009-
// CandDplusData const& candidatesDplus,
1010-
// TracksWithExtra const& tracks)
1011-
// {
1012-
// runFlowAnalysis<RunMode::kSP, DecayChannel::DplusToPiKPi>(collision, candidatesDplus, tracks);
1013-
// }
1014-
// PROCESS_SWITCH(HfTaskFlowCharmHadrons, processDplus, "Process Dplus candidates", true);
1015-
1016-
// // Lc with rectangular cuts
1017-
// void processLc(CollsWithSPQvecs::iterator const& collision,
1018-
// CandLcData const& /*candidatesLc*/,
1019-
// TracksWithExtra const& tracks)
1020-
// {
1021-
// auto candsLcToPKPi = selectedLcToPKPi->sliceByCached(aod::hf_cand::collisionId, collision.globalIndex(), cache);
1022-
// auto candsLcToPiKP = selectedLcToPiKP->sliceByCached(aod::hf_cand::collisionId, collision.globalIndex(), cache);
1023-
// runFlowAnalysis<RunMode::kSP, DecayChannel::LcToPKPi>(collision, candsLcToPKPi, tracks);
1024-
// runFlowAnalysis<RunMode::kSP, DecayChannel::LcToPiKP>(collision, candsLcToPiKP, tracks);
1025-
// }
1026-
// PROCESS_SWITCH(HfTaskFlowCharmHadrons, processLc, "Process Lc candidates", false);
1027-
1028-
// // Xic with rectangular cuts
1029-
// void processXic(CollsWithSPQvecs::iterator const& collision,
1030-
// CandXicData const& /*candidatesXic*/,
1031-
// TracksWithExtra const& tracks)
1032-
// {
1033-
// auto candsXicToPKPi = selectedXicToPKPi->sliceByCached(aod::hf_cand::collisionId, collision.globalIndex(), cache);
1034-
// auto candsXicToPiKP = selectedXicToPiKP->sliceByCached(aod::hf_cand::collisionId, collision.globalIndex(), cache);
1035-
// runFlowAnalysis<RunMode::kSP, DecayChannel::XicToPKPi>(collision, candsXicToPKPi, tracks);
1036-
// runFlowAnalysis<RunMode::kSP, DecayChannel::XicToPiKP>(collision, candsXicToPiKP, tracks);
1037-
// }
1038-
// PROCESS_SWITCH(HfTaskFlowCharmHadrons, processXic, "Process Xic candidates", false);
1039-
1040981
/// Compute resolution
1041982
/// \param collision is the collision with the Q vector information
1042983
/// \param bcs is used for the event selection based on centrality estimators with time information

PWGHF/D2H/Utils/utilsFlow.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,7 @@
2525
#include <Framework/AnalysisTask.h>
2626
#include <Framework/Logger.h>
2727

28-
#include <algorithm>
2928
#include <array>
30-
#include <cassert>
31-
#include <stdexcept>
32-
#include <string>
33-
#include <vector>
3429

3530
namespace o2::analysis
3631
{

0 commit comments

Comments
 (0)