@@ -194,52 +194,52 @@ std::vector<std::unordered_map<int, Label>> ioutils::loadLabels(const int events
194194 return labelsMap;
195195}
196196
197- void ioutils::writeRoadsReport (std::ofstream& correctRoadsOutputStream, std::ofstream& duplicateRoadsOutputStream,
198- std::ofstream& fakeRoadsOutputStream, const std::vector<std::vector<Road>>& roads,
199- const std::unordered_map<int , Label>& labelsMap)
200- {
201- const int numVertices{static_cast <int >(roads.size ())};
202- std::unordered_set<int > foundMonteCarloIds{};
197+ // void ioutils::writeRoadsReport(std::ofstream& correctRoadsOutputStream, std::ofstream& duplicateRoadsOutputStream,
198+ // std::ofstream& fakeRoadsOutputStream, const std::vector<std::vector<Road<5> >>& roads,
199+ // const std::unordered_map<int, Label>& labelsMap)
200+ // {
201+ // const int numVertices{static_cast<int>(roads.size())};
202+ // std::unordered_set<int> foundMonteCarloIds{};
203203
204- correctRoadsOutputStream << EventLabelsSeparator << std::endl;
205- fakeRoadsOutputStream << EventLabelsSeparator << std::endl;
204+ // correctRoadsOutputStream << EventLabelsSeparator << std::endl;
205+ // fakeRoadsOutputStream << EventLabelsSeparator << std::endl;
206206
207- for (int iVertex{0 }; iVertex < numVertices; ++iVertex) {
207+ // for (int iVertex{0}; iVertex < numVertices; ++iVertex) {
208208
209- const std::vector<Road>& currentVertexRoads{roads[iVertex]};
210- const int numRoads{static_cast <int >(currentVertexRoads.size ())};
209+ // const std::vector<Road<5> >& currentVertexRoads{roads[iVertex]};
210+ // const int numRoads{static_cast<int>(currentVertexRoads.size())};
211211
212- for (int iRoad{0 }; iRoad < numRoads; ++iRoad) {
212+ // for (int iRoad{0}; iRoad < numRoads; ++iRoad) {
213213
214- const Road& currentRoad{currentVertexRoads[iRoad]};
215- const int currentRoadLabel{currentRoad.getLabel ()};
214+ // const Road<5> & currentRoad{currentVertexRoads[iRoad]};
215+ // const int currentRoadLabel{currentRoad.getLabel()};
216216
217- if (!labelsMap.count (currentRoadLabel)) {
217+ // if (!labelsMap.count(currentRoadLabel)) {
218218
219- continue ;
220- }
219+ // continue;
220+ // }
221221
222- const Label& currentLabel{labelsMap.at (currentRoadLabel)};
222+ // const Label& currentLabel{labelsMap.at(currentRoadLabel)};
223223
224- if (currentRoad.isFakeRoad ()) {
224+ // if (currentRoad.isFakeRoad()) {
225225
226- fakeRoadsOutputStream << currentLabel << std::endl;
226+ // fakeRoadsOutputStream << currentLabel << std::endl;
227227
228- } else {
228+ // } else {
229229
230- if (foundMonteCarloIds.count (currentLabel.monteCarloId )) {
230+ // if (foundMonteCarloIds.count(currentLabel.monteCarloId)) {
231231
232- duplicateRoadsOutputStream << currentLabel << std::endl;
232+ // duplicateRoadsOutputStream << currentLabel << std::endl;
233233
234- } else {
234+ // } else {
235235
236- correctRoadsOutputStream << currentLabel << std::endl;
237- foundMonteCarloIds.emplace (currentLabel.monteCarloId );
238- }
239- }
240- }
241- }
242- }
236+ // correctRoadsOutputStream << currentLabel << std::endl;
237+ // foundMonteCarloIds.emplace(currentLabel.monteCarloId);
238+ // }
239+ // }
240+ // }
241+ // }
242+ // }
243243
244244} // namespace its
245245} // namespace o2
0 commit comments