 |
Belle II Software
release-05-01-25
|
29 class MCVXDPurityInfo {
61 unsigned int nPXDClustersTotal,
62 unsigned int nSVDUClustersTotal,
63 unsigned int nSVDVClustersTotal,
64 unsigned int nPXDClusters,
65 unsigned int nSVDUClusters,
66 unsigned int nSVDVClusters) :
77 MCVXDPurityInfo(
int iD, std::array<unsigned int, 3> nClustersTotal, std::array<unsigned int, 3> nMCClusters) :
87 return getPurity().second > b.getPurity().second;
98 return getPurity().second < b.getPurity().second;
110 return {
m_iD, (nTotal == 0 ? 0.f : float(nFound) / float(nTotal)) };
126 return {
m_iD, (nTotal == 0 ? 0.f : float(nFound) / float(nTotal)) };
224 s <<
"iD: " <<
m_iD <<
"\n";
std::pair< int, float > getPuritySVDU() const
getter - returns purity for SVDClusters of u-type (.second) for this particleID (....
std::pair< int, float > getPuritySVD() const
getter - returns purity for SVDClusters (.second) for this particleID (.first)
std::array< unsigned int, 3 > m_nFoundClusters
stores the number for each ClusterType, PXD in [0], SVD-U in [1], and SVD-V in [2]
unsigned int getNSVDVClusters() const
getter - returns number of v-type SVDClustes found to this iD
unsigned int getNDFSVDVFound() const
getter - returns number of degrees of freedom for v-type SVDClustes found to this iD
unsigned int getNDFPXDFound() const
getter - returns number of degrees of freedom for PXD Clusters in TC found
unsigned int getNDFSVDUFound() const
getter - returns number of degrees of freedom for u-type SVDClustes found to this iD
int m_iD
stores the particleID
bool operator<(const MCVXDPurityInfo &b) const
operator for sorting.
The MC VXD Purity info container class.
std::array< unsigned int, 3 > m_nTotalClusters
stores the number of clusters the TrackCandidate container had.
std::pair< int, float > getPurityPXD() const
getter - returns purity for PXDClusters (.second) for this particleID (.first)
unsigned int getNClustersFound() const
returns number of clusters the trackCandidate had assigned to this iD
std::pair< int, float > getPurity() const
getter - returns overal purity (.second) for this particleID (.first).
unsigned int getNClustersTotal() const
returns total number of clusters the trackCandidate had
unsigned int getNDFSVDTotal() const
getter - returns number of degrees of freedom for SVD Clusters in TC total
unsigned int getNSVDUClustersTotal() const
getter - returns total number of u-type SVDClustes in the TrackCandidate
unsigned int getNDFSVDVTotal() const
getter - returns number of degrees of freedom for v-type SVDClustes in the TrackCandidate
unsigned int getNSVDUClusters() const
getter - returns number of u-type SVDClustes found to this iD
unsigned int getNDFPXDTotal() const
getter - returns number of degrees of freedom for PXD Clusters in TC total
unsigned int getNSVDVClustersTotal() const
getter - returns total number of v-type SVDClustes in the TrackCandidate
bool operator>(const MCVXDPurityInfo &b) const
operator for sorting.
Abstract base class for different kinds of events.
unsigned int getNPXDClustersTotal() const
getter - returns total number of PXDClusters in the TrackCandidate
std::string dumpToString() const
dump the contents to a string (for easier debugging)
std::pair< int, float > getPuritySVDV() const
getter - returns purity for SVDClusters of v-type (.second) for this particleID (....
unsigned int getNDFSVDUTotal() const
getter - returns number of degrees of freedom for u-type SVDClustes in the TrackCandidate
unsigned int getNDFSVDFound() const
getter - returns number of degrees of freedom for SVD Clusters in TC found
unsigned int getNDFFound() const
getter - returns number of degrees of freedom for all Clusters in TC found
unsigned int getNDFTotal() const
getter - returns number of degrees of freedom for all Clusters in TC total
int getParticleID() const
getter - returns the ID of the particle, if value is -1 no particle has been able to be found for it
MCVXDPurityInfo()
empty constructor
unsigned int getNPXDClusters() const
getter - returns number of PXDClusters found to this iD