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

3 Momentum Class for Jet/MET Calculations More...

#include <Trig3Momentum.h>

Collaboration diagram for Trig3Momentum:

Public Member Functions

 Trig3Momentum ()=default
 Default Constructor. More...
 
 Trig3Momentum (double Energy, double Eta, double Phi)
 Constructor with input parameters. More...
 
 Trig3Momentum (double Energy, double Eta, double Phi, CaloSampling::CaloSample s)
 Constructor with input parameters. More...
 
double e () const
 Get the energy. More...
 
double eta () const
 Get the eta position. More...
 
double phi () const
 Get the phi position. More...
 
bool inCone () const
 Return if element is inside or outside of jet cone. More...
 
CaloSampling::CaloSample caloSample () const
 Calorimeter Sample. More...
 
uint16_t quality () const
 Get the quality from cell details. More...
 
uint16_t provenance () const
 Get the provenance from cell details. More...
 
float time () const
 Get the time. More...
 
void setE (double e)
 Set energy. More...
 
void setEta (double eta)
 Set eta. More...
 
void setPhi (double phi)
 Set phi. More...
 
void setInCone (bool inCone)
 Flag element inside or outside of jet cone. More...
 
void setCaloSample (CaloSampling::CaloSample s)
 Set Calorimeter Sample. More...
 
void set_RoIword (long)
 Set RoI Word. More...
 
void setQuality (uint16_t quality)
 Set quality in cell details. More...
 
void setProvenance (uint16_t provenance)
 Set provenance in cell details. More...
 
void setTime (float time)
 Set time. More...
 

Private Attributes

double m_e {}
 Energy. More...
 
double m_eta {}
 Eta. More...
 
double m_phi {}
 Phi. More...
 
bool m_inCone {false}
 Set in cone flag. More...
 
CaloSampling::CaloSample m_caloSample {CaloSampling::Unknown}
 Calorimeter Sample. More...
 
uint16_t m_cellDetails [2] {}
 Cell details (to contain [0] = quality and [1] = provenance) More...
 
float m_time {}
 Cell time. More...
 

Detailed Description

3 Momentum Class for Jet/MET Calculations

Definition at line 24 of file Trig3Momentum.h.

Constructor & Destructor Documentation

◆ Trig3Momentum() [1/3]

Trig3Momentum::Trig3Momentum ( )
default

Default Constructor.

◆ Trig3Momentum() [2/3]

Trig3Momentum::Trig3Momentum ( double  Energy,
double  Eta,
double  Phi 
)
inline

Constructor with input parameters.

Definition at line 39 of file Trig3Momentum.h.

39  {return m_e; }

◆ Trig3Momentum() [3/3]

Trig3Momentum::Trig3Momentum ( double  Energy,
double  Eta,
double  Phi,
CaloSampling::CaloSample  s 
)
inline

Constructor with input parameters.

Definition at line 42 of file Trig3Momentum.h.

43  {return m_phi; }

Member Function Documentation

◆ caloSample()

CaloSampling::CaloSample Trig3Momentum::caloSample ( ) const
inline

Calorimeter Sample.

Definition at line 56 of file Trig3Momentum.h.

59 {m_e = e; }

◆ e()

double Trig3Momentum::e ( ) const
inline

Get the energy.

Definition at line 48 of file Trig3Momentum.h.

50 {return m_cellDetails[0]; }

◆ eta()

double Trig3Momentum::eta ( ) const
inline

Get the eta position.

Definition at line 50 of file Trig3Momentum.h.

50 {return m_cellDetails[0]; }

◆ inCone()

bool Trig3Momentum::inCone ( ) const
inline

Return if element is inside or outside of jet cone.

Definition at line 54 of file Trig3Momentum.h.

54 {return m_time; }

◆ phi()

double Trig3Momentum::phi ( ) const
inline

Get the phi position.

Definition at line 52 of file Trig3Momentum.h.

52 {return m_cellDetails[1]; }

◆ provenance()

uint16_t Trig3Momentum::provenance ( ) const
inline

Get the provenance from cell details.

Definition at line 61 of file Trig3Momentum.h.

61 {m_eta = eta; }

◆ quality()

uint16_t Trig3Momentum::quality ( ) const
inline

Get the quality from cell details.

Definition at line 59 of file Trig3Momentum.h.

59 {m_e = e; }

◆ set_RoIword()

void Trig3Momentum::set_RoIword ( long  )
inline

Set RoI Word.

Definition at line 79 of file Trig3Momentum.h.

82 :

◆ setCaloSample()

void Trig3Momentum::setCaloSample ( CaloSampling::CaloSample  s)
inline

Set Calorimeter Sample.

Definition at line 76 of file Trig3Momentum.h.

◆ setE()

void Trig3Momentum::setE ( double  e)
inline

Set energy.

Definition at line 68 of file Trig3Momentum.h.

70 {};

◆ setEta()

void Trig3Momentum::setEta ( double  eta)
inline

Set eta.

Definition at line 70 of file Trig3Momentum.h.

70 {};

◆ setInCone()

void Trig3Momentum::setInCone ( bool  inCone)
inline

Flag element inside or outside of jet cone.

Definition at line 74 of file Trig3Momentum.h.

74 {m_cellDetails[0] = quality;}

◆ setPhi()

void Trig3Momentum::setPhi ( double  phi)
inline

Set phi.

Definition at line 72 of file Trig3Momentum.h.

74 {m_cellDetails[0] = quality;}

◆ setProvenance()

void Trig3Momentum::setProvenance ( uint16_t  provenance)
inline

Set provenance in cell details.

Definition at line 85 of file Trig3Momentum.h.

86 {};

◆ setQuality()

void Trig3Momentum::setQuality ( uint16_t  quality)
inline

Set quality in cell details.

Definition at line 83 of file Trig3Momentum.h.

84 {};

◆ setTime()

void Trig3Momentum::setTime ( float  time)
inline

Set time.

Definition at line 87 of file Trig3Momentum.h.

88 {};

◆ time()

float Trig3Momentum::time ( ) const
inline

Get the time.

Definition at line 63 of file Trig3Momentum.h.

63 {m_phi = phi; }

Member Data Documentation

◆ m_caloSample

CaloSampling::CaloSample Trig3Momentum::m_caloSample {CaloSampling::Unknown}
private

Calorimeter Sample.

Definition at line 101 of file Trig3Momentum.h.

◆ m_cellDetails

uint16_t Trig3Momentum::m_cellDetails[2] {}
private

Cell details (to contain [0] = quality and [1] = provenance)

Definition at line 104 of file Trig3Momentum.h.

◆ m_e

double Trig3Momentum::m_e {}
private

Energy.

Definition at line 93 of file Trig3Momentum.h.

◆ m_eta

double Trig3Momentum::m_eta {}
private

Eta.

Definition at line 95 of file Trig3Momentum.h.

◆ m_inCone

bool Trig3Momentum::m_inCone {false}
private

Set in cone flag.

Definition at line 99 of file Trig3Momentum.h.

◆ m_phi

double Trig3Momentum::m_phi {}
private

Phi.

Definition at line 97 of file Trig3Momentum.h.

◆ m_time

float Trig3Momentum::m_time {}
private

Cell time.

Definition at line 106 of file Trig3Momentum.h.


The documentation for this class was generated from the following file:
Trig3Momentum::m_e
double m_e
Energy.
Definition: Trig3Momentum.h:93
Trig3Momentum::phi
double phi() const
Get the phi position.
Definition: Trig3Momentum.h:52
Trig3Momentum::m_phi
double m_phi
Phi.
Definition: Trig3Momentum.h:97
Trig3Momentum::m_cellDetails
uint16_t m_cellDetails[2]
Cell details (to contain [0] = quality and [1] = provenance)
Definition: Trig3Momentum.h:104
Trig3Momentum::eta
double eta() const
Get the eta position.
Definition: Trig3Momentum.h:50
Trig3Momentum::m_eta
double m_eta
Eta.
Definition: Trig3Momentum.h:95
Trig3Momentum::quality
uint16_t quality() const
Get the quality from cell details.
Definition: Trig3Momentum.h:59
Trig3Momentum::provenance
uint16_t provenance() const
Get the provenance from cell details.
Definition: Trig3Momentum.h:61
Trig3Momentum::m_time
float m_time
Cell time.
Definition: Trig3Momentum.h:106
Trig3Momentum::e
double e() const
Get the energy.
Definition: Trig3Momentum.h:48