--
Main.HamishGordon - 24 Jul 2008
IBackgroundCategory::m_cat[-1] = "Undefined";
IBackgroundCategory::m_cat[0] = "Signal";
IBackgroundCategory::m_cat[10] = "QuasiSignal";
IBackgroundCategory::m_cat[20] = "FullyRecoPhysBkg";
IBackgroundCategory::m_cat[30] = "Reflection";
IBackgroundCategory::m_cat[40] = "PartRecoPhysBkg";
IBackgroundCategory::m_cat[50] = "LowMassBkg";
IBackgroundCategory::m_cat[60] = "Ghost";
IBackgroundCategory::m_cat[70] = "FromPV";
IBackgroundCategory::m_cat[80] = "AllFromSamePV";
IBackgroundCategory::m_cat[100] = "FromDifferentPV";
IBackgroundCategory::m_cat[110] = "bbar";
IBackgroundCategory::m_cat[120] = "ccbar";
IBackgroundCategory::m_cat[130] = "uds";
IBackgroundCategory::m_cat[1000] = "LastGlobal";
* A: all final-state particles used to form the candidate are matched to decay products of the same true MC particle (not necessarily the signal)
* B: all final-state MC particles originating from the true MC particle defined in A are matched to particles used to form the candidate (except photons generated by PHOTOS); in case the decay descriptor of the true MC particle defined in A corresponds to an inclusive decay, "all final-state MC particles" only include the particles required in this (semi-)inclusivei decay.
* C: all final-state particles used to form the candidate are correctly identified, i.e. have been assigned their correct (true) mass
* D: the true MC particle defined in A is a signal decay according to the decay descriptor, or the head of a decay chain which differs from the signal decay chain only by the presence or absence of intermediate resonances but has other otherwise the same head, same final state particles and same topology.
* E: the true MC particle defined in A is a signal decay according to the decay descriptor, and all intermediate states of this decay are correctly reconstructed (as listed in the decay descriptor)
* F: the true MC particle defined in A has a mass which does not exceed the mass of the head of the decay descriptor by more than 100
MeV/c2 (tunable parameter)
* G: at least one final-state particle used to form the candidate is a ghost
* H: final-state particles used to form the candidate are matched to true particles from at least two different collisions (pileup)
* I: at least one final-state particles used to form the candidate is matched to a true decay product of a b-hadron (following mother-daughter relationships all the way through)
* J: at least one final-state particles used to form the candidate is matched to a true decay product of a c-hadron (following mother-daughter relationships all the way through)
Categories:
* 0: Signal A && B && C && D && E
* 1: Quasi-signal A && B && C && D && \! E
* 2: Phys. back. (full rec.) A && B && C && \! D
* 3: Reflection (mis-ID) A && B && \! C
* 4: Phys. back. (part. rec.) A && \!B && \! (C && F)
* 5: Low-mass background A && \! B && C && F
* 6: Ghost \! A && G (= G)
* 7: Pileup/FromDifferentPV A && G && H (= E && H)
* 8: bb event A && G && H && I
* 9: cc event A && G && H && I && J
* 10: light-flavour event A && G && H && I && J
Examples:
a) A reconstructed Bs -> (Ds -> KKpi) pi decay could be categorized as signal with respect to the decay descriptor {[[B_s0]nos -> (D_s- => K+ K- pi-) pi+]cc, [[B_s0]os -> (D_s+ => K- K+ pi+) pi-]cc} even if the MC truth indicates a Bs -> (Ds -> (phi -> KK) pi) pi decay.
b) A reconstructed Bd -> K* mumu should not be categorized as a signal with respect to the decay descriptor {[[B0]nos -> (J/psi(1S) -> mu+ mu- {,gamma} {,gamma}) (K*(892)0 -> K+ pi-)]cc, [[B0]os -> (J/psi(1S) -> mu+ mu- {,gamma} {,gamma}) (K*(892)~0 -> K- pi+)]cc} no matter what the MC truth indicates.
c) A reconstructed Bd -> K* mumu should not be categorized as a signal with respect to the decay descriptor {[[B0]nos -> mu+ mu- (K*(892)0 -> K+ pi-)]cc, [[B0]os -> mu- mu+ (K*(892)~0 -> K- pi+)]cc} if the MC truth indicates a Bd -> K* J/psi(mumu) decay.
d) A reconstructed Bs -> mu+mu- candidate matched to a true J/psi -> mu+mu- decay (could happen if the sidebands around the Bs are very large) and a reconstructed Bd -> K+K- matched to a true Bs -> K+K- are both classified as fully-reconstructed physics background.
e) A reconstructed Bs -> (Ds -> KKpi) pi candidate matched to a a true Bd -> (D- -> Kpipi) pi decay (mis-ID of one of the pions from the D- as a kaon) is classified as a reflection.
f) A reconstructed B- -> (D0 -> K-pi+) pi- candidate matched to to the K-,pi+ and pi- of a true Lambda_b -> (Lambda_c -> p K-pi+) pi- is classified as a partially-reconstructed physics background.
g) A reconstructed Bs -> (Ds -> KKpi) pi+ candidate with all 4 tracks matched to the true final state particles of a true Bs -> (Bs ->KKpi) pi+pi0 decay is classified as a low-mass background.
Please note that there are now two additional categories:
FromPV : The candidate particle has at least one final state daughter which comes directly from the primary vertex or a short lived resonance, and the event is not a pileup.
AllFromSamePV : The candidate particle's final state daughters all come from the same PV, or from short lived resonances from the same PV.