ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
TileMuFeature Class Reference

#include <TileMuFeature.h>

Collaboration diagram for TileMuFeature:

Public Member Functions

 TileMuFeature ()
 
 TileMuFeature (float eta, float phi, const std::vector< float > &ener, float qual)
 
 TileMuFeature (float eta, float phi, std::vector< float > &&ener, float qual)
 
 TileMuFeature (const TileMuFeature *muon_feature)
 Destructor. More...
 
 TileMuFeature (const TileMuFeature &muon_feature)
 Copy reference constructor. More...
 
TileMuFeatureoperator= (const TileMuFeature &muon_feature)
 Assignement operator. More...
 
TileMuFeatureoperator= (TileMuFeature &&muon_feature)
 
float eta () const
 Accessor. More...
 
float phi () const
 
const std::vector< float > & enedep () const
 
float quality () const
 

Private Attributes

float m_eta
 
float m_phi
 
std::vector< float > m_energy_deposited
 
float m_quality_factor
 

Detailed Description

Definition at line 29 of file TileMuFeature.h.

Constructor & Destructor Documentation

◆ TileMuFeature() [1/5]

TileMuFeature::TileMuFeature ( )

Definition at line 34 of file TileMuFeature.cxx.

35 {
36  m_eta = -999.9;
37  m_phi = -999.9;
38  m_energy_deposited.clear();
39  m_quality_factor = -999.9;
40 }

◆ TileMuFeature() [2/5]

TileMuFeature::TileMuFeature ( float  eta,
float  phi,
const std::vector< float > &  ener,
float  qual 
)

Definition at line 42 of file TileMuFeature.cxx.

43  : m_eta(eta)
44  , m_phi(phi)
45  , m_energy_deposited(ener)
47 {
48 }

◆ TileMuFeature() [3/5]

TileMuFeature::TileMuFeature ( float  eta,
float  phi,
std::vector< float > &&  ener,
float  qual 
)

Definition at line 50 of file TileMuFeature.cxx.

51  : m_eta(eta)
52  , m_phi(phi)
53  , m_energy_deposited(std::move(ener))
55 {
56 }

◆ TileMuFeature() [4/5]

TileMuFeature::TileMuFeature ( const TileMuFeature muon_feature)

Destructor.

Copy pointer constructor

Definition at line 58 of file TileMuFeature.cxx.

58  {
59  m_eta = muon_feature->eta();
60  m_phi = muon_feature->phi();
61  m_energy_deposited = muon_feature->enedep();
62  m_quality_factor = muon_feature->quality();
63 }

◆ TileMuFeature() [5/5]

TileMuFeature::TileMuFeature ( const TileMuFeature muon_feature)

Copy reference constructor.

Definition at line 65 of file TileMuFeature.cxx.

65  {
66  m_eta = muon_feature.eta();
67  m_phi = muon_feature.phi();
68  m_energy_deposited = muon_feature.enedep();
69  m_quality_factor = muon_feature.quality();
70 }

Member Function Documentation

◆ enedep()

const std::vector<float>& TileMuFeature::enedep ( ) const
inline

Definition at line 57 of file TileMuFeature.h.

57 { return m_energy_deposited; }

◆ eta()

float TileMuFeature::eta ( ) const
inline

Accessor.

Definition at line 55 of file TileMuFeature.h.

55 { return m_eta; }

◆ operator=() [1/2]

TileMuFeature & TileMuFeature::operator= ( const TileMuFeature muon_feature)

Assignement operator.

Definition at line 73 of file TileMuFeature.cxx.

74 {
75  if (this != &muon_feature) {
76  m_eta = muon_feature.eta();
77  m_phi = muon_feature.phi();
78  m_energy_deposited = muon_feature.enedep();
79  m_quality_factor = muon_feature.quality();
80  }
81 
82  return *this;
83 }

◆ operator=() [2/2]

TileMuFeature & TileMuFeature::operator= ( TileMuFeature &&  muon_feature)

Definition at line 86 of file TileMuFeature.cxx.

87 {
88  if (this != &muon_feature) {
89  m_eta = muon_feature.eta();
90  m_phi = muon_feature.phi();
91  m_energy_deposited = std::move(muon_feature.m_energy_deposited);
92  m_quality_factor = muon_feature.quality();
93  }
94 
95  return *this;
96 }

◆ phi()

float TileMuFeature::phi ( ) const
inline

Definition at line 56 of file TileMuFeature.h.

56 { return m_phi; }

◆ quality()

float TileMuFeature::quality ( ) const
inline

Definition at line 58 of file TileMuFeature.h.

58 { return m_quality_factor; }

Member Data Documentation

◆ m_energy_deposited

std::vector<float> TileMuFeature::m_energy_deposited
private

Definition at line 80 of file TileMuFeature.h.

◆ m_eta

float TileMuFeature::m_eta
private

Definition at line 78 of file TileMuFeature.h.

◆ m_phi

float TileMuFeature::m_phi
private

Definition at line 79 of file TileMuFeature.h.

◆ m_quality_factor

float TileMuFeature::m_quality_factor
private

Definition at line 81 of file TileMuFeature.h.


The documentation for this class was generated from the following files:
TileMuFeature::phi
float phi() const
Definition: TileMuFeature.h:56
TileMuFeature::m_energy_deposited
std::vector< float > m_energy_deposited
Definition: TileMuFeature.h:80
TileMuFeature::enedep
const std::vector< float > & enedep() const
Definition: TileMuFeature.h:57
TileMuFeature::m_quality_factor
float m_quality_factor
Definition: TileMuFeature.h:81
TileMuFeature::quality
float quality() const
Definition: TileMuFeature.h:58
TileMuFeature::m_phi
float m_phi
Definition: TileMuFeature.h:79
TileMuFeature::eta
float eta() const
Accessor.
Definition: TileMuFeature.h:55
beamspotman.qual
qual
Definition: beamspotman.py:481
TileMuFeature::m_eta
float m_eta
Definition: TileMuFeature.h:78