8 #ifndef LAR_POINTING_CLUSTER_H 9 #define LAR_POINTING_CLUSTER_H 1 43 Vertex(
const pandora::Cluster *
const pCluster,
const pandora::CartesianVector &position,
const pandora::CartesianVector &direction,
44 const float rms,
const bool isInner);
71 const pandora::CartesianVector &
GetPosition()
const;
124 LArPointingCluster(
const pandora::Cluster *
const pCluster,
const unsigned int fitHalfLayerWindow = 10,
const float fitLayerPitch = 0.3
f);
240 throw pandora::StatusCodeException(pandora::STATUS_CODE_NOT_INITIALIZED);
250 throw pandora::StatusCodeException(pandora::STATUS_CODE_NOT_INITIALIZED);
260 throw pandora::StatusCodeException(pandora::STATUS_CODE_NOT_INITIALIZED);
270 throw pandora::StatusCodeException(pandora::STATUS_CODE_NOT_INITIALIZED);
280 throw pandora::StatusCodeException(pandora::STATUS_CODE_NOT_INITIALIZED);
294 #endif // #ifndef LAR_POINTING_CLUSTER_H std::unordered_map< const pandora::Cluster *, LArPointingCluster > LArPointingClusterMap
std::vector< LArPointingCluster > LArPointingClusterList
float GetLength() const
Get length of pointing cluster.
const pandora::Cluster * m_pCluster
The address of the cluster.
LArPointingCluster class.
Vertex & operator=(const Vertex &rhs)
Vertex assigment operator.
void BuildPointingCluster(const TwoDSlidingFitResult &slidingFitResult)
Build the pointing cluster object from the sliding fit result.
const pandora::Cluster * GetCluster() const
Get the address of the cluster.
std::vector< LArPointingCluster::Vertex > LArPointingClusterVertexList
const pandora::Cluster * m_pCluster
The address of the cluster.
const pandora::Cluster * GetCluster() const
Get the address of the cluster.
LArPointingCluster(const pandora::Cluster *const pCluster, const unsigned int fitHalfLayerWindow=10, const float fitLayerPitch=0.3f)
Constructor.
Vertex m_innerVertex
The inner vertex.
bool IsInitialized() const
Whether the vertex has been initialized.
const Vertex & GetOuterVertex() const
Get the outer vertex.
Vertex m_outerVertex
The outer vertex.
Header file for the lar two dimensional sliding fit result class.
const Vertex & GetInnerVertex() const
Get the inner vertex.
bool m_isInner
Whether this is the inner vertex.
float GetLengthSquared() const
Get length squared of pointing cluster.
Header file for the lar three dimensional sliding fit result class.
const pandora::CartesianVector & GetDirection() const
Get the vertex direction.
float GetRms() const
Get rms from vertex fit.
ThreeDSlidingFitResult class.
Vertex()
Default constructor.
float m_rms
Rms from vertex fit.
bool IsInnerVertex() const
Is this the inner vertex.
bool m_isInitialized
Whether the vertex has been initialized.
pandora::CartesianVector m_direction
The vertex direction.
const pandora::CartesianVector & GetPosition() const
Get the vertex position.
TwoDSlidingFitResult class.
pandora::CartesianVector m_position
The vertex position.