Skip to content

Commit f179a75

Browse files
authored
Comment out phi calculation in flowMcUpc.cxx
Comment out the calculation of phi for mcParticles and tracks.
1 parent aad8ae2 commit f179a75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGUD/Tasks/flowMcUpc.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ struct FlowMcUpc {
126126
for (auto const& mcParticle : mcParticles) {
127127
auto momentum = std::array<double, 3>{mcParticle.px(), mcParticle.py(), mcParticle.pz()};
128128
double pt = RecoDecay::pt(momentum);
129-
double phi = RecoDecay::phi(momentum);
129+
// double phi = RecoDecay::phi(momentum);
130130
double eta = RecoDecay::eta(momentum);
131131
// focus on bulk: e, mu, pi, k, p
132132
int pdgCode = std::abs(mcParticle.pdgCode());
@@ -166,7 +166,7 @@ struct FlowMcUpc {
166166
for (const auto& track : tracks) {
167167
auto momentum = std::array<double, 3>{track.px(), track.py(), track.pz()};
168168
double pt = RecoDecay::pt(momentum);
169-
double phi = RecoDecay::phi(momentum);
169+
// double phi = RecoDecay::phi(momentum);
170170
double eta = RecoDecay::eta(momentum);
171171
if (!trackSelected(track) || (!track.has_udMcParticle()))
172172
continue;

0 commit comments

Comments
 (0)