Skip to content

Commit 2d247d5

Browse files
author
Wiktor Pierozak
committed
Applied git-clang-format
1 parent a641e44 commit 2d247d5

2 files changed

Lines changed: 15 additions & 15 deletions

File tree

Modules/FIT/FDD/src/OutOfBunchCollFeeModulesCheck.cxx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,13 @@ Quality OutOfBunchCollFeeModulesCheck::check(std::map<std::string, std::shared_p
8383
const char* metaInfoKeyEnd = metainfo.first.data() + metainfo.first.size();
8484
if (std::from_chars(metaInfoKey, metaInfoKeyEnd, bin).ptr == metaInfoKeyEnd) {
8585
if(bin >=0 && bin <= modulesNumber) {
86-
try {
87-
value = std::stof(metainfo.second);
88-
} catch (std::invalid_argument& e) {
89-
ILOG(Warning, Support) << "Value " << value << " in bin " << bin << " is not convertible to float" << ENDM;
90-
continue;
91-
}
92-
allCollPerFeeModule[bin] = value;
86+
try {
87+
value = std::stof(metainfo.second);
88+
} catch (std::invalid_argument& e) {
89+
ILOG(Warning, Support) << "Value " << value << " in bin " << bin << " is not convertible to float" << ENDM;
90+
continue;
91+
}
92+
allCollPerFeeModule[bin] = value;
9393
}
9494
}
9595
}

Modules/FIT/FV0/src/OutOfBunchCollFeeModulesCheck.cxx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,14 @@ Quality OutOfBunchCollFeeModulesCheck::check(std::map<std::string, std::shared_p
8888
const char* metaInfoKeyEnd = metainfo.first.data() + metainfo.first.size();
8989
if (std::from_chars(metaInfoKey, metaInfoKeyEnd, bin).ptr == metaInfoKeyEnd) {
9090
if(bin >= 0 && bin <= numberOfModules){
91-
try {
92-
value = std::stof(metainfo.second);
93-
} catch (std::invalid_argument& e) {
94-
ILOG(Warning, Support) << "Value " << value << " in bin " << bin << " is not convertible to float. Skipping." << ENDM;
95-
continue;
96-
}
97-
parsedBins++;
98-
allCollPerFeeModule[bin] = value;
91+
try {
92+
value = std::stof(metainfo.second);
93+
} catch (std::invalid_argument& e) {
94+
ILOG(Warning, Support) << "Value " << value << " in bin " << bin << " is not convertible to float. Skipping." << ENDM;
95+
continue;
96+
}
97+
parsedBins++;
98+
allCollPerFeeModule[bin] = value;
9999
}
100100

101101
}

0 commit comments

Comments
 (0)