SimpleShowersTool class. More...
#include <SimpleShowersTool.h>
Public Member Functions | |
SimpleShowersTool () | |
Default constructor. More... | |
bool | Run (ThreeViewShowersAlgorithm *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... | |
Additional Inherited Members | |
Public Types inherited from lar_content::ShowerTensorTool | |
typedef ThreeViewShowersAlgorithm::MatchingType::TensorType | TensorType |
typedef std::vector < TensorType::ElementList::const_iterator > | IteratorList |
SimpleShowersTool class.
Definition at line 19 of file SimpleShowersTool.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 38 of file SimpleShowersTool.cc.
|
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 75 of file SimpleShowersTool.cc.
|
private |
Definition at line 97 of file SimpleShowersTool.cc.
|
virtual |
Run the algorithm tool.
pAlgorithm | address of the calling algorithm |
overlapTensor | the overlap tensor |
Implements lar_content::ShowerTensorTool.
Definition at line 24 of file SimpleShowersTool.cc.
|
private |
The min matched sampling point fraction for particle creation.
Definition at line 47 of file SimpleShowersTool.h.
|
private |
The min number of matched sampling points for particle creation.
Definition at line 48 of file SimpleShowersTool.h.
|
private |
The min x overlap fraction (in each view) for particle creation.
Definition at line 49 of file SimpleShowersTool.h.