Skip to content

Commit 241fefb

Browse files
committed
PWGUD: Fix o2 build v2
1 parent 7f3b65b commit 241fefb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

PWGUD/Tasks/upcJpsiCorr.cxx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1226,12 +1226,12 @@ struct UpcJpsiCorr {
12261226
rMC.get<TH1>(HIST("MC/hNumberOfMCCollisions"))->Fill(1.);
12271227
rMC.get<TH1>(HIST("MC/hPosZ"))->Fill(mcCollision.posZ());
12281228

1229-
std::array<float, 3> daughPart1Mu;
1230-
std::array<float, 3> daughPart2Mu;
1231-
std::array<float, 3> motherPart;
1232-
float energyMother;
1233-
float daughPart1pdg;
1234-
float daughPart2pdg;
1229+
std::array<float, 3> daughPart1Mu = {-999, -999, -999};
1230+
std::array<float, 3> daughPart2Mu = {-999, -999, -999};
1231+
std::array<float, 3> motherPart = {-999, -999, -999};
1232+
float energyMother = -999;
1233+
float daughPart1pdg = -999;
1234+
float daughPart2pdg = -999;
12351235

12361236
// fill number of particles
12371237
for (auto const& mcParticle : mcParticles) {

0 commit comments

Comments
 (0)