ATLAS Offline Software
Loading...
Searching...
No Matches
Muon::TgcClusterObj3D Class Reference

#include <TgcHitClustering.h>

Collaboration diagram for Muon::TgcClusterObj3D:

Public Types

enum class  Edge : uint8_t { LowEtaLowPhi = 0 , LowEtaHighPhi , HighEtaLowPhi , HighEtaHighPhi }
 Representation of the four edge points. More...
using HitList = std::vector< const TgcPrepData* >

Public Member Functions

 TgcClusterObj3D (const HitList &etaC, const HitList &phiC)
Amg::Vector3DgetEdge (const Edge e)
const Amg::Vector3DgetEdge (const Edge e) const

Public Attributes

HitList etaCluster {}
HitList phiCluster {}

Private Attributes

std::array< Amg::Vector3D, 4 > m_edgePoints {make_array<Amg::Vector3D, 4>(Amg::Vector3D::Zero())}

Detailed Description

Definition at line 19 of file TgcHitClustering.h.

Member Typedef Documentation

◆ HitList

using Muon::TgcClusterObj3D::HitList = std::vector< const TgcPrepData* >

Definition at line 22 of file TgcHitClustering.h.

Member Enumeration Documentation

◆ Edge

enum class Muon::TgcClusterObj3D::Edge : uint8_t
strong

Representation of the four edge points.

Enumerator
LowEtaLowPhi 
LowEtaHighPhi 
HighEtaLowPhi 
HighEtaHighPhi 

Definition at line 30 of file TgcHitClustering.h.

30 : uint8_t{
31 LowEtaLowPhi = 0,
32 LowEtaHighPhi,
33 HighEtaLowPhi,
34 HighEtaHighPhi
35 };

Constructor & Destructor Documentation

◆ TgcClusterObj3D()

Muon::TgcClusterObj3D::TgcClusterObj3D ( const HitList & etaC,
const HitList & phiC )
inline

Definition at line 24 of file TgcHitClustering.h.

24 :
25 etaCluster(etaC), phiCluster(phiC) {}

Member Function Documentation

◆ getEdge() [1/2]

Amg::Vector3D & Muon::TgcClusterObj3D::getEdge ( const Edge e)
inline

Definition at line 36 of file TgcHitClustering.h.

36 {
37 return m_edgePoints[static_cast<unsigned>(e)];
38 }
std::array< Amg::Vector3D, 4 > m_edgePoints

◆ getEdge() [2/2]

const Amg::Vector3D & Muon::TgcClusterObj3D::getEdge ( const Edge e) const
inline

Definition at line 39 of file TgcHitClustering.h.

39 {
40 return m_edgePoints[static_cast<unsigned>(e)];
41 }

Member Data Documentation

◆ etaCluster

HitList Muon::TgcClusterObj3D::etaCluster {}

Definition at line 26 of file TgcHitClustering.h.

26{};

◆ m_edgePoints

std::array<Amg::Vector3D, 4> Muon::TgcClusterObj3D::m_edgePoints {make_array<Amg::Vector3D, 4>(Amg::Vector3D::Zero())}
private

Definition at line 44 of file TgcHitClustering.h.

44{make_array<Amg::Vector3D, 4>(Amg::Vector3D::Zero())};
constexpr std::array< T, N > make_array(const T &def_val)
Helper function to initialize in-place arrays with non-zero values.
Definition ArrayHelper.h:10

◆ phiCluster

HitList Muon::TgcClusterObj3D::phiCluster {}

Definition at line 27 of file TgcHitClustering.h.

27{};

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