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

#include <ShowerEnergySpot.h>

Collaboration diagram for ShowerLib::ShowerEnergySpot:

Public Member Functions

 ShowerEnergySpot ()
 
 ShowerEnergySpot (const G4ThreeVector &P, G4double E, G4double t)
 
 ~ShowerEnergySpot ()
 
void SetEnergy (const G4double &E)
 
G4double GetEnergy () const
 
void SetPosition (const G4ThreeVector &P)
 
G4ThreeVector GetPosition () const
 
void SetTime (const G4double t)
 
G4double GetTime () const
 

Private Attributes

float m_point [3]
 
float m_energy
 
float m_time
 

Detailed Description

Definition at line 12 of file ShowerEnergySpot.h.

Constructor & Destructor Documentation

◆ ShowerEnergySpot() [1/2]

ShowerLib::ShowerEnergySpot::ShowerEnergySpot ( )
inline

Definition at line 18 of file ShowerEnergySpot.h.

18  : m_point{0}, m_energy{0},m_time{0}
19  {;}

◆ ShowerEnergySpot() [2/2]

ShowerLib::ShowerEnergySpot::ShowerEnergySpot ( const G4ThreeVector &  P,
G4double  E,
G4double  t 
)
inline

Definition at line 23 of file ShowerEnergySpot.h.

24  {
25  m_point[0] = P.getX();
26  m_point[1] = P.getY();
27  m_point[2] = P.getZ();
28  m_energy = E;
29  m_time = t;
30  }

◆ ~ShowerEnergySpot()

ShowerLib::ShowerEnergySpot::~ShowerEnergySpot ( )
inline

Definition at line 31 of file ShowerEnergySpot.h.

32  { ;}

Member Function Documentation

◆ GetEnergy()

G4double ShowerLib::ShowerEnergySpot::GetEnergy ( ) const
inline

Definition at line 38 of file ShowerEnergySpot.h.

39  { return m_energy; }

◆ GetPosition()

G4ThreeVector ShowerLib::ShowerEnergySpot::GetPosition ( ) const
inline

Definition at line 48 of file ShowerEnergySpot.h.

49  { return G4ThreeVector(m_point[0], m_point[1], m_point[2]); }

◆ GetTime()

G4double ShowerLib::ShowerEnergySpot::GetTime ( ) const
inline

Definition at line 54 of file ShowerEnergySpot.h.

55  { return m_time; }

◆ SetEnergy()

void ShowerLib::ShowerEnergySpot::SetEnergy ( const G4double &  E)
inline

Definition at line 35 of file ShowerEnergySpot.h.

36  { m_energy = E; }

◆ SetPosition()

void ShowerLib::ShowerEnergySpot::SetPosition ( const G4ThreeVector &  P)
inline

Definition at line 41 of file ShowerEnergySpot.h.

42  {
43  m_point[0] = P.getX();
44  m_point[1] = P.getY();
45  m_point[2] = P.getZ();
46  }

◆ SetTime()

void ShowerLib::ShowerEnergySpot::SetTime ( const G4double  t)
inline

Definition at line 51 of file ShowerEnergySpot.h.

52  { m_time = t; }

Member Data Documentation

◆ m_energy

float ShowerLib::ShowerEnergySpot::m_energy
private

Definition at line 60 of file ShowerEnergySpot.h.

◆ m_point

float ShowerLib::ShowerEnergySpot::m_point[3]
private

Definition at line 59 of file ShowerEnergySpot.h.

◆ m_time

float ShowerLib::ShowerEnergySpot::m_time
private

Definition at line 61 of file ShowerEnergySpot.h.


The documentation for this class was generated from the following file:
ShowerLib::ShowerEnergySpot::m_point
float m_point[3]
Definition: ShowerEnergySpot.h:59
DMTest::P
P_v1 P
Definition: P.h:23
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
ShowerLib::ShowerEnergySpot::m_time
float m_time
Definition: ShowerEnergySpot.h:61
VP1PartSpect::E
@ E
Definition: VP1PartSpectFlags.h:21
ShowerLib::ShowerEnergySpot::m_energy
float m_energy
Definition: ShowerEnergySpot.h:60