Skip to content
Snippets Groups Projects
Commit f0151608 authored by Marco Cattaneo's avatar Marco Cattaneo
Browse files

Complete the removal of upgrade detectors

Conflicts:
	Phys/DaVinciTypes/src/HashIDs.cpp
	Phys/FlavourTagging/src/Utils/TaggingHelpers.cpp
	Phys/GenericVertexFinder/src/TrajParticle.cpp

Conflicts:
	Phys/GenericVertexFinder/src/TrajParticle.cpp
parent cdd0fda8
No related branches found
No related tags found
1 merge request!674Complete the removal of upgrade detectors
......@@ -116,17 +116,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;
......@@ -141,13 +141,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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment