LArSoft
v07_13_02
Liquid Argon Software toolkit - http://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 86 of file BdtBeamParticleIdTool.h.
lar_content::BdtBeamParticleIdTool::SliceFeatureParameters::SliceFeatureParameters | ( | ) |
Constructor.
Definition at line 382 of file BdtBeamParticleIdTool.cc.
|
inline |
Get the beam direction.
Definition at line 498 of file BdtBeamParticleIdTool.h.
Referenced by Initialize().
|
inline |
Get the beam LArTPC intersection.
Definition at line 491 of file BdtBeamParticleIdTool.h.
Referenced by lar_content::BdtBeamParticleIdTool::SliceFeatures::GetLeadingCaloHits(), and Initialize().
|
inline |
Get m_containmentLimit.
Definition at line 519 of file BdtBeamParticleIdTool.h.
Referenced by lar_content::BdtBeamParticleIdTool::SliceFeatures::GetLArTPCIntercepts().
|
inline |
Get m_larTPCMaxX.
Definition at line 449 of file BdtBeamParticleIdTool.h.
Referenced by lar_content::BdtBeamParticleIdTool::SliceFeatures::IsContained().
|
inline |
Get m_larTPCMaxY.
Definition at line 463 of file BdtBeamParticleIdTool.h.
Referenced by lar_content::BdtBeamParticleIdTool::SliceFeatures::IsContained().
|
inline |
Get m_larTPCMaxZ.
Definition at line 477 of file BdtBeamParticleIdTool.h.
Referenced by lar_content::BdtBeamParticleIdTool::SliceFeatures::IsContained().
|
inline |
Get m_larTPCMinX.
Definition at line 442 of file BdtBeamParticleIdTool.h.
Referenced by lar_content::BdtBeamParticleIdTool::SliceFeatures::IsContained().
|
inline |
Get m_larTPCMinY.
Definition at line 456 of file BdtBeamParticleIdTool.h.
Referenced by lar_content::BdtBeamParticleIdTool::SliceFeatures::IsContained().
|
inline |
Get m_larTPCMinZ.
Definition at line 470 of file BdtBeamParticleIdTool.h.
Referenced by lar_content::BdtBeamParticleIdTool::SliceFeatures::IsContained().
|
inline |
Get m_nSelectedHits.
Definition at line 512 of file BdtBeamParticleIdTool.h.
Referenced by lar_content::BdtBeamParticleIdTool::SliceFeatures::GetLeadingCaloHits().
|
inline |
Get vector of planes.
Definition at line 484 of file BdtBeamParticleIdTool.h.
Referenced by lar_content::BdtBeamParticleIdTool::SliceFeatures::GetLArTPCIntercepts().
|
inline |
Get m_selectedFraction.
Definition at line 505 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 399 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, max, min, 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 414 of file BdtBeamParticleIdTool.h.
Referenced by lar_content::BdtBeamParticleIdTool::ReadSettings().
|
inline |
Set m_beamLArTPCIntersection.
beamLArTPCIntersection | intersection of beam and TPC |
Definition at line 407 of file BdtBeamParticleIdTool.h.
Referenced by lar_content::BdtBeamParticleIdTool::ReadSettings().
|
inline |
Set m_containmentLimit.
containmentLimit | limit used in is contained definition |
Definition at line 435 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 428 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 421 of file BdtBeamParticleIdTool.h.
Referenced by lar_content::BdtBeamParticleIdTool::ReadSettings().
|
private |
Beam direction.
Definition at line 210 of file BdtBeamParticleIdTool.h.
|
private |
Intersection of beam and global LArTPC volume.
Definition at line 209 of file BdtBeamParticleIdTool.h.
|
private |
Limit applied in is contained definition.
Definition at line 213 of file BdtBeamParticleIdTool.h.
|
private |
Global LArTPC volume maximum x extent.
Definition at line 203 of file BdtBeamParticleIdTool.h.
Referenced by Initialize().
|
private |
Global LArTPC volume maximum y extent.
Definition at line 205 of file BdtBeamParticleIdTool.h.
Referenced by Initialize().
|
private |
Global LArTPC volume maximum z extent.
Definition at line 207 of file BdtBeamParticleIdTool.h.
Referenced by Initialize().
|
private |
Global LArTPC volume minimum x extent.
Definition at line 202 of file BdtBeamParticleIdTool.h.
Referenced by Initialize().
|
private |
Global LArTPC volume minimum y extent.
Definition at line 204 of file BdtBeamParticleIdTool.h.
Referenced by Initialize().
|
private |
Global LArTPC volume minimum z extent.
Definition at line 206 of file BdtBeamParticleIdTool.h.
Referenced by Initialize().
|
private |
Vector of all planes making up global LArTPC volume.
Definition at line 208 of file BdtBeamParticleIdTool.h.
Referenced by Initialize().
|
private |
Minimum number of hits to use in 3D cluster fits.
Definition at line 212 of file BdtBeamParticleIdTool.h.
|
private |
Fraction of hits to use in 3D cluster fits.
Definition at line 211 of file BdtBeamParticleIdTool.h.