HerdSoftware
0.4.0
|
#include <HFCluster.h>
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 |
![]() | |
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 | |
![]() | |
std::vector< Hit > | _hits |
Hits in each channel constituting the cluster. More... | |
|
strong |
|
default |
Herd::HFCluster::HFCluster | ( | const Cluster & | cl, |
const TrackingDetectorGeoParams & | geoParams, | ||
DetectorType | type | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |