File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424#include < CommonConstants/MathConstants.h>
2525#include < CommonConstants/PhysicsConstants.h>
2626#include < Framework/AnalysisDataModel.h>
27+ #include < Framework/AnalysisHelpers.h>
2728#include < Framework/AnalysisTask.h>
2829#include < Framework/Configurable.h>
2930#include < Framework/HistogramRegistry.h>
@@ -54,7 +55,7 @@ using namespace o2::framework::expressions;
5455using namespace constants ::math;
5556
5657struct Lambdastarproxy {
57- Service<o2::framework::O2DatabasePDG> pdgDB;
58+ Service<o2::framework::O2DatabasePDG> pdgDB{} ;
5859
5960 // ---- Ion/nucleus PDG encoding helpers (10LZZZAAAI) ----
6061 // Note: these are *format* constants (not particle PDG species codes)
@@ -210,7 +211,7 @@ struct Lambdastarproxy {
210211 float px = 0 .f, py = 0 .f, pz = 0 .f;
211212 int charge = 0 ;
212213 int tid = -1 ;
213- TruthInfo truth;
214+ TruthInfo truth{} ;
214215 };
215216 // PID flags describe detector compatibility, not truth-level purity.
216217 struct ProxyCand {
@@ -221,13 +222,13 @@ struct Lambdastarproxy {
221222 bool protonTPCCompatible = false ;
222223 int charge = 0 ;
223224 int tid = -1 ;
224- TruthInfo truth;
225+ TruthInfo truth{} ;
225226 };
226227 struct ProtonCand {
227228 float px = 0 .f, py = 0 .f, pz = 0 .f;
228229 int charge = 0 ;
229230 int tid = -1 ;
230- TruthInfo truth;
231+ TruthInfo truth{} ;
231232 };
232233
233234 // Helpers for invariant-mass kinematics
You can’t perform that action at this time.
0 commit comments