@@ -170,18 +170,17 @@ struct FactorialMomentsTask {
170170 const double dcaxyMaxTrackPar0 = 0.0105 ;
171171 const double dcaxyMaxTrackPar1 = 0.035 ;
172172 const double dcaxyMaxTrackPar2 = 1.1 ;
173- const double dcazMaxTrack = 2.0 ;
174173 static const int nBins = 52 ;
175174 double kMinCharge = 1e-6 ;
176175 static const int nfqOrder = 6 ;
177176 int countSamples = 0 ;
178177 int testc1 = 0 , testc2 = 0 , testc3 = 0 ;
179- std::array<int , nBins> binningM;
178+ std::array<int , nBins> binningM{} ;
180179 std::array<int , 5 > countTracks{0 , 0 , 0 , 0 , 0 };
181- std::array<std::array<std::array<double , nBins>, 5 >, 6 > fqEvent;
182- std::array<std::array<std::array<double , nBins>, 5 >, 6 > fqEventSampled;
183- std::array<std::array<double , nBins>, 5 > binConEvent;
184- std::array<std::array<std::array<double , nBins>, 5 >, 6 > binConEventSampled;
180+ std::array<std::array<std::array<double , nBins>, 5 >, 6 > fqEvent{} ;
181+ std::array<std::array<std::array<double , nBins>, 5 >, 6 > fqEventSampled{} ;
182+ std::array<std::array<double , nBins>, 5 > binConEvent{} ;
183+ std::array<std::array<std::array<double , nBins>, 5 >, 6 > binConEventSampled{} ;
185184 std::array<std::array<std::array<int , nBins>, 5 >, nfqOrder> nSubsamples{};
186185 std::vector<std::shared_ptr<TH2 >> mHistArrReset ;
187186 std::vector<std::shared_ptr<TH1 >> mHistArrQA ;
@@ -191,9 +190,7 @@ struct FactorialMomentsTask {
191190 std::vector<std::shared_ptr<TH1 >> mFqBinFinalSampled ;
192191 std::vector<std::shared_ptr<TH1 >> mBinConFinalSampled ;
193192 std::vector<std::shared_ptr<TH1 >> mFqError ;
194- // max number of bins restricted to 5
195- static constexpr std::array<std::string_view, 5 >
196- mbinNames{" bin1/" , " bin2/" , " bin3/" , " bin4/" , " bin5/" };
193+
197194 void init (o2::framework::InitContext&)
198195 {
199196 // NOTE: check to make number of pt and the vector consistent
0 commit comments