|
1 | 1 | // Copyright 2019-2020 CERN and copyright holders of ALICE O2. |
2 | 2 | // See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. |
3 | | -// All rights not expressly granted are reserved.` |
| 3 | +// All rights not expressly granted are reserved. |
4 | 4 | // |
5 | 5 | // This software is distributed under the terms of the GNU General Public |
6 | 6 | // License v3 (GPL Version 3), copied verbatim in the file "COPYING". |
|
16 | 16 | /// \author Zhen Zhang <zhenz@cern.ch> |
17 | 17 | /// \author Ravindra Singh <ravindra.singh@cern.ch> |
18 | 18 |
|
19 | | - |
20 | 19 | #include "PWGHF/Core/DecayChannels.h" |
21 | 20 | #include "PWGHF/Core/HfHelper.h" |
22 | 21 | #include "PWGHF/Core/SelectorCuts.h" |
|
63 | 62 | #include <cstdlib> |
64 | 63 | #include <vector> |
65 | 64 |
|
66 | | -#include "Common/Core/TrackSelection.h" |
67 | | -#include "Common/DataModel/EventSelection.h" |
68 | | -#include "Common/DataModel/Multiplicity.h" |
69 | | -#include "Common/DataModel/TrackSelectionTables.h" |
70 | | - |
71 | | -#include "CommonConstants/MathConstants.h" |
72 | | -#include "CommonConstants/PhysicsConstants.h" |
73 | | -#include "Framework/AnalysisTask.h" |
74 | | -#include "Framework/HistogramRegistry.h" |
75 | | -#include "Framework/O2DatabasePDGPlugin.h" |
76 | | -#include "Framework/runDataProcessing.h" |
77 | | - |
78 | | -#include "TRandom3.h" |
79 | | - |
80 | | -#include <vector> |
81 | | - |
82 | 65 | using namespace o2; |
83 | 66 | using namespace o2::analysis; |
84 | 67 | using namespace o2::constants::physics; |
@@ -493,7 +476,7 @@ struct HfCorrelatorLcScHadrons { |
493 | 476 | { |
494 | 477 | bool isPhysicalPrimary = false; |
495 | 478 | int trackOrigin = -1; |
496 | | - float cent = 100.0; // will be updated later |
| 479 | + double_t cent = 100.0; // will be updated later |
497 | 480 |
|
498 | 481 | entryCandHadronPair(getDeltaPhi(track.phi(), candidate.phi()), |
499 | 482 | track.eta() - candidate.eta(), |
@@ -1035,14 +1018,12 @@ struct HfCorrelatorLcScHadrons { |
1035 | 1018 | } |
1036 | 1019 | } |
1037 | 1020 |
|
1038 | | - int8_t chargeLc = pdg->GetParticle(particle.pdgCode())->Charge(); // Retrieve charge |
1039 | | - int8_t chargeAssoc = pdg->GetParticle(particleAssoc.pdgCode())->Charge(); // Retrieve charge |
1040 | | - float cent = 100.0; // will be updated later |
1041 | | - |
1042 | 1021 | int trackOrigin = RecoDecay::getCharmHadronOrigin(mcParticles, particleAssoc, true); |
1043 | 1022 | int8_t chargeAssoc = pdg->GetParticle(particleAssoc.pdgCode())->Charge(); // Retrieve charge |
1044 | 1023 | chargeAssoc = chargeAssoc / std::abs(chargeAssoc); |
1045 | 1024 | registry.fill(HIST("hPtParticleAssocMcGen"), particleAssoc.pt()); |
| 1025 | + double_t cent = 100.0; // will be updated later |
| 1026 | + |
1046 | 1027 | entryCandHadronPair(getDeltaPhi(particleAssoc.phi(), particle.phi()), |
1047 | 1028 | particleAssoc.eta() - particle.eta(), |
1048 | 1029 | particle.pt(), |
@@ -1190,7 +1171,7 @@ struct HfCorrelatorLcScHadrons { |
1190 | 1171 | } |
1191 | 1172 | int8_t chargeLc = pdg->GetParticle(candidate.pdgCode())->Charge(); // Retrieve charge |
1192 | 1173 | int8_t chargeAssoc = pdg->GetParticle(particleAssoc.pdgCode())->Charge(); // Retrieve charge |
1193 | | - float cent = 100.0; // will be updated later |
| 1174 | + double_t cent = 100.0; // will be updated later |
1194 | 1175 |
|
1195 | 1176 | int trackOrigin = RecoDecay::getCharmHadronOrigin(mcParticles, particleAssoc, true); |
1196 | 1177 | bool isPrompt = candidate.originMcGen() == RecoDecay::OriginType::Prompt; |
|
0 commit comments