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

#include <CscSimData.h>

Collaboration diagram for CscMcData:

Public Member Functions

 CscMcData ()
 
 CscMcData (float energy, float ypos, float zpos)
 
void setCharge (float chg)
 
float energy () const
 
float ypos () const
 
float zpos () const
 
float charge () const
 

Private Attributes

float m_energy
 
float m_ypos
 
float m_zpos
 
float m_charge
 

Detailed Description

Definition at line 23 of file CscSimData.h.

Constructor & Destructor Documentation

◆ CscMcData() [1/2]

CscMcData::CscMcData ( )
inline

Definition at line 25 of file CscSimData.h.

25 : m_energy(-9999.), m_ypos(-9999.), m_zpos(-9999.), m_charge(0.0) { }

◆ CscMcData() [2/2]

CscMcData::CscMcData ( float  energy,
float  ypos,
float  zpos 
)
inline

Definition at line 26 of file CscSimData.h.

27  : m_energy(energy), m_ypos(ypos), m_zpos(zpos), m_charge(0.0) { }

Member Function Documentation

◆ charge()

float CscMcData::charge ( ) const
inline

Definition at line 32 of file CscSimData.h.

32 { return m_charge; }

◆ energy()

float CscMcData::energy ( ) const
inline

Definition at line 29 of file CscSimData.h.

29 { return m_energy; }

◆ setCharge()

void CscMcData::setCharge ( float  chg)
inline

Definition at line 28 of file CscSimData.h.

28 { m_charge = chg; }

◆ ypos()

float CscMcData::ypos ( ) const
inline

Definition at line 30 of file CscSimData.h.

30 { return m_ypos; }

◆ zpos()

float CscMcData::zpos ( ) const
inline

Definition at line 31 of file CscSimData.h.

31 { return m_zpos; }

Member Data Documentation

◆ m_charge

float CscMcData::m_charge
private

Definition at line 37 of file CscSimData.h.

◆ m_energy

float CscMcData::m_energy
private

Definition at line 34 of file CscSimData.h.

◆ m_ypos

float CscMcData::m_ypos
private

Definition at line 35 of file CscSimData.h.

◆ m_zpos

float CscMcData::m_zpos
private

Definition at line 36 of file CscSimData.h.


The documentation for this class was generated from the following file:
CscMcData::m_charge
float m_charge
Definition: CscSimData.h:37
CscMcData::m_energy
float m_energy
Definition: CscSimData.h:34
CscMcData::m_zpos
float m_zpos
Definition: CscSimData.h:36
CscMcData::ypos
float ypos() const
Definition: CscSimData.h:30
CscMcData::m_ypos
float m_ypos
Definition: CscSimData.h:35
CscMcData::energy
float energy() const
Definition: CscSimData.h:29
CscMcData::zpos
float zpos() const
Definition: CscSimData.h:31