Skip to content

Commit 3509318

Browse files
committed
fixes
1 parent 055fec6 commit 3509318

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

PWGUD/DataModel/TwoTracksEventTables.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
/// \brief If MC, careful with filling the mother
1919
///
2020

21-
#ifndef ALISW_TWOTRACKSEVENTTABLES_H
22-
#define ALISW_TWOTRACKSEVENTTABLES_H
21+
#ifndef PWGUD_DATAMODEL_TWOTRACKSEVENTTABLES_H_
22+
#define PWGUD_DATAMODEL_TWOTRACKSEVENTTABLES_H_
2323

2424
#include "Framework/AnalysisDataModel.h"
2525

@@ -223,4 +223,4 @@ DECLARE_SOA_TABLE(TrueTwoTracks, "AOD", "TRUETWOTRACK",
223223

224224
} // namespace o2::aod
225225

226-
#endif // ALISW_TWOTRACKSEVENTTABLES_H
226+
#endif // PWGUD_DATAMODEL_TWOTRACKSEVENTTABLES_H_

PWGUD/TableProducer/twoTracksEventTableProducer.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ struct TwoTracksEventTableProducer {
407407
ROOT::Math::LorentzVector<ROOT::Math::PxPyPzE4D<double>> twoTrackMother, daug[2];
408408
daug[0].SetPxPyPzE(trk1.px(), trk1.py(), trk1.pz(), energy(thisMass, trk1.px(), trk1.py(), trk1.pz()));
409409
daug[1].SetPxPyPzE(trk2.px(), trk2.py(), trk2.pz(), energy(thisMass, trk2.px(), trk2.py(), trk2.pz()));
410-
twoTrackMother = daug[1] + daug[2];
410+
twoTrackMother = daug[0] + daug[1];
411411
float thisPt = pt(twoTrackMother.px(), twoTrackMother.py());
412412

413413
// Apply system selections

0 commit comments

Comments
 (0)