LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
SliceFeatureParameters class. More...
Public Member Functions | |
SliceFeatureParameters () | |
Constructor. More... | |
void | Initialize (const float larTPCMinX, const float larTPCMaxX, const float larTPCMinY, const float larTPCMaxY, const float larTPCMinZ, const float larTPCMaxZ) |
Set LArTPC geometry information. More... | |
void | SetBeamLArTPCIntersection (const pandora::CartesianVector &beamLArTPCIntersection) |
Set m_beamLArTPCIntersection. More... | |
void | SetBeamDirection (const pandora::CartesianVector &beamDirection) |
Set m_beamDirection. More... | |
void | SetSelectedFraction (const float selectedFraction) |
Set m_selectedFraction. More... | |
void | SetNSelectedHits (const unsigned int nSelectedHits) |
Set m_nSelectedHits. More... | |
void | SetContainmentLimit (const float containmentLimit) |
Set m_containmentLimit. More... | |
float | GetLArTPCMinX () const |
Get m_larTPCMinX. More... | |
float | GetLArTPCMaxX () const |
Get m_larTPCMaxX. More... | |
float | GetLArTPCMinY () const |
Get m_larTPCMinY. More... | |
float | GetLArTPCMaxY () const |
Get m_larTPCMaxY. More... | |
float | GetLArTPCMinZ () const |
Get m_larTPCMinZ. More... | |
float | GetLArTPCMaxZ () const |
Get m_larTPCMaxZ. More... | |
const PlaneVector & | GetPlanes () const |
Get vector of planes. More... | |
const pandora::CartesianVector & | GetBeamLArTPCIntersection () const |
Get the beam LArTPC intersection. More... | |
const pandora::CartesianVector & | GetBeamDirection () const |
Get the beam direction. More... | |
float | GetSelectedFraction () const |
Get m_selectedFraction. More... | |
unsigned int | GetNSelectedHits () const |
Get m_nSelectedHits. More... | |
float | GetContainmentLimit () const |
Get m_containmentLimit. More... | |
Private Attributes | |
float | m_larTPCMinX |
Global LArTPC volume minimum x extent. More... | |
float | m_larTPCMaxX |
Global LArTPC volume maximum x extent. More... | |
float | m_larTPCMinY |
Global LArTPC volume minimum y extent. More... | |
float | m_larTPCMaxY |
Global LArTPC volume maximum y extent. More... | |
float | m_larTPCMinZ |
Global LArTPC volume minimum z extent. More... | |
float | m_larTPCMaxZ |
Global LArTPC volume maximum z extent. More... | |
PlaneVector | m_larTPCPlanes |
Vector of all planes making up global LArTPC volume. More... | |
pandora::CartesianVector | m_beamLArTPCIntersection |
Intersection of beam and global LArTPC volume. More... | |
pandora::CartesianVector | m_beamDirection |
Beam direction. More... | |
float | m_selectedFraction |
Fraction of hits to use in 3D cluster fits. More... | |
unsigned int | m_nSelectedHits |
Minimum number of hits to use in 3D cluster fits. More... | |
float | m_containmentLimit |
Limit applied in is contained definition. More... | |
SliceFeatureParameters class.
Definition at line 88 of file BdtBeamParticleIdTool.h.
lar_content::BdtBeamParticleIdTool::SliceFeatureParameters::SliceFeatureParameters | ( | ) |
Constructor.
Definition at line 388 of file BdtBeamParticleIdTool.cc.
|
inline |
Get the beam direction.
Definition at line 497 of file BdtBeamParticleIdTool.h.
Referenced by Initialize().
|
inline |
Get the beam LArTPC intersection.
Definition at line 490 of file BdtBeamParticleIdTool.h.
Referenced by lar_content::BdtBeamParticleIdTool::SliceFeatures::GetLeadingCaloHits(), and Initialize().
|
inline |
Get m_containmentLimit.
Definition at line 518 of file BdtBeamParticleIdTool.h.
Referenced by lar_content::BdtBeamParticleIdTool::SliceFeatures::GetLArTPCIntercepts().
|
inline |
Get m_larTPCMaxX.
Definition at line 448 of file BdtBeamParticleIdTool.h.
Referenced by lar_content::BdtBeamParticleIdTool::SliceFeatures::IsContained().
|
inline |
Get m_larTPCMaxY.
Definition at line 462 of file BdtBeamParticleIdTool.h.
Referenced by lar_content::BdtBeamParticleIdTool::SliceFeatures::IsContained().
|
inline |
Get m_larTPCMaxZ.
Definition at line 476 of file BdtBeamParticleIdTool.h.
Referenced by lar_content::BdtBeamParticleIdTool::SliceFeatures::IsContained().
|
inline |
Get m_larTPCMinX.
Definition at line 441 of file BdtBeamParticleIdTool.h.
Referenced by lar_content::BdtBeamParticleIdTool::SliceFeatures::IsContained().
|
inline |
Get m_larTPCMinY.
Definition at line 455 of file BdtBeamParticleIdTool.h.
Referenced by lar_content::BdtBeamParticleIdTool::SliceFeatures::IsContained().
|
inline |
Get m_larTPCMinZ.
Definition at line 469 of file BdtBeamParticleIdTool.h.
Referenced by lar_content::BdtBeamParticleIdTool::SliceFeatures::IsContained().
|
inline |
Get m_nSelectedHits.
Definition at line 511 of file BdtBeamParticleIdTool.h.
Referenced by lar_content::BdtBeamParticleIdTool::SliceFeatures::GetLeadingCaloHits().
|
inline |
Get vector of planes.
Definition at line 483 of file BdtBeamParticleIdTool.h.
Referenced by lar_content::BdtBeamParticleIdTool::SliceFeatures::GetLArTPCIntercepts().
|
inline |
Get m_selectedFraction.
Definition at line 504 of file BdtBeamParticleIdTool.h.
Referenced by lar_content::BdtBeamParticleIdTool::SliceFeatures::GetLeadingCaloHits().
void lar_content::BdtBeamParticleIdTool::SliceFeatureParameters::Initialize | ( | const float | larTPCMinX, |
const float | larTPCMaxX, | ||
const float | larTPCMinY, | ||
const float | larTPCMaxY, | ||
const float | larTPCMinZ, | ||
const float | larTPCMaxZ | ||
) |
Set LArTPC geometry information.
larTPCMinX | the global LArTPC volume minimum x extent |
larTPCMaxX | the global LArTPC volume maximum x extent |
larTPCMinY | the global LArTPC volume minimum y extent |
larTPCMaxY | the global LArTPC volume maximum y extent |
larTPCMinZ | the global LArTPC volume minimum z extent |
larTPCMaxZ | the global LArTPC volume maximum z extent |
Definition at line 405 of file BdtBeamParticleIdTool.cc.
References f, lar_content::LArPfoHelper::GetAllConnectedPfos(), GetBeamDirection(), GetBeamLArTPCIntersection(), lar_content::LArPfoHelper::GetCaloHits(), m_larTPCMaxX, m_larTPCMaxY, m_larTPCMaxZ, m_larTPCMinX, m_larTPCMinY, m_larTPCMinZ, m_larTPCPlanes, lar_content::BdtBeamParticleIdTool::m_sliceFeatureParameters, lar_content::LArPcaHelper::RunPca(), and lar_content::BdtBeamParticleIdTool::SliceFeatures::SliceFeatures().
Referenced by lar_content::BdtBeamParticleIdTool::Initialize().
|
inline |
Set m_beamDirection.
beamDirection | direction of beam |
Definition at line 413 of file BdtBeamParticleIdTool.h.
Referenced by lar_content::BdtBeamParticleIdTool::ReadSettings().
|
inline |
Set m_beamLArTPCIntersection.
beamLArTPCIntersection | intersection of beam and TPC |
Definition at line 406 of file BdtBeamParticleIdTool.h.
Referenced by lar_content::BdtBeamParticleIdTool::ReadSettings().
|
inline |
Set m_containmentLimit.
containmentLimit | limit used in is contained definition |
Definition at line 434 of file BdtBeamParticleIdTool.h.
Referenced by lar_content::BdtBeamParticleIdTool::ReadSettings().
|
inline |
Set m_nSelectedHits.
nSelectedHits | minimum number of hits to use in 3D cluster fits |
Definition at line 427 of file BdtBeamParticleIdTool.h.
Referenced by lar_content::BdtBeamParticleIdTool::ReadSettings().
|
inline |
Set m_selectedFraction.
selectedFraction | fraction of hits to use in 3D cluster fits |
Definition at line 420 of file BdtBeamParticleIdTool.h.
Referenced by lar_content::BdtBeamParticleIdTool::ReadSettings().
|
private |
Beam direction.
Definition at line 213 of file BdtBeamParticleIdTool.h.
|
private |
Intersection of beam and global LArTPC volume.
Definition at line 212 of file BdtBeamParticleIdTool.h.
|
private |
Limit applied in is contained definition.
Definition at line 216 of file BdtBeamParticleIdTool.h.
|
private |
Global LArTPC volume maximum x extent.
Definition at line 206 of file BdtBeamParticleIdTool.h.
Referenced by Initialize().
|
private |
Global LArTPC volume maximum y extent.
Definition at line 208 of file BdtBeamParticleIdTool.h.
Referenced by Initialize().
|
private |
Global LArTPC volume maximum z extent.
Definition at line 210 of file BdtBeamParticleIdTool.h.
Referenced by Initialize().
|
private |
Global LArTPC volume minimum x extent.
Definition at line 205 of file BdtBeamParticleIdTool.h.
Referenced by Initialize().
|
private |
Global LArTPC volume minimum y extent.
Definition at line 207 of file BdtBeamParticleIdTool.h.
Referenced by Initialize().
|
private |
Global LArTPC volume minimum z extent.
Definition at line 209 of file BdtBeamParticleIdTool.h.
Referenced by Initialize().
|
private |
Vector of all planes making up global LArTPC volume.
Definition at line 211 of file BdtBeamParticleIdTool.h.
Referenced by Initialize().
|
private |
Minimum number of hits to use in 3D cluster fits.
Definition at line 215 of file BdtBeamParticleIdTool.h.
|
private |
Fraction of hits to use in 3D cluster fits.
Definition at line 214 of file BdtBeamParticleIdTool.h.