ClearLongitudinalTracksTool class.
More...
#include <ClearLongitudinalTracksTool.h>
lar_content::ClearLongitudinalTracksTool::ClearLongitudinalTracksTool |
( |
| ) |
|
Default constructor.
Definition at line 18 of file ClearLongitudinalTracksTool.cc.
float m_minMatchedFraction
The min matched sampling point fraction for particle creation.
Create three dimensional particles for a given tensor element list.
- Parameters
-
pAlgorithm | address of the calling algorithm (ultimately responsible for the particles) |
elementList | the tensor element list |
particlesMade | receive boolean indicating whether particles have been made |
Definition at line 40 of file ClearLongitudinalTracksTool.cc.
50 ProtoParticle protoParticle;
51 protoParticle.m_clusterList.push_back(iter->GetClusterU());
52 protoParticle.m_clusterList.push_back(iter->GetClusterV());
53 protoParticle.m_clusterList.push_back(iter->GetClusterW());
54 protoParticleVector.push_back(protoParticle);
57 particlesMade |= pAlgorithm->CreateThreeDParticles(protoParticleVector);
std::vector< ProtoParticle > ProtoParticleVector
float m_minMatchedFraction
The min matched sampling point fraction for particle creation.
StatusCode lar_content::ClearLongitudinalTracksTool::ReadSettings |
( |
const pandora::TiXmlHandle |
xmlHandle | ) |
|
|
private |
Definition at line 62 of file ClearLongitudinalTracksTool.cc.
64 PANDORA_RETURN_RESULT_IF_AND_IF(
65 STATUS_CODE_SUCCESS, STATUS_CODE_NOT_FOUND, !=, XmlHelper::ReadValue(xmlHandle,
"MinMatchedFraction",
m_minMatchedFraction));
67 return STATUS_CODE_SUCCESS;
float m_minMatchedFraction
The min matched sampling point fraction for particle creation.
Run the algorithm tool.
- Parameters
-
pAlgorithm | address of the calling algorithm |
overlapTensor | the overlap tensor |
- Returns
- whether changes have been made by the tool
Implements lar_content::LongitudinalTensorTool.
Definition at line 24 of file ClearLongitudinalTracksTool.cc.
26 if (PandoraContentApi::GetSettings(*pAlgorithm)->ShouldDisplayAlgorithmInfo())
27 std::cout <<
"----> Running Algorithm Tool: " << this->GetInstanceName() <<
", " << this->GetType() <<
std::endl;
29 bool particlesMade(
false);
32 overlapTensor.GetUnambiguousElements(
true, elementList);
std::vector< Element > ElementList
void CreateThreeDParticles(ThreeViewLongitudinalTracksAlgorithm *const pAlgorithm, const TensorType::ElementList &elementList, bool &particlesMade) const
Create three dimensional particles for a given tensor element list.
QTextStream & endl(QTextStream &s)
float lar_content::ClearLongitudinalTracksTool::m_minMatchedFraction |
|
private |
The documentation for this class was generated from the following files: