LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
SimpleShowersTool.h
Go to the documentation of this file.
1
8
#ifndef SIMPLE_SHOWERS_TOOL_H
9
#define SIMPLE_SHOWERS_TOOL_H 1
10
11
#include "
larpandoracontent/LArThreeDReco/LArShowerMatching/ThreeDShowersAlgorithm.h
"
12
13
namespace
lar_content
14
{
15
19
class
SimpleShowersTool
:
public
ShowerTensorTool
20
{
21
public
:
25
SimpleShowersTool
();
26
27
bool
Run
(
ThreeDShowersAlgorithm
*
const
pAlgorithm,
TensorType
&overlapTensor);
28
29
private
:
36
void
FindBestShower
(
const
TensorType
&overlapTensor,
ProtoParticleVector
&protoParticleVector)
const
;
37
43
bool
PassesElementCuts
(
TensorType::ElementList::const_iterator
eIter)
const
;
44
45
pandora::StatusCode
ReadSettings
(
const
pandora::TiXmlHandle xmlHandle);
46
47
float
m_minMatchedFraction
;
48
unsigned
int
m_minMatchedSamplingPoints
;
49
float
m_minXOverlapFraction
;
50
};
51
52
}
// namespace lar_content
53
54
#endif // #ifndef SIMPLE_SHOWERS_TOOL_H
lar_content::ShowerTensorTool
ShowerTensorTool class.
Definition:
ThreeDShowersAlgorithm.h:175
lar_content::OverlapTensor< ShowerOverlapResult >
lar_content::ProtoParticleVector
std::vector< ProtoParticle > ProtoParticleVector
Definition:
ThreeDBaseAlgorithm.h:33
lar_content
Definition:
CheatingBeamParticleIdTool.cc:18
lar_content::SimpleShowersTool::FindBestShower
void FindBestShower(const TensorType &overlapTensor, ProtoParticleVector &protoParticleVector) const
Find best shower match as a simple way to (try to) resolve ambiguities in the tensor.
Definition:
SimpleShowersTool.cc:41
lar_content::SimpleShowersTool::SimpleShowersTool
SimpleShowersTool()
Default constructor.
Definition:
SimpleShowersTool.cc:18
lar_content::SimpleShowersTool::m_minMatchedFraction
float m_minMatchedFraction
The min matched sampling point fraction for particle creation.
Definition:
SimpleShowersTool.h:47
lar_content::ThreeDShowersAlgorithm
ThreeDShowersAlgorithm class.
Definition:
ThreeDShowersAlgorithm.h:28
lar_content::SimpleShowersTool::Run
bool Run(ThreeDShowersAlgorithm *const pAlgorithm, TensorType &overlapTensor)
Run the algorithm tool.
Definition:
SimpleShowersTool.cc:27
lar_content::SimpleShowersTool
SimpleShowersTool class.
Definition:
SimpleShowersTool.h:19
lar_content::SimpleShowersTool::ReadSettings
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
Definition:
SimpleShowersTool.cc:100
lar_content::SimpleShowersTool::m_minMatchedSamplingPoints
unsigned int m_minMatchedSamplingPoints
The min number of matched sampling points for particle creation.
Definition:
SimpleShowersTool.h:48
ThreeDShowersAlgorithm.h
Header file for the three dimensional showers algorithm class.
lar_content::SimpleShowersTool::m_minXOverlapFraction
float m_minXOverlapFraction
The min x overlap fraction (in each view) for particle creation.
Definition:
SimpleShowersTool.h:49
lar_content::SimpleShowersTool::PassesElementCuts
bool PassesElementCuts(TensorType::ElementList::const_iterator eIter) const
Whether a provided (iterator to a) tensor element passes the selection cuts for particle creation...
Definition:
SimpleShowersTool.cc:78
lar_content::OverlapTensor< ShowerOverlapResult >::const_iterator
TheTensor::const_iterator const_iterator
Definition:
LArOverlapTensor.h:149
larpandoracontent
v03_14_03
source
larpandoracontent
LArThreeDReco
LArShowerMatching
SimpleShowersTool.h
Generated on Wed Dec 12 2018 14:42:52 for LArSoft by
1.8.11