Skip to content

Commit 02f3857

Browse files
committed
fix warning
1 parent ffe91f5 commit 02f3857

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

PWGCF/JCorran/Tasks/jEPFlowAnalysis.cxx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -164,24 +164,24 @@ struct JEPFlowAnalysis {
164164

165165
Filter trackFilter = (aod::track::pt > cfgTrackCuts.cfgPtMin) && (nabs(aod::track::eta) < cfgTrackCuts.cfgEtaMax);
166166

167-
int detId;
168-
int refAId;
169-
int refBId;
170-
int harmInd;
167+
int detId = 0;
168+
int refAId = 4;
169+
int refBId = 5;
170+
int harmInd = 0;
171171

172172
int currentRunNumber = -999;
173173
int lastRunNumber = -999;
174174

175-
float cent;
175+
float cent = -1.;
176176

177177
float minQvecAmp = 1e-5;
178178
float minChg = 0.1;
179-
float q2Mag;
179+
float q2Mag = -1.;
180180

181-
float activity;
182-
float qOvecM;
183-
float highestPt;
184-
float hPtPhi;
181+
float activity = -1.;
182+
float qOvecM = -1.;
183+
float highestPt = -1.;
184+
float hPtPhi = -999.;
185185

186186
std::vector<TProfile3D*> shiftprofile{};
187187
std::string fullCCDBShiftCorrPath;
@@ -696,7 +696,7 @@ struct JEPFlowAnalysis {
696696
return;
697697
}
698698

699-
float cent = coll.centFT0C();
699+
cent = coll.centFT0C();
700700

701701
if (cfgEffCor) {
702702
auto bc = coll.bc_as<aod::BCsWithTimestamps>();
@@ -737,7 +737,7 @@ struct JEPFlowAnalysis {
737737
}
738738
}
739739

740-
float cent = coll.centFT0C();
740+
cent = coll.centFT0C();
741741

742742
for (const auto& mcParticle : mcParticles) {
743743
if (std::abs(mcParticle.eta()) > cfgTrackCuts.cfgEtaMax)

0 commit comments

Comments
 (0)