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

#include <LArG4H6WarmTCHit.h>

Collaboration diagram for LArG4H6WarmTCHit:

Public Member Functions

 LArG4H6WarmTCHit ()
 
 LArG4H6WarmTCHit (int ad, double en)
 
int operator== (const LArG4H6WarmTCHit &right)
 
void Draw ()
 
void Print ()
 
void SetEnergy (double ed)
 
void AddEnergy (double ed)
 
double GetEnergy ()
 
void SetAddr (int d)
 
int GetAddr ()
 

Private Attributes

int m_addr
 
double m_energy
 

Detailed Description

Definition at line 16 of file LArG4H6WarmTCHit.h.

Constructor & Destructor Documentation

◆ LArG4H6WarmTCHit() [1/2]

LArG4H6WarmTCHit::LArG4H6WarmTCHit ( )
inline

Definition at line 19 of file LArG4H6WarmTCHit.h.

20  : m_addr(0), m_energy(0)
21  {;};

◆ LArG4H6WarmTCHit() [2/2]

LArG4H6WarmTCHit::LArG4H6WarmTCHit ( int  ad,
double  en 
)
inline

Definition at line 22 of file LArG4H6WarmTCHit.h.

22 {m_addr = ad; m_energy = en; };

Member Function Documentation

◆ AddEnergy()

void LArG4H6WarmTCHit::AddEnergy ( double  ed)
inline

Definition at line 35 of file LArG4H6WarmTCHit.h.

35 { m_energy += ed; }

◆ Draw()

void LArG4H6WarmTCHit::Draw ( )
inline

Definition at line 29 of file LArG4H6WarmTCHit.h.

29 {;};

◆ GetAddr()

int LArG4H6WarmTCHit::GetAddr ( )
inline

Definition at line 40 of file LArG4H6WarmTCHit.h.

40 { return m_addr; }

◆ GetEnergy()

double LArG4H6WarmTCHit::GetEnergy ( )
inline

Definition at line 36 of file LArG4H6WarmTCHit.h.

36 { return m_energy; }

◆ operator==()

int LArG4H6WarmTCHit::operator== ( const LArG4H6WarmTCHit right)

Definition at line 9 of file LArG4H6WarmTCHit.cxx.

10 {
11  if(m_addr != right.m_addr) return 0;
12  if(m_energy != right.m_energy) return 0;
13  return 1;
14 }

◆ Print()

void LArG4H6WarmTCHit::Print ( )
inline

Definition at line 30 of file LArG4H6WarmTCHit.h.

30 {;};

◆ SetAddr()

void LArG4H6WarmTCHit::SetAddr ( int  d)
inline

Definition at line 39 of file LArG4H6WarmTCHit.h.

39 { m_addr = d; }

◆ SetEnergy()

void LArG4H6WarmTCHit::SetEnergy ( double  ed)
inline

Definition at line 34 of file LArG4H6WarmTCHit.h.

34 { m_energy = ed; }

Member Data Documentation

◆ m_addr

int LArG4H6WarmTCHit::m_addr
private

Definition at line 43 of file LArG4H6WarmTCHit.h.

◆ m_energy

double LArG4H6WarmTCHit::m_energy
private

Definition at line 44 of file LArG4H6WarmTCHit.h.


The documentation for this class was generated from the following files:
hist_file_dump.d
d
Definition: hist_file_dump.py:137
LArG4H6WarmTCHit::m_addr
int m_addr
Definition: LArG4H6WarmTCHit.h:43
PlotCalibFromCool.en
en
Definition: PlotCalibFromCool.py:399
LArG4H6WarmTCHit::m_energy
double m_energy
Definition: LArG4H6WarmTCHit.h:44