ClearRemnantsTool class.
More...
#include <ClearRemnantsTool.h>
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 34 of file ClearRemnantsTool.cc.
40 ProtoParticle protoParticle;
41 protoParticle.m_clusterList.push_back(iter->GetClusterU());
42 protoParticle.m_clusterList.push_back(iter->GetClusterV());
43 protoParticle.m_clusterList.push_back(iter->GetClusterW());
44 protoParticleVector.push_back(protoParticle);
47 particlesMade |= pAlgorithm->CreateThreeDParticles(protoParticleVector);
std::vector< ProtoParticle > ProtoParticleVector
StatusCode lar_content::ClearRemnantsTool::ReadSettings |
( |
const pandora::TiXmlHandle |
xmlHandle | ) |
|
|
private |
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::RemnantTensorTool.
Definition at line 18 of file ClearRemnantsTool.cc.
20 if (PandoraContentApi::GetSettings(*pAlgorithm)->ShouldDisplayAlgorithmInfo())
21 std::cout <<
"----> Running Algorithm Tool: " << this->GetInstanceName() <<
", " << this->GetType() <<
std::endl;
23 bool particlesMade(
false);
26 overlapTensor.GetUnambiguousElements(
true, elementList);
void CreateThreeDParticles(ThreeViewRemnantsAlgorithm *const pAlgorithm, const TensorType::ElementList &elementList, bool &particlesMade) const
Create three dimensional particles for a given tensor element list.
std::vector< Element > ElementList
QTextStream & endl(QTextStream &s)
The documentation for this class was generated from the following files: