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

Remove usage of VP

Conflicts:
	Phys/FlavourTaggingChecker/src/TaggingHelpers.cpp
parent b10e1828
No related branches found
No related tags found
2 merge requests!1026Allow for Massive Missing Particles in TupleToolCorrectedMass,!590Remove usage of VP
Pipeline #1415280 passed
......@@ -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;
}
......
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