![]() |
Belle II Software
release-08-02-04
|
Helper functions for all klid modules to improve readability of the code. More...
Functions | |
| int | BelleTrackFlag (const Belle2::KLMCluster &cluster, const float angle=0.26) |
| get Belle stle track flag | |
| int | BelleECLFlag (const Belle2::KLMCluster &cluster, const float angle=0.26) |
| get Belle stle ECL flag | |
| int | mcParticleIsBeamBKG (const Belle2::MCParticle *part) |
| return if MCparticle is beambkg | |
| int | mcParticleIsKlong (Belle2::MCParticle *part) |
| return the mc hirachy of the klong 0:not a klong 1:final particle, 2: klong is mother etc | |
| bool | isKLMClusterSignal (const Belle2::KLMCluster &cluster, float mcWeigthCut=0.66) |
| checks if a cluster is signal under the mcWeightcondition (mcWeight = energy deposition) | |
| bool | isECLClusterSignal (const Belle2::ECLCluster &cluster, float mcWeigthCut=0.66) |
| checks if a cluster is signal under the mcWeightcondition (mcWeight = energy deposition) | |
| int | isMCParticlePDG (Belle2::MCParticle *part, int pdg) |
| return if mc particle has a certain pdg in the decay chain | |
| int | getPrimaryPDG (Belle2::MCParticle *part) |
| return if mc particles primary pdg. More... | |
| std::pair< Belle2::ECLCluster *, double > | findClosestECLCluster (const ROOT::Math::XYZVector &klmClusterPosition, const Belle2::ECLCluster::EHypothesisBit eclhypothesis=Belle2::ECLCluster::EHypothesisBit::c_neutralHadron) |
| Find the closest ECLCluster with a neutral hadron hypothesis, and return it with its distance. More... | |
| std::tuple< const Belle2::KLMCluster *, double, double > | findClosestKLMCluster (const ROOT::Math::XYZVector &klmClusterPosition) |
| find nearest KLMCluster, tis distance and the av intercluster distance | |
| std::tuple< Belle2::RecoTrack *, double, std::unique_ptr< const ROOT::Math::XYZVector > > | findClosestTrack (const ROOT::Math::XYZVector &clusterPosition, float cutAngle) |
| find nearest genfit track and return it and its distance | |
Helper functions for all klid modules to improve readability of the code.
| std::pair<Belle2::ECLCluster*, double> Belle2::KlongId::findClosestECLCluster | ( | const ROOT::Math::XYZVector & | klmClusterPosition, |
| const Belle2::ECLCluster::EHypothesisBit | eclhypothesis = Belle2::ECLCluster::EHypothesisBit::c_neutralHadron |
||
| ) |
Find the closest ECLCluster with a neutral hadron hypothesis, and return it with its distance.
If there are no suitabile ECLClusters, a nullptr is returned.
Definition at line 203 of file KlId.h.
| int Belle2::KlongId::getPrimaryPDG | ( | Belle2::MCParticle * | part | ) |