23 * Given a reconstructed B meson candidate e.g. by the FEI the FSP are determined and a relation between reconstructed and generated FSP is drawn.
24 * Afterwards for each FSP the index of the B meson is determined on generator level. The index of the B meson with the most occurrences is returned.
25 * If no B meson found, returns -1.
26 */
27int mostcommonBTagIndex(const Particle* part);
28/*
29 Given a MCParticle this function returns the index of the B meson. If now B meson found, returns -1.
30 */
31int finddescendant(const MCParticle* mcpart);
32/*
33 Given an index of a B meson candidate, it determines the number of FSP on generator level. These FSP must be stable in the generator and cannot be a radiative particle.
34 */
35 std::vector<int> truthFSPTag(int BTag_index);
36/*
37 By giving this function a B meson candidate, it will return the percentage of missing particles from the mostcommonBTagIndex.