Skip to content
Snippets Groups Projects

Remove usage of VP

Merged Marco Cattaneo requested to merge cherry-pick-0b6154bd-2 into 2017-patches
1 file
+ 5
5
Compare changes
  • Side-by-side
  • Inline
@@ -118,17 +118,17 @@ namespace TaggingHelpers {
// stations for the upgrade clone detection?
while (h1.end() != it && h2.end() != jt) {
if (*it < *jt) {
if (it->isVelo() || it->isVP()) ++nVelo1;
if (it->isVelo()) ++nVelo1;
else if (it->isIT() || it->isOT()) ++nT1;
++it;
} else if (*jt < *it) {
if (jt->isVelo() || jt->isVP()) ++nVelo2;
if (jt->isVelo()) ++nVelo2;
else if (jt->isIT() || jt->isOT()) ++nT2;
++jt;
} else {
++nCommon;
// common LHCb ID
if (it->isVelo() || it->isVP()) {
if (it->isVelo()) {
++nVelo1;
++nVelo2;
++nVeloCommon;
@@ -143,13 +143,13 @@ namespace TaggingHelpers {
}
// consume any hits potentially remaining in track 1
while (h1.end() != it) {
if (it->isVelo() || it->isVP()) ++nVelo1;
if (it->isVelo()) ++nVelo1;
else if (it->isIT() || it->isOT()) ++nT1;
++it;
}
// consume any hits potentially remaining in track 2
while (h2.end() != jt) {
if (jt->isVelo() || jt->isVP()) ++nVelo2;
if (jt->isVelo()) ++nVelo2;
else if (jt->isIT() || jt->isOT()) ++nT2;
++jt;
}
Loading