public final class ParticleTypeClassifier extends Object
Modifier | Constructor and Description |
---|---|
private |
ParticleTypeClassifier()
Class is 100% static utility methods
so it should not be instantiated.
|
Modifier and Type | Method and Description |
---|---|
(package private) static int |
flavor(int p)
Get the flavor of a hadron indicating its quark content.
|
static boolean |
isAntiNeutron(int p)
True if
p is an antineutron. |
static boolean |
isAntiProton(int p)
True if
p is an antiproton. |
static boolean |
isBHadron(int p)
True if
p is a B hadron. |
static boolean |
isBoson(int p)
True if
p is a boson. |
static boolean |
isBottomQuark(int p)
True if
p is a bottom quark. |
static boolean |
isCHadron(int p)
True if
p is a C hadron. |
static boolean |
isChargedKaon(int p)
True if
p is a charged kaon. |
static boolean |
isChargedLepton(int p)
True if
p is a charged lepton. |
static boolean |
isCharmQuark(int p)
True if
p is a charm quark. |
static boolean |
isDownQuark(int p)
True if
p is a down quark. |
static boolean |
isElectron(int p)
True if
p is an electron. |
static boolean |
isEM(int p)
True if
p is an electron or photon. |
static boolean |
isHadron(int p)
True if
p is a hadron. |
static boolean |
isHiggs(int p)
True if
p is any type of Higgs boson. |
static boolean |
isIon(int p)
True if
p is an ion or nucleus. |
static boolean |
isKaon(int p)
True if
p is a kaon. |
static boolean |
isLepton(int p)
True if
p is a lepton. |
static boolean |
isMuon(int p)
True if
p is a muon. |
static boolean |
isNeutralKaon(int p)
True if particle is a K0L or a K0S.
|
static boolean |
isNeutrino(int p)
True if
p is a neutrino. |
static boolean |
isNeutron(int p)
True if
p is a neutron. |
static boolean |
isPhoton(int p)
True if
p is a photon. |
static boolean |
isPositron(int p)
True if
p is a positron. |
static boolean |
isProton(int p)
True if
p is a proton. |
static boolean |
isQuark(int p)
True if
p is a quark. |
static boolean |
isSHadron(int p)
True if
p is an S hadron. |
static boolean |
isStrangeQuark(int p)
True if
p is a strange quark. |
static boolean |
isSUSY(int p)
True if
p is a SUSY particle. |
static boolean |
isTau(int p)
True if
p is a tau. |
static boolean |
isTechnicolor(int p)
True if
p is a Technicolor particle. |
static boolean |
isTopQuark(int p)
True if
p is a top quark. |
static boolean |
isUDHadron(int p)
True if
p is an UD hadron. |
static boolean |
isUpQuark(int p)
True if
p is an up quark. |
static boolean |
isWBoson(int p)
True if
p is a W boson. |
static boolean |
isZBoson(int p)
True if
p is a Z boson. |
private ParticleTypeClassifier()
public static boolean isLepton(int p)
p
is a lepton.
Checks that p
is between 11 and 18.p
- The PDGID.p
is a lepton.public static boolean isChargedLepton(int p)
p
is a charged lepton.p
- The PDGID.p
is a charged lepton.public static boolean isNeutrino(int p)
p
is a neutrino.
Checks that p
is odd.p
- public static boolean isElectron(int p)
p
is an electron.p
- public static boolean isPositron(int p)
p
is a positron.p
- The PDGID.p
is a postitron.public static boolean isMuon(int p)
p
is a muon.p
- The PDGID.p
is a muon.public static boolean isTau(int p)
p
is a tau.p
- The PDGID.p
is a tau.public static boolean isPhoton(int p)
p
is a photon.p
- The PDGID.p
is a photon.public static boolean isEM(int p)
p
is an electron or photon.p
- The PDGID.p
is an electron or photon.public static boolean isBoson(int p)
p
is a boson.p
- The PDGID.p
is a boson.public static boolean isQuark(int p)
p
is a quark.p
- public static boolean isHadron(int p)
p
is a hadron.p
- The PDGID.p
is a hadron.
FIXME: This may be incorrect. Needs to be checked.public static boolean isProton(int p)
p
is a proton.p
- The PDGID.p
is a proton.public static boolean isAntiProton(int p)
p
is an antiproton.p
- The PDGID.p
is a antiproton.public static boolean isNeutron(int p)
p
is a neutron.p
- The PDGID.p
is a neutron.public static boolean isAntiNeutron(int p)
p
is an antineutron.p
- The PDGID.p
is an antineutron.public static boolean isKaon(int p)
p
is a kaon.p
- The PDGID.p
is an antineutron.public static boolean isChargedKaon(int p)
p
is a charged kaon.p
- The PDGID.public static boolean isUDHadron(int p)
p
is an UD hadron.p
- The PDGID.p
is an UD hadron.public static boolean isSHadron(int p)
p
is an S hadron.p
- The PDGID.p
is an S hadron.public static boolean isCHadron(int p)
p
is a C hadron.p
- The PDGID.p
is a C hadron.public static boolean isBHadron(int p)
p
is a B hadron.p
- The PDGID.p
is a B hadron.public static boolean isDownQuark(int p)
p
is a down quark.p
- The PDGID.p
is a down quark.public static boolean isUpQuark(int p)
p
is an up quark.p
- The PDGID.p
is a up quark.public static boolean isStrangeQuark(int p)
p
is a strange quark.p
- The PDGID.p
is a strange quark.public static boolean isCharmQuark(int p)
p
is a charm quark.p
- The PDGID.p
is a charm quark.public static boolean isBottomQuark(int p)
p
is a bottom quark.p
- The PDGID.p
is a bottom quark.public static boolean isTopQuark(int p)
p
is a top quark.p
- The PDGID.p
is a top quark.public static boolean isNeutralKaon(int p)
p
- public static boolean isIon(int p)
p
is an ion or nucleus.p
- The PDGID.p
is an ion or nucleus.
FIXME: This relies on the PDGID of ions and nuclei being 0, which may
not be completely accurate. For instance, geantinos have a PDGID
of 0 also, so it may not be correct for all cases.public static boolean isZBoson(int p)
p
is a Z boson.p
- The PDGID.p
is a Z boson.public static boolean isWBoson(int p)
p
is a W boson.p
- The PDGID.p
is a W boson.public static boolean isHiggs(int p)
p
is any type of Higgs boson.p
- The PDGID.p
is a Higgs boson.public static boolean isSUSY(int p)
p
is a SUSY particle.p
- The PDGID.p
is a SUSY particle.public static boolean isTechnicolor(int p)
p
is a Technicolor particle.p
- The PDGID.p
is a Technicolor particle.static int flavor(int p)
p
- The PDGID.Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.