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 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
 Set in cone flag. More...
 
CaloSampling::CaloSample m_caloSample
 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 ( )
inline

Default Constructor.

Definition at line 37 of file Trig3Momentum.h.

37  : m_e(Energy), m_eta(Eta), m_phi(Phi), m_inCone(false)
38  , m_caloSample(s), m_time(0.){};

◆ Trig3Momentum() [2/3]

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

Constructor with input parameters.

Definition at line 40 of file Trig3Momentum.h.

42  {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 44 of file Trig3Momentum.h.

44  {return m_eta; }
46  double phi() const {return m_phi; }

Member Function Documentation

◆ caloSample()

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

Calorimeter Sample.

Definition at line 59 of file Trig3Momentum.h.

62 {m_e = e; }

◆ e()

double Trig3Momentum::e ( ) const
inline

Get the energy.

Definition at line 51 of file Trig3Momentum.h.

53 {return m_cellDetails[0]; }

◆ eta()

double Trig3Momentum::eta ( ) const
inline

Get the eta position.

Definition at line 53 of file Trig3Momentum.h.

53 {return m_cellDetails[0]; }

◆ inCone()

bool Trig3Momentum::inCone ( ) const
inline

Return if element is inside or outside of jet cone.

Definition at line 57 of file Trig3Momentum.h.

57 {return m_time; }

◆ phi()

double Trig3Momentum::phi ( ) const
inline

Get the phi position.

Definition at line 55 of file Trig3Momentum.h.

55 {return m_cellDetails[1]; }

◆ provenance()

uint16_t Trig3Momentum::provenance ( ) const
inline

Get the provenance from cell details.

Definition at line 64 of file Trig3Momentum.h.

64 {m_eta = eta; }

◆ quality()

uint16_t Trig3Momentum::quality ( ) const
inline

Get the quality from cell details.

Definition at line 62 of file Trig3Momentum.h.

62 {m_e = e; }

◆ set_RoIword()

void Trig3Momentum::set_RoIword ( long  )
inline

Set RoI Word.

Definition at line 82 of file Trig3Momentum.h.

85 :

◆ setCaloSample()

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

Set Calorimeter Sample.

Definition at line 79 of file Trig3Momentum.h.

◆ setE()

void Trig3Momentum::setE ( double  e)
inline

Set energy.

Definition at line 71 of file Trig3Momentum.h.

73 {};

◆ setEta()

void Trig3Momentum::setEta ( double  eta)
inline

Set eta.

Definition at line 73 of file Trig3Momentum.h.

73 {};

◆ setInCone()

void Trig3Momentum::setInCone ( bool  inCone)
inline

Flag element inside or outside of jet cone.

Definition at line 77 of file Trig3Momentum.h.

77 {m_cellDetails[0] = quality;}

◆ setPhi()

void Trig3Momentum::setPhi ( double  phi)
inline

Set phi.

Definition at line 75 of file Trig3Momentum.h.

77 {m_cellDetails[0] = quality;}

◆ setProvenance()

void Trig3Momentum::setProvenance ( uint16_t  provenance)
inline

Set provenance in cell details.

Definition at line 88 of file Trig3Momentum.h.

◆ setQuality()

void Trig3Momentum::setQuality ( uint16_t  quality)
inline

Set quality in cell details.

Definition at line 86 of file Trig3Momentum.h.

◆ setTime()

void Trig3Momentum::setTime ( float  time)
inline

Set time.

Definition at line 90 of file Trig3Momentum.h.

◆ time()

float Trig3Momentum::time ( ) const
inline

Get the time.

Definition at line 66 of file Trig3Momentum.h.

66 {m_phi = phi; }

Member Data Documentation

◆ m_caloSample

CaloSampling::CaloSample Trig3Momentum::m_caloSample
private

Calorimeter Sample.

Definition at line 104 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 107 of file Trig3Momentum.h.

◆ m_e

double Trig3Momentum::m_e
private

Energy.

Definition at line 96 of file Trig3Momentum.h.

◆ m_eta

double Trig3Momentum::m_eta
private

Eta.

Definition at line 98 of file Trig3Momentum.h.

◆ m_inCone

bool Trig3Momentum::m_inCone
private

Set in cone flag.

Definition at line 102 of file Trig3Momentum.h.

◆ m_phi

double Trig3Momentum::m_phi
private

Phi.

Definition at line 100 of file Trig3Momentum.h.

◆ m_time

float Trig3Momentum::m_time
private

Cell time.

Definition at line 109 of file Trig3Momentum.h.


The documentation for this class was generated from the following file:
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
Energy
std::vector< double > Energy
Definition: CalibHitToCaloCell.h:23
Trig3Momentum::m_caloSample
CaloSampling::CaloSample m_caloSample
Calorimeter Sample.
Definition: Trig3Momentum.h:104
Phi
@ Phi
Definition: RPCdef.h:8
Trig3Momentum::m_inCone
bool m_inCone
Set in cone flag.
Definition: Trig3Momentum.h:102
Trig3Momentum::m_e
double m_e
Energy.
Definition: Trig3Momentum.h:96
Trig3Momentum::phi
double phi() const
Get the phi position.
Definition: Trig3Momentum.h:55
Trig3Momentum::m_phi
double m_phi
Phi.
Definition: Trig3Momentum.h:100
Trig3Momentum::m_cellDetails
uint16_t m_cellDetails[2]
Cell details (to contain [0] = quality and [1] = provenance)
Definition: Trig3Momentum.h:107
Trig3Momentum::eta
double eta() const
Get the eta position.
Definition: Trig3Momentum.h:53
Trig3Momentum::m_eta
double m_eta
Eta.
Definition: Trig3Momentum.h:98
Trig3Momentum::quality
uint16_t quality() const
Get the quality from cell details.
Definition: Trig3Momentum.h:62
Trig3Momentum::provenance
uint16_t provenance() const
Get the provenance from cell details.
Definition: Trig3Momentum.h:64
Trig3Momentum::m_time
float m_time
Cell time.
Definition: Trig3Momentum.h:109
Trig3Momentum::e
double e() const
Get the energy.
Definition: Trig3Momentum.h:51
Eta
@ Eta
Definition: RPCdef.h:8