Skip to content

Commit bdce618

Browse files
committed
To solve the linter error
1 parent 9bab3f6 commit bdce618

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

PWGLF/Tasks/Resonances/chargedkstaranalysis.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ struct Chargedkstaranalysis {
302302
} kstarCutCfgs;
303303

304304
Configurable<bool> isQaRequired{"isQaRequired", false, "Fill QA plots"};
305-
float centrality;
305+
float centrality = 0.f;
306306

307307
// PDG code
308308
int kPDGK0s = kK0Short;
@@ -607,7 +607,7 @@ struct Chargedkstaranalysis {
607607
std::unordered_map<int64_t, float> centTruthByAllowed;
608608
std::unordered_set<int64_t> refClassIds;
609609
std::unordered_map<int64_t, float> refCentByMcId;
610-
float lMultiplicity;
610+
float lMultiplicity = 0.f;
611611
template <typename CollisionType>
612612
float getCentrality(CollisionType const& collision)
613613
{

0 commit comments

Comments
 (0)