HerdSoftware  0.4.0
Public Types | Public Member Functions | Private Attributes | List of all members
Herd::HFCluster Class Reference

#include <HFCluster.h>

Inheritance diagram for Herd::HFCluster:
Herd::Cluster

Public Types

enum  DetectorType { DetectorType::NONE = -1, DetectorType::Scd, DetectorType::Fit }
 

Public Member Functions

 HFCluster ()=default
 
 HFCluster (const Cluster &cl, const TrackingDetectorGeoParams &geoParams, DetectorType type)
 
Point COGPosition () const
 
RefFrame::Side Side () const
 
size_t LayerNumber () const
 
RefFrame::Axis NormalAxis () const
 
DetectorType Type () const
 
- Public Member Functions inherited from Herd::Cluster
 Cluster ()
 Default constructor. More...
 
 Cluster (std::vector< Hit > hits, size_t seedIndex)
 Constructor. More...
 
virtual ~Cluster ()=default
 Virtual destructor
More...
 
const std::vector< Hit > & Hits () const
 Gets the hits forming the cluster. More...
 
void SetHits (std::vector< Hit > hits, size_t seedIndex)
 Sets the hits forming the cluster. More...
 
size_t SeedHitIndex () const
 Gets the index of the seed hit within the hits vector. More...
 
float EDep () const
 Gets the deposited energy associated to the cluster. More...
 
Point COGPosition (const TrackingDetectorGeoParams &geoParams) const
 Get the center of gravity position of the cluster. More...
 
bool operator== (const Cluster &right) const
 
bool operator!= (const Cluster &right) const
 

Private Attributes

DetectorType m_type {DetectorType::NONE}
 
Point m_cogPosition {defaultValue<Point>}
 
RefFrame::Side m_side {RefFrame::Side::NONE}
 
size_t m_layerNumber {defaultValue<size_t>}
 
RefFrame::Axis m_normalAxis {RefFrame::Axis::NONE}
 

Additional Inherited Members

- Protected Attributes inherited from Herd::Cluster
std::vector< Hit_hits
 Hits in each channel constituting the cluster. More...
 

Member Enumeration Documentation

◆ DetectorType

Enumerator
NONE 
Scd 
Fit 

Constructor & Destructor Documentation

◆ HFCluster() [1/2]

Herd::HFCluster::HFCluster ( )
default

◆ HFCluster() [2/2]

Herd::HFCluster::HFCluster ( const Cluster cl,
const TrackingDetectorGeoParams geoParams,
DetectorType  type 
)

Member Function Documentation

◆ COGPosition()

Point Herd::HFCluster::COGPosition ( ) const
inline

◆ LayerNumber()

size_t Herd::HFCluster::LayerNumber ( ) const
inline

◆ NormalAxis()

RefFrame::Axis Herd::HFCluster::NormalAxis ( ) const
inline

◆ Side()

RefFrame::Side Herd::HFCluster::Side ( ) const
inline

◆ Type()

DetectorType Herd::HFCluster::Type ( ) const
inline

Member Data Documentation

◆ m_cogPosition

Point Herd::HFCluster::m_cogPosition {defaultValue<Point>}
private

◆ m_layerNumber

size_t Herd::HFCluster::m_layerNumber {defaultValue<size_t>}
private

◆ m_normalAxis

RefFrame::Axis Herd::HFCluster::m_normalAxis {RefFrame::Axis::NONE}
private

◆ m_side

RefFrame::Side Herd::HFCluster::m_side {RefFrame::Side::NONE}
private

◆ m_type

DetectorType Herd::HFCluster::m_type {DetectorType::NONE}
private

The documentation for this class was generated from the following files: