Skip to content

Commit 4338fa3

Browse files
committed
taskFlow.cxx: Fix unusedStructMember, constVariable
1 parent 0e76d69 commit 4338fa3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

PWGHF/HFC/Tasks/taskFlow.cxx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,6 @@ struct HfTaskFlow {
229229
o2::ccdb::CcdbApi ccdbApi;
230230
o2::ft0::Geometry ft0Det;
231231
o2::fv0::Geometry* fv0Det{};
232-
std::vector<int> hfIndexCache;
233232

234233
// =========================
235234
// using declarations : DATA
@@ -707,7 +706,7 @@ struct HfTaskFlow {
707706

708707
double getPhiFV0(unsigned int chno) const
709708
{
710-
int cellsInLeft[] = {0, 1, 2, 3, 8, 9, 10, 11, 16, 17, 18, 19, 24, 25, 26, 27, 32, 40, 33, 41, 34, 42, 35, 43};
709+
int const cellsInLeft[] = {0, 1, 2, 3, 8, 9, 10, 11, 16, 17, 18, 19, 24, 25, 26, 27, 32, 40, 33, 41, 34, 42, 35, 43};
711710
bool const isChnoInLeft = std::find(std::begin(cellsInLeft), std::end(cellsInLeft), chno) != std::end(cellsInLeft);
712711
float offsetX, offsetY;
713712
if (isChnoInLeft) {
@@ -743,7 +742,7 @@ struct HfTaskFlow {
743742

744743
double getEtaFV0(unsigned int chno) const
745744
{
746-
int cellsInLeft[] = {0, 1, 2, 3, 8, 9, 10, 11, 16, 17, 18, 19, 24, 25, 26, 27, 32, 40, 33, 41, 34, 42, 35, 43};
745+
int const cellsInLeft[] = {0, 1, 2, 3, 8, 9, 10, 11, 16, 17, 18, 19, 24, 25, 26, 27, 32, 40, 33, 41, 34, 42, 35, 43};
747746
bool const isChnoInLeft = std::find(std::begin(cellsInLeft), std::end(cellsInLeft), chno) != std::end(cellsInLeft);
748747
float offsetX, offsetY, offsetZ;
749748
if (isChnoInLeft) {

0 commit comments

Comments
 (0)