Skip to content

Commit e4d0107

Browse files
committed
[PWGLF] Initialize dndetaHi truth-event members
1 parent 28e8137 commit e4d0107

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎PWGLF/Tasks/GlobalEventProperties/dndetaHi.cxx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1242,9 +1242,9 @@ struct DndetaHi {
12421242
const FiLTracks& tracks)
12431243
{
12441244
struct TruthEvent {
1245-
float z;
1246-
float cent;
1247-
int64_t bestCollision;
1245+
float z = 0.f;
1246+
float cent = NoCentrality;
1247+
int64_t bestCollision = -1;
12481248
bool inelg0 = false;
12491249
bool fiducial = false;
12501250
std::array<bool, TrigEnd> matched{};

0 commit comments

Comments
 (0)