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

MET trigger slice components (auxiliary information for TrigMissingET) More...

#include <TrigMissingEtComponent.h>

Collaboration diagram for TrigMissingEtComponent:

Public Member Functions

 TrigMissingEtComponent ()
 constructor More...
 
 ~TrigMissingEtComponent ()
 destructor More...
 
void reset ()
 clean values and calibration constants More...
 
std::string getFormattedHeader ()
 use this to print the header of the table printed by the following method More...
 
std::string getFormattedValues ()
 print the (1-line) table of all attributes More...
 
const std::string & name () const
 get component name More...
 
short status () const
 get status flag More...
 
float ex () const
 get Ex More...
 
float ey () const
 get Ey More...
 
float ez () const
 get Ez More...
 
float sumEt () const
 get sum of |Et| More...
 
float sumE () const
 get sum of |E| More...
 
float calib0 () const
 get constant term, for calibration More...
 
float calib1 () const
 get scale, for calibration More...
 
short sumOfSigns () const
 get sum of energy signs, for calibration More...
 
unsigned short usedChannels () const
 get used channels More...
 
void setName (const char *s)
 set component name More...
 
void setStatus (short v)
 set status flag More...
 
void setEx (float v)
 set Ex More...
 
void setEy (float v)
 set Ey More...
 
void setEz (float v)
 set Ez More...
 
void setSumEt (float v)
 set sum of |Et| More...
 
void setSumE (float v)
 set sum of |E| More...
 
void setCalib0 (float v)
 set constant term, for calibration More...
 
void setCalib1 (float v)
 set scale, for calibration More...
 
void setSumOfSigns (short v)
 set sum of energy signs, for calibration More...
 
void setUsedChannels (unsigned short v)
 set number of used channels More...
 

Private Attributes

std::string m_name
 name More...
 
short m_status
 status flag More...
 
float m_ex
 Ey. More...
 
float m_ey
 Ey. More...
 
float m_ez
 Ez. More...
 
float m_sumEt
 sum of |Et| More...
 
float m_sumE
 sum of |E| More...
 
float m_calib0
 constant term, for calibration (default 0) More...
 
float m_calib1
 scale, for calibration (default 1) More...
 
short m_sumOfSigns
 calibration: sum of energy signs (-1, +1) More...
 
unsigned short m_usedChannels
 number of used channels More...
 

Detailed Description

MET trigger slice components (auxiliary information for TrigMissingET)

Definition at line 27 of file TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h.

Constructor & Destructor Documentation

◆ TrigMissingEtComponent()

TrigMissingEtComponent::TrigMissingEtComponent ( )

constructor

Definition at line 21 of file TrigMissingEtComponent.cxx.

22  : m_name ("empty")
23 {
24  reset();
25 }

◆ ~TrigMissingEtComponent()

TrigMissingEtComponent::~TrigMissingEtComponent ( )

destructor

Definition at line 27 of file TrigMissingEtComponent.cxx.

27  {
28 }

Member Function Documentation

◆ calib0()

float TrigMissingEtComponent::calib0 ( ) const
inline

get constant term, for calibration

Definition at line 58 of file TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h.

58 {return m_calib0;}

◆ calib1()

float TrigMissingEtComponent::calib1 ( ) const
inline

get scale, for calibration

Definition at line 60 of file TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h.

60 {return m_calib1;}

◆ ex()

float TrigMissingEtComponent::ex ( ) const
inline

get Ex

Definition at line 48 of file TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h.

48 {return m_ex;}

◆ ey()

float TrigMissingEtComponent::ey ( ) const
inline

get Ey

Definition at line 50 of file TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h.

50 {return m_ey;}

◆ ez()

float TrigMissingEtComponent::ez ( ) const
inline

get Ez

Definition at line 52 of file TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h.

52 {return m_ez;}

◆ getFormattedHeader()

std::string TrigMissingEtComponent::getFormattedHeader ( )

use this to print the header of the table printed by the following method

Definition at line 39 of file TrigMissingEtComponent.cxx.

39  {
40  std::string s="_name__status_usedChannels__sumOfSigns__calib1_calib0/MeV";
41  s+="___ex/MeV_____ey/MeV_____ez/MeV___sumE/MeV__sumEt/MeV";
42  return s;
43 }

◆ getFormattedValues()

std::string TrigMissingEtComponent::getFormattedValues ( )

print the (1-line) table of all attributes

Definition at line 46 of file TrigMissingEtComponent.cxx.

46  {
47  char buff[256];
48  sprintf(buff,
49  "%s %7d %12d %11d %7.3f %7.2f %10.2f %10.2f %10.2f %10.2f %10.2f\n",
50  m_name.c_str(),
53  return std::string(buff);
54 }

◆ name()

const std::string& TrigMissingEtComponent::name ( ) const
inline

get component name

Definition at line 44 of file TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h.

44 {return m_name;}

◆ reset()

void TrigMissingEtComponent::reset ( )

clean values and calibration constants

Definition at line 31 of file TrigMissingEtComponent.cxx.

31  {
33  m_calib0 = 0;
34  m_calib1 = 1;
35  m_ex = m_ey = m_ez = m_sumEt = m_sumE = 0;
36 }

◆ setCalib0()

void TrigMissingEtComponent::setCalib0 ( float  v)
inline

set constant term, for calibration

Definition at line 82 of file TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h.

82 {m_calib0 = v;}

◆ setCalib1()

void TrigMissingEtComponent::setCalib1 ( float  v)
inline

set scale, for calibration

Definition at line 84 of file TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h.

84 {m_calib1 = v;}

◆ setEx()

void TrigMissingEtComponent::setEx ( float  v)
inline

set Ex

Definition at line 72 of file TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h.

72 {m_ex = v;}

◆ setEy()

void TrigMissingEtComponent::setEy ( float  v)
inline

set Ey

Definition at line 74 of file TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h.

74 {m_ey = v;}

◆ setEz()

void TrigMissingEtComponent::setEz ( float  v)
inline

set Ez

Definition at line 76 of file TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h.

76 {m_ez = v;}

◆ setName()

void TrigMissingEtComponent::setName ( const char *  s)
inline

set component name

Definition at line 68 of file TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h.

68 {m_name = s;};

◆ setStatus()

void TrigMissingEtComponent::setStatus ( short  v)
inline

set status flag

Definition at line 70 of file TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h.

70 {m_status = v;}

◆ setSumE()

void TrigMissingEtComponent::setSumE ( float  v)
inline

set sum of |E|

Definition at line 80 of file TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h.

80 {m_sumE = v;}

◆ setSumEt()

void TrigMissingEtComponent::setSumEt ( float  v)
inline

set sum of |Et|

Definition at line 78 of file TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h.

78 {m_sumEt = v;}

◆ setSumOfSigns()

void TrigMissingEtComponent::setSumOfSigns ( short  v)
inline

set sum of energy signs, for calibration

Definition at line 86 of file TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h.

86 {m_sumOfSigns = v;}

◆ setUsedChannels()

void TrigMissingEtComponent::setUsedChannels ( unsigned short  v)
inline

set number of used channels

Definition at line 88 of file TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h.

88 {m_usedChannels = v;}

◆ status()

short TrigMissingEtComponent::status ( ) const
inline

get status flag

Definition at line 46 of file TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h.

46 {return m_status;}

◆ sumE()

float TrigMissingEtComponent::sumE ( ) const
inline

get sum of |E|

Definition at line 56 of file TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h.

56 {return m_sumE;}

◆ sumEt()

float TrigMissingEtComponent::sumEt ( ) const
inline

get sum of |Et|

Definition at line 54 of file TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h.

54 {return m_sumEt;}

◆ sumOfSigns()

short TrigMissingEtComponent::sumOfSigns ( ) const
inline

get sum of energy signs, for calibration

Definition at line 62 of file TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h.

62 {return m_sumOfSigns;}

◆ usedChannels()

unsigned short TrigMissingEtComponent::usedChannels ( ) const
inline

get used channels

Definition at line 64 of file TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h.

64 {return m_usedChannels;}

Member Data Documentation

◆ m_calib0

float TrigMissingEtComponent::m_calib0
private

constant term, for calibration (default 0)

Definition at line 106 of file TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h.

◆ m_calib1

float TrigMissingEtComponent::m_calib1
private

scale, for calibration (default 1)

Definition at line 108 of file TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h.

◆ m_ex

float TrigMissingEtComponent::m_ex
private

◆ m_ey

float TrigMissingEtComponent::m_ey
private

◆ m_ez

float TrigMissingEtComponent::m_ez
private

◆ m_name

std::string TrigMissingEtComponent::m_name
private

◆ m_status

short TrigMissingEtComponent::m_status
private

status flag

Definition at line 94 of file TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h.

◆ m_sumE

float TrigMissingEtComponent::m_sumE
private

◆ m_sumEt

float TrigMissingEtComponent::m_sumEt
private

◆ m_sumOfSigns

short TrigMissingEtComponent::m_sumOfSigns
private

calibration: sum of energy signs (-1, +1)

Definition at line 110 of file TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h.

◆ m_usedChannels

unsigned short TrigMissingEtComponent::m_usedChannels
private

number of used channels

Definition at line 112 of file TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h.


The documentation for this class was generated from the following files:
get_hdefs.buff
buff
Definition: get_hdefs.py:61
TrigMissingEtComponent::m_calib1
float m_calib1
scale, for calibration (default 1)
Definition: TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h:108
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
TrigMissingEtComponent::m_ey
float m_ey
Ey.
Definition: TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h:98
TrigMissingEtComponent::m_status
short m_status
status flag
Definition: TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h:94
TrigMissingEtComponent::m_sumEt
float m_sumEt
sum of |Et|
Definition: TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h:102
TrigMissingEtComponent::m_ez
float m_ez
Ez.
Definition: TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h:100
TrigMissingEtComponent::reset
void reset()
clean values and calibration constants
Definition: TrigMissingEtComponent.cxx:31
TrigMissingEtComponent::m_sumE
float m_sumE
sum of |E|
Definition: TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h:104
TrigMissingEtComponent::m_name
std::string m_name
name
Definition: TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h:92
TrigMissingEtComponent::m_ex
float m_ex
Ey.
Definition: TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h:96
python.PyAthena.v
v
Definition: PyAthena.py:154
TrigMissingEtComponent::m_usedChannels
unsigned short m_usedChannels
number of used channels
Definition: TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h:112
TrigMissingEtComponent::m_calib0
float m_calib0
constant term, for calibration (default 0)
Definition: TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h:106
TrigMissingEtComponent::m_sumOfSigns
short m_sumOfSigns
calibration: sum of energy signs (-1, +1)
Definition: TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingEtComponent.h:110