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

#include <LArG4H6LeakHit.h>

Collaboration diagram for LArG4H6LeakHit:

Public Member Functions

 LArG4H6LeakHit ()=default
 
 LArG4H6LeakHit (int d)
 
 LArG4H6LeakHit (int dir, int pcode, float ekin, float etot)
 
 LArG4H6LeakHit (const LArG4H6LeakHit &right)
 
LArG4H6LeakHitoperator= (const LArG4H6LeakHit &right)
 
int operator== (const LArG4H6LeakHit &right)
 
void SetEkin (double ed)
 
void AddEkin (double ed)
 
double GetEkin () const
 
void SetEtot (double ed)
 
void AddEtot (double ed)
 
double GetEtot () const
 
void SetCode (int cod)
 
int GetCode () const
 
void SetPos (CLHEP::Hep3Vector p)
 
CLHEP::Hep3Vector GetPos () const
 
void SetDir (int d)
 
int GetDir () const
 

Private Attributes

double m_ekin {0}
 
double m_etot {0}
 
int m_pcode {0}
 
CLHEP::Hep3Vector m_pos
 
int m_dir {0}
 

Detailed Description

Definition at line 20 of file LArG4H6LeakHit.h.

Constructor & Destructor Documentation

◆ LArG4H6LeakHit() [1/4]

LArG4H6LeakHit::LArG4H6LeakHit ( )
default

◆ LArG4H6LeakHit() [2/4]

LArG4H6LeakHit::LArG4H6LeakHit ( int  d)
inline

Definition at line 24 of file LArG4H6LeakHit.h.

24 {m_dir = d;};

◆ LArG4H6LeakHit() [3/4]

LArG4H6LeakHit::LArG4H6LeakHit ( int  dir,
int  pcode,
float  ekin,
float  etot 
)

Definition at line 8 of file LArG4H6LeakHit.cxx.

9  : m_ekin(ek),
10  m_etot(et),
11  m_pcode (cod),
12  m_dir(d)
13 {
14 }

◆ LArG4H6LeakHit() [4/4]

LArG4H6LeakHit::LArG4H6LeakHit ( const LArG4H6LeakHit right)

Definition at line 16 of file LArG4H6LeakHit.cxx.

17  : m_ekin (right.m_ekin),
18  m_etot (right.m_etot),
19  m_pcode (right.m_pcode),
20  m_dir (right.m_dir)
21 {
22 }

Member Function Documentation

◆ AddEkin()

void LArG4H6LeakHit::AddEkin ( double  ed)
inline

Definition at line 34 of file LArG4H6LeakHit.h.

34 { m_ekin += ed; }

◆ AddEtot()

void LArG4H6LeakHit::AddEtot ( double  ed)
inline

Definition at line 37 of file LArG4H6LeakHit.h.

37 { m_etot += ed; }

◆ GetCode()

int LArG4H6LeakHit::GetCode ( ) const
inline

Definition at line 42 of file LArG4H6LeakHit.h.

42 { return m_pcode; }

◆ GetDir()

int LArG4H6LeakHit::GetDir ( ) const
inline

Definition at line 50 of file LArG4H6LeakHit.h.

50 { return m_dir; }

◆ GetEkin()

double LArG4H6LeakHit::GetEkin ( ) const
inline

Definition at line 35 of file LArG4H6LeakHit.h.

35 { return m_ekin; }

◆ GetEtot()

double LArG4H6LeakHit::GetEtot ( ) const
inline

Definition at line 38 of file LArG4H6LeakHit.h.

38 { return m_etot; }

◆ GetPos()

CLHEP::Hep3Vector LArG4H6LeakHit::GetPos ( ) const
inline

Definition at line 46 of file LArG4H6LeakHit.h.

46 { return m_pos; }

◆ operator=()

LArG4H6LeakHit & LArG4H6LeakHit::operator= ( const LArG4H6LeakHit right)

Definition at line 24 of file LArG4H6LeakHit.cxx.

25 {
26  if (this != &right) {
27  m_dir = right.m_dir;
28  m_pcode = right.m_pcode;
29  m_ekin = right.m_ekin;
30  m_etot = right.m_etot;
31  }
32  return *this;
33 }

◆ operator==()

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

Definition at line 35 of file LArG4H6LeakHit.cxx.

36 {
37  if(m_dir != right.m_dir) return 0;
38  if(m_pcode != right.m_pcode) return 0;
39  if(m_ekin != right.m_ekin) return 0;
40  if(m_etot != right.m_etot) return 0;
41  return 1;
42 }

◆ SetCode()

void LArG4H6LeakHit::SetCode ( int  cod)
inline

Definition at line 41 of file LArG4H6LeakHit.h.

41 { m_pcode = cod; }

◆ SetDir()

void LArG4H6LeakHit::SetDir ( int  d)
inline

Definition at line 49 of file LArG4H6LeakHit.h.

49 { m_dir = d; }

◆ SetEkin()

void LArG4H6LeakHit::SetEkin ( double  ed)
inline

Definition at line 33 of file LArG4H6LeakHit.h.

33 { m_ekin = ed; }

◆ SetEtot()

void LArG4H6LeakHit::SetEtot ( double  ed)
inline

Definition at line 36 of file LArG4H6LeakHit.h.

36 { m_etot = ed; }

◆ SetPos()

void LArG4H6LeakHit::SetPos ( CLHEP::Hep3Vector  p)
inline

Definition at line 45 of file LArG4H6LeakHit.h.

45 { m_pos = p; }

Member Data Documentation

◆ m_dir

int LArG4H6LeakHit::m_dir {0}
private

Definition at line 60 of file LArG4H6LeakHit.h.

◆ m_ekin

double LArG4H6LeakHit::m_ekin {0}
private

Definition at line 53 of file LArG4H6LeakHit.h.

◆ m_etot

double LArG4H6LeakHit::m_etot {0}
private

Definition at line 54 of file LArG4H6LeakHit.h.

◆ m_pcode

int LArG4H6LeakHit::m_pcode {0}
private

Definition at line 55 of file LArG4H6LeakHit.h.

◆ m_pos

CLHEP::Hep3Vector LArG4H6LeakHit::m_pos
private

Definition at line 59 of file LArG4H6LeakHit.h.


The documentation for this class was generated from the following files:
LArG4H6LeakHit::m_dir
int m_dir
Definition: LArG4H6LeakHit.h:60
et
Extra patterns decribing particle interation process.
hist_file_dump.d
d
Definition: hist_file_dump.py:137
LArG4H6LeakHit::m_pcode
int m_pcode
Definition: LArG4H6LeakHit.h:55
LArG4H6LeakHit::m_pos
CLHEP::Hep3Vector m_pos
Definition: LArG4H6LeakHit.h:59
LArG4H6LeakHit::m_ekin
double m_ekin
Definition: LArG4H6LeakHit.h:53
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
LArG4H6LeakHit::m_etot
double m_etot
Definition: LArG4H6LeakHit.h:54