From 78f9be71c4b633d0adeb459ad301d97c87a020d8 Mon Sep 17 00:00:00 2001 From: Danilo Meuser Date: Wed, 12 Oct 2022 10:33:04 +0200 Subject: [PATCH] Fix number of aligned modules for HG PCL --- .../MillePedeAlignmentAlgorithm/src/MillePedeFileReader.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Alignment/MillePedeAlignmentAlgorithm/src/MillePedeFileReader.cc b/Alignment/MillePedeAlignmentAlgorithm/src/MillePedeFileReader.cc index c63128582b380..4a3a34368a6cc 100644 --- a/Alignment/MillePedeAlignmentAlgorithm/src/MillePedeFileReader.cc +++ b/Alignment/MillePedeAlignmentAlgorithm/src/MillePedeFileReader.cc @@ -162,9 +162,8 @@ void MillePedeFileReader ::readMillePedeResultFile() { auto alignableIndex = alignableLabel % 10 - 1; std::string detLabel = getStringFromHLS(det); - countsTotal_[detLabel][alignableIndex]++; - if (tokens.size() > 4 /*3*/) { + countsTotal_[detLabel][alignableIndex]++; //Count aligned modules/ladders per structure const auto paramNum = pedeLabeler_->paramNumFromLabel(alignableLabel); align::StructureType type = alignable->alignableObjectId(); align::ID id = alignable->id();