ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
LVL1::TrigT1MuonRecRoiData Class Reference

#include <TrigT1MuonRecRoiData.h>

Collaboration diagram for LVL1::TrigT1MuonRecRoiData:

Public Member Functions

 TrigT1MuonRecRoiData ()
 
 TrigT1MuonRecRoiData (const double _eta, const double _phi)
 
 TrigT1MuonRecRoiData (const double _eta, const double _phi, const double _etaMin, const double _etaMax, const double _phiMin, const double _phiMax)
 
 ~TrigT1MuonRecRoiData ()
 
unsigned short side (void) const
 
unsigned short sector (void) const
 
unsigned short roi (void) const
 
double eta (void) const
 
double phi (void) const
 
double etaMin (void) const
 
double etaMax (void) const
 
double phiMin (void) const
 
double phiMax (void) const
 
void set_side (unsigned short _side)
 
void set_sector (unsigned short _sector)
 
void set_roi (unsigned short _roi)
 
void set_eta (double _eta)
 
void set_phi (double _phi)
 
void set_etaMin (double _etaMin)
 
void set_etaMax (double _etaMax)
 
void set_phiMin (double _phiMin)
 
void set_phiMax (double _phiMax)
 
void update (void)
 

Private Attributes

unsigned short m_side {0}
 
unsigned short m_sector {0}
 
unsigned short m_roi {0}
 
double m_eta {0}
 
double m_phi {0}
 
double m_etaMin {0}
 
double m_etaMax {0}
 
double m_phiMin {0}
 
double m_phiMax {0}
 

Detailed Description

Definition at line 10 of file TrigT1MuonRecRoiData.h.

Constructor & Destructor Documentation

◆ TrigT1MuonRecRoiData() [1/3]

LVL1::TrigT1MuonRecRoiData::TrigT1MuonRecRoiData ( )

Definition at line 15 of file TrigT1MuonRecRoiData.cxx.

16  {
17  }

◆ TrigT1MuonRecRoiData() [2/3]

LVL1::TrigT1MuonRecRoiData::TrigT1MuonRecRoiData ( const double  _eta,
const double  _phi 
)

Definition at line 10 of file TrigT1MuonRecRoiData.cxx.

10  :
11  m_eta(eta),
12  m_phi(phi)
13  {
14  }

◆ TrigT1MuonRecRoiData() [3/3]

LVL1::TrigT1MuonRecRoiData::TrigT1MuonRecRoiData ( const double  _eta,
const double  _phi,
const double  _etaMin,
const double  _etaMax,
const double  _phiMin,
const double  _phiMax 
)

Definition at line 18 of file TrigT1MuonRecRoiData.cxx.

20  :
21  m_eta(eta),
22  m_phi(phi),
27  {
28  }

◆ ~TrigT1MuonRecRoiData()

LVL1::TrigT1MuonRecRoiData::~TrigT1MuonRecRoiData ( )
inline

Definition at line 17 of file TrigT1MuonRecRoiData.h.

17 {}

Member Function Documentation

◆ eta()

double LVL1::TrigT1MuonRecRoiData::eta ( void  ) const
inline

Definition at line 22 of file TrigT1MuonRecRoiData.h.

22 {return m_eta;}

◆ etaMax()

double LVL1::TrigT1MuonRecRoiData::etaMax ( void  ) const
inline

Definition at line 25 of file TrigT1MuonRecRoiData.h.

25 {return m_etaMax;}

◆ etaMin()

double LVL1::TrigT1MuonRecRoiData::etaMin ( void  ) const
inline

Definition at line 24 of file TrigT1MuonRecRoiData.h.

24 {return m_etaMin;}

◆ phi()

double LVL1::TrigT1MuonRecRoiData::phi ( void  ) const
inline

Definition at line 23 of file TrigT1MuonRecRoiData.h.

23 {return m_phi;}

◆ phiMax()

double LVL1::TrigT1MuonRecRoiData::phiMax ( void  ) const
inline

Definition at line 27 of file TrigT1MuonRecRoiData.h.

27 {return m_phiMax;}

◆ phiMin()

double LVL1::TrigT1MuonRecRoiData::phiMin ( void  ) const
inline

Definition at line 26 of file TrigT1MuonRecRoiData.h.

26 {return m_phiMin;}

◆ roi()

unsigned short LVL1::TrigT1MuonRecRoiData::roi ( void  ) const
inline

Definition at line 21 of file TrigT1MuonRecRoiData.h.

21 {return m_roi;}

◆ sector()

unsigned short LVL1::TrigT1MuonRecRoiData::sector ( void  ) const
inline

Definition at line 20 of file TrigT1MuonRecRoiData.h.

20 {return m_sector;}

◆ set_eta()

void LVL1::TrigT1MuonRecRoiData::set_eta ( double  _eta)

Definition at line 32 of file TrigT1MuonRecRoiData.cxx.

32 {m_eta=eta;}

◆ set_etaMax()

void LVL1::TrigT1MuonRecRoiData::set_etaMax ( double  _etaMax)

Definition at line 35 of file TrigT1MuonRecRoiData.cxx.

◆ set_etaMin()

void LVL1::TrigT1MuonRecRoiData::set_etaMin ( double  _etaMin)

Definition at line 34 of file TrigT1MuonRecRoiData.cxx.

◆ set_phi()

void LVL1::TrigT1MuonRecRoiData::set_phi ( double  _phi)

Definition at line 33 of file TrigT1MuonRecRoiData.cxx.

33 {m_phi=phi;}

◆ set_phiMax()

void LVL1::TrigT1MuonRecRoiData::set_phiMax ( double  _phiMax)

Definition at line 37 of file TrigT1MuonRecRoiData.cxx.

◆ set_phiMin()

void LVL1::TrigT1MuonRecRoiData::set_phiMin ( double  _phiMin)

Definition at line 36 of file TrigT1MuonRecRoiData.cxx.

◆ set_roi()

void LVL1::TrigT1MuonRecRoiData::set_roi ( unsigned short  _roi)

Definition at line 31 of file TrigT1MuonRecRoiData.cxx.

31 {m_roi=roi;}

◆ set_sector()

void LVL1::TrigT1MuonRecRoiData::set_sector ( unsigned short  _sector)

Definition at line 30 of file TrigT1MuonRecRoiData.cxx.

◆ set_side()

void LVL1::TrigT1MuonRecRoiData::set_side ( unsigned short  _side)

Definition at line 29 of file TrigT1MuonRecRoiData.cxx.

29 {m_side = side;}

◆ side()

unsigned short LVL1::TrigT1MuonRecRoiData::side ( void  ) const
inline

Definition at line 19 of file TrigT1MuonRecRoiData.h.

19 {return m_side;}

◆ update()

void LVL1::TrigT1MuonRecRoiData::update ( void  )

Definition at line 38 of file TrigT1MuonRecRoiData.cxx.

38  {
39  if (m_etaMin>m_etaMax) {
40  double tmp = m_etaMax;
42  m_etaMin = tmp;
43  }
44  if(m_phi < -M_PI) {
45  m_phi += 2*M_PI;
46  }else if (m_phi > M_PI) {
47  m_phi -= 2*M_PI;
48  }
50  double tmp = m_phiMax;
52  m_phiMin = tmp;
53  }
54  }

Member Data Documentation

◆ m_eta

double LVL1::TrigT1MuonRecRoiData::m_eta {0}
private

Definition at line 45 of file TrigT1MuonRecRoiData.h.

◆ m_etaMax

double LVL1::TrigT1MuonRecRoiData::m_etaMax {0}
private

Definition at line 48 of file TrigT1MuonRecRoiData.h.

◆ m_etaMin

double LVL1::TrigT1MuonRecRoiData::m_etaMin {0}
private

Definition at line 47 of file TrigT1MuonRecRoiData.h.

◆ m_phi

double LVL1::TrigT1MuonRecRoiData::m_phi {0}
private

Definition at line 46 of file TrigT1MuonRecRoiData.h.

◆ m_phiMax

double LVL1::TrigT1MuonRecRoiData::m_phiMax {0}
private

Definition at line 50 of file TrigT1MuonRecRoiData.h.

◆ m_phiMin

double LVL1::TrigT1MuonRecRoiData::m_phiMin {0}
private

Definition at line 49 of file TrigT1MuonRecRoiData.h.

◆ m_roi

unsigned short LVL1::TrigT1MuonRecRoiData::m_roi {0}
private

Definition at line 44 of file TrigT1MuonRecRoiData.h.

◆ m_sector

unsigned short LVL1::TrigT1MuonRecRoiData::m_sector {0}
private

Definition at line 43 of file TrigT1MuonRecRoiData.h.

◆ m_side

unsigned short LVL1::TrigT1MuonRecRoiData::m_side {0}
private

Definition at line 42 of file TrigT1MuonRecRoiData.h.


The documentation for this class was generated from the following files:
LVL1::TrigT1MuonRecRoiData::m_roi
unsigned short m_roi
Definition: TrigT1MuonRecRoiData.h:44
LVL1::TrigT1MuonRecRoiData::roi
unsigned short roi(void) const
Definition: TrigT1MuonRecRoiData.h:21
M_PI
#define M_PI
Definition: ActiveFraction.h:11
LVL1::TrigT1MuonRecRoiData::m_etaMax
double m_etaMax
Definition: TrigT1MuonRecRoiData.h:48
LVL1::TrigT1MuonRecRoiData::eta
double eta(void) const
Definition: TrigT1MuonRecRoiData.h:22
LVL1::TrigT1MuonRecRoiData::m_etaMin
double m_etaMin
Definition: TrigT1MuonRecRoiData.h:47
LVL1::TrigT1MuonRecRoiData::m_side
unsigned short m_side
Definition: TrigT1MuonRecRoiData.h:42
LVL1::TrigT1MuonRecRoiData::etaMin
double etaMin(void) const
Definition: TrigT1MuonRecRoiData.h:24
LVL1::TrigT1MuonRecRoiData::sector
unsigned short sector(void) const
Definition: TrigT1MuonRecRoiData.h:20
LVL1::TrigT1MuonRecRoiData::side
unsigned short side(void) const
Definition: TrigT1MuonRecRoiData.h:19
LVL1::TrigT1MuonRecRoiData::phiMax
double phiMax(void) const
Definition: TrigT1MuonRecRoiData.h:27
LVL1::TrigT1MuonRecRoiData::phi
double phi(void) const
Definition: TrigT1MuonRecRoiData.h:23
LVL1::TrigT1MuonRecRoiData::m_phiMin
double m_phiMin
Definition: TrigT1MuonRecRoiData.h:49
DeMoUpdate.tmp
string tmp
Definition: DeMoUpdate.py:1167
LVL1::TrigT1MuonRecRoiData::phiMin
double phiMin(void) const
Definition: TrigT1MuonRecRoiData.h:26
LVL1::TrigT1MuonRecRoiData::m_phiMax
double m_phiMax
Definition: TrigT1MuonRecRoiData.h:50
LVL1::TrigT1MuonRecRoiData::m_sector
unsigned short m_sector
Definition: TrigT1MuonRecRoiData.h:43
LVL1::TrigT1MuonRecRoiData::m_eta
double m_eta
Definition: TrigT1MuonRecRoiData.h:45
LVL1::TrigT1MuonRecRoiData::etaMax
double etaMax(void) const
Definition: TrigT1MuonRecRoiData.h:25
LVL1::TrigT1MuonRecRoiData::m_phi
double m_phi
Definition: TrigT1MuonRecRoiData.h:46