99 m_position(0.f, 0.f, 0.f),
100 m_direction(0.f, 0.f, 0.f),
101 m_rms(std::numeric_limits<float>::max()),
103 m_isInitialized(false)
112 m_position(position),
113 m_direction(direction),
116 m_isInitialized(true)
124 m_position(rhs.m_position),
125 m_direction(rhs.m_direction),
127 m_isInner(rhs.m_isInner),
128 m_isInitialized(rhs.m_isInitialized)
Header file for the cluster helper class.
Header file for the lar pointing cluster class.
static pandora::HitType GetClusterHitType(const pandora::Cluster *const pCluster)
Get the hit type associated with a two dimensional cluster.
bool m_isInner
Whether this is the inner vertex.
bool m_isInitialized
Whether the vertex has been initialized.
pandora::CartesianVector m_direction
The vertex direction.
const pandora::Cluster * m_pCluster
The address of the cluster.
Vertex()
Default constructor.
Vertex & operator=(const Vertex &rhs)
Vertex assigment operator.
pandora::CartesianVector m_position
The vertex position.
float m_rms
Rms from vertex fit.
void BuildPointingCluster(const TwoDSlidingFitResult &slidingFitResult)
Build the pointing cluster object from the sliding fit result.
Vertex m_outerVertex
The outer vertex.
const pandora::Cluster * m_pCluster
The address of the cluster.
Vertex m_innerVertex
The inner vertex.
LArPointingCluster(const pandora::Cluster *const pCluster, const unsigned int fitHalfLayerWindow=10, const float fitLayerPitch=0.3f)
Constructor.
ThreeDSlidingFitResult class.
float GetMinLayerRms() const
Get rms at minimum layer.
int GetMinLayer() const
Get the minimum occupied layer in the sliding fit.
const pandora::CartesianVector & GetGlobalMaxLayerDirection() const
Get global direction corresponding to the fit result in maximum fit layer.
const pandora::CartesianVector & GetGlobalMinLayerDirection() const
Get global direction corresponding to the fit result in minimum fit layer.
int GetMaxLayer() const
Get the maximum occupied layer in the sliding fit.
const pandora::Cluster * GetCluster() const
Get the address of the cluster.
const pandora::CartesianVector & GetGlobalMaxLayerPosition() const
Get global position corresponding to the fit result in maximum fit layer.
const pandora::CartesianVector & GetGlobalMinLayerPosition() const
Get global position corresponding to the fit result in minimum fit layer.
float GetMaxLayerRms() const
Get rms at maximum layer.
TwoDSlidingFitResult class.
float GetMaxLayerRms() const
Get rms at maximum layer.
pandora::CartesianVector GetGlobalMinLayerPosition() const
Get global position corresponding to the fit result in minimum fit layer.
float GetMinLayerRms() const
Get rms at minimum layer.
pandora::CartesianVector GetGlobalMinLayerDirection() const
Get global direction corresponding to the fit result in minimum fit layer.
int GetMaxLayer() const
Get the maximum occupied layer in the sliding fit.
pandora::CartesianVector GetGlobalMaxLayerPosition() const
Get global position corresponding to the fit result in maximum fit layer.
const pandora::Cluster * GetCluster() const
Get the address of the cluster, if originally provided.
int GetMinLayer() const
Get the minimum occupied layer in the sliding fit.
pandora::CartesianVector GetGlobalMaxLayerDirection() const
Get global direction corresponding to the fit result in maximum fit layer.
float GetZ() const
Get the cartesian z coordinate.
StatusCodeException class.
HitType
Calorimeter hit type enum.