HerdSoftware  0.1.1
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::Stk, DetectorType::Scd, DetectorType::Fit }
 

Public Member Functions

 HFCluster ()
 
 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
 Get the center of gravity position of the fit cluster. More...
 

Private Attributes

EA::observer_ptr< const TrackingDetectorGeoParamsm_geoParams
 
DetectorType m_type
 

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 
Stk 
Scd 
Fit 

Constructor & Destructor Documentation

◆ HFCluster() [1/2]

Herd::HFCluster::HFCluster ( )
inline

◆ HFCluster() [2/2]

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

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_geoParams

EA::observer_ptr<const TrackingDetectorGeoParams> Herd::HFCluster::m_geoParams
private

◆ m_type

DetectorType Herd::HFCluster::m_type
private

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