LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
SimpleShowersTool class. More...
#include "SimpleShowersTool.h"
Public Types | |
typedef ThreeDShowersAlgorithm::TensorType | TensorType |
typedef std::vector< TensorType::ElementList::const_iterator > | IteratorList |
Public Member Functions | |
SimpleShowersTool () | |
Default constructor. More... | |
bool | Run (ThreeDShowersAlgorithm *const pAlgorithm, TensorType &overlapTensor) |
Run the algorithm tool. More... | |
Private Member Functions | |
void | FindBestShower (const TensorType &overlapTensor, ProtoParticleVector &protoParticleVector) const |
Find best shower match as a simple way to (try to) resolve ambiguities in the tensor. More... | |
bool | PassesElementCuts (TensorType::ElementList::const_iterator eIter) const |
Whether a provided (iterator to a) tensor element passes the selection cuts for particle creation. More... | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
Private Attributes | |
float | m_minMatchedFraction |
The min matched sampling point fraction for particle creation. More... | |
unsigned int | m_minMatchedSamplingPoints |
The min number of matched sampling points for particle creation. More... | |
float | m_minXOverlapFraction |
The min x overlap fraction (in each view) for particle creation. More... | |
SimpleShowersTool class.
Definition at line 19 of file SimpleShowersTool.h.
|
inherited |
Definition at line 179 of file ThreeDShowersAlgorithm.h.
|
inherited |
Definition at line 178 of file ThreeDShowersAlgorithm.h.
lar_content::SimpleShowersTool::SimpleShowersTool | ( | ) |
Default constructor.
Definition at line 18 of file SimpleShowersTool.cc.
|
private |
Find best shower match as a simple way to (try to) resolve ambiguities in the tensor.
overlapTensor | the overlap tensor |
protoParticleVector | to receive the list of proto particles |
Definition at line 41 of file SimpleShowersTool.cc.
References lar_content::OverlapTensor< T >::GetConnectedElements(), lar_content::OverlapTensor< T >::GetSortedKeyClusters(), lar_content::ProtoParticle::m_clusterListU, lar_content::ProtoParticle::m_clusterListV, and lar_content::ProtoParticle::m_clusterListW.
Referenced by Run().
|
private |
Whether a provided (iterator to a) tensor element passes the selection cuts for particle creation.
eIter | the iterator to the tensor element |
Definition at line 78 of file SimpleShowersTool.cc.
References m_minMatchedFraction, m_minMatchedSamplingPoints, and m_minXOverlapFraction.
|
private |
Definition at line 100 of file SimpleShowersTool.cc.
References m_minMatchedFraction, m_minMatchedSamplingPoints, and m_minXOverlapFraction.
|
virtual |
Run the algorithm tool.
pAlgorithm | address of the calling algorithm |
overlapTensor | the overlap tensor |
Implements lar_content::ShowerTensorTool.
Definition at line 27 of file SimpleShowersTool.cc.
References lar_content::ThreeDBaseAlgorithm< T >::CreateThreeDParticles(), and FindBestShower().
|
private |
The min matched sampling point fraction for particle creation.
Definition at line 47 of file SimpleShowersTool.h.
Referenced by PassesElementCuts(), and ReadSettings().
|
private |
The min number of matched sampling points for particle creation.
Definition at line 48 of file SimpleShowersTool.h.
Referenced by PassesElementCuts(), and ReadSettings().
|
private |
The min x overlap fraction (in each view) for particle creation.
Definition at line 49 of file SimpleShowersTool.h.
Referenced by PassesElementCuts(), and ReadSettings().