LArSoft  v10_04_05
Liquid Argon Software toolkit - https://larsoft.org/
lar_content::LArHierarchyHelper::QualityCuts Class Reference

QualityCuts class. More...

#include "LArHierarchyHelper.h"

Public Member Functions

 QualityCuts ()
 Default constructor. More...
 
 QualityCuts (const float minPurity, const float minCompleteness, const bool selectRecoHits=false)
 Constructor. More...
 

Public Attributes

const float m_minPurity
 The minimum purity for a match to be considered good. More...
 
const float m_minCompleteness
 The minimum completeness for a match to be considered good. More...
 
const bool m_selectRecoHits
 Whether to only use reco hits that overlap with the MC particle hits. More...
 

Detailed Description

QualityCuts class.

Definition at line 65 of file LArHierarchyHelper.h.

Constructor & Destructor Documentation

lar_content::LArHierarchyHelper::QualityCuts::QualityCuts ( )

Default constructor.

Definition at line 61 of file LArHierarchyHelper.cc.

References m_minCompleteness, and m_selectRecoHits.

61  :
62  m_minPurity{0.8f},
63  m_minCompleteness{0.65f},
64  m_selectRecoHits{false}
65 {
66 }
const bool m_selectRecoHits
Whether to only use reco hits that overlap with the MC particle hits.
const float m_minPurity
The minimum purity for a match to be considered good.
const float m_minCompleteness
The minimum completeness for a match to be considered good.
lar_content::LArHierarchyHelper::QualityCuts::QualityCuts ( const float  minPurity,
const float  minCompleteness,
const bool  selectRecoHits = false 
)

Constructor.

Parameters
minPurityThe minimum purity for a cut to be considered good
minCompletenessThe minimum completeness for a cut to be considered good
selectRecoHitsWhether to only use reco hits that overlap with the MC particle hits

Definition at line 70 of file LArHierarchyHelper.cc.

References m_minCompleteness, and m_selectRecoHits.

70  :
71  m_minPurity{minPurity},
72  m_minCompleteness{minCompleteness},
73  m_selectRecoHits{selectRecoHits}
74 {
75 }
const bool m_selectRecoHits
Whether to only use reco hits that overlap with the MC particle hits.
const float m_minPurity
The minimum purity for a match to be considered good.
const float m_minCompleteness
The minimum completeness for a match to be considered good.

Member Data Documentation

const float lar_content::LArHierarchyHelper::QualityCuts::m_minCompleteness

The minimum completeness for a match to be considered good.

Definition at line 83 of file LArHierarchyHelper.h.

Referenced by lar_content::LArHierarchyHelper::MCMatches::IsQuality(), and QualityCuts().

const float lar_content::LArHierarchyHelper::QualityCuts::m_minPurity

The minimum purity for a match to be considered good.

Definition at line 82 of file LArHierarchyHelper.h.

Referenced by lar_content::LArHierarchyHelper::MCMatches::IsQuality().

const bool lar_content::LArHierarchyHelper::QualityCuts::m_selectRecoHits

Whether to only use reco hits that overlap with the MC particle hits.

Definition at line 84 of file LArHierarchyHelper.h.

Referenced by lar_content::LArHierarchyHelper::MatchInfo::Match(), and QualityCuts().


The documentation for this class was generated from the following files: