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

Simplified class designed to store information of a MBTS hit. More...

#include <MuonCalibCaloHit.h>

Collaboration diagram for MuonCalib::MuonCalibCaloHit:

Public Member Functions

 MuonCalibCaloHit ()=default
 default constructor More...
 
 MuonCalibCaloHit (int id, const Amg::Vector3D &pos, float time, float charge)
 
 ~MuonCalibCaloHit ()=default
 destructor More...
 
int identify () const
 return the identifier of the Hit More...
 
const Amg::Vector3Dposition () const
 return the (global) position of the MuonCalibHit More...
 
float time () const
 return the time More...
 
float charge () const
 return the charge More...
 

Private Attributes

int m_id {0}
 Identifier. More...
 
Amg::Vector3D m_pos {0., 0., 0.}
 Global position. More...
 
float m_time {0.}
 time More...
 
float m_charge {0.}
 charge More...
 

Detailed Description

Simplified class designed to store information of a MBTS hit.

It has :

Author
Niels van Eldik

Definition at line 20 of file MuonCalibCaloHit.h.

Constructor & Destructor Documentation

◆ MuonCalibCaloHit() [1/2]

MuonCalib::MuonCalibCaloHit::MuonCalibCaloHit ( )
default

default constructor

◆ MuonCalibCaloHit() [2/2]

MuonCalib::MuonCalibCaloHit::MuonCalibCaloHit ( int  id,
const Amg::Vector3D pos,
float  time,
float  charge 
)

Definition at line 9 of file MuonCalibCaloHit.cxx.

9  :
10  m_id{id}, m_pos{pos}, m_time{time}, m_charge{charge} {}

◆ ~MuonCalibCaloHit()

MuonCalib::MuonCalibCaloHit::~MuonCalibCaloHit ( )
default

destructor

Member Function Documentation

◆ charge()

float MuonCalib::MuonCalibCaloHit::charge ( ) const

return the charge

Definition at line 15 of file MuonCalibCaloHit.cxx.

15 { return m_charge; }

◆ identify()

int MuonCalib::MuonCalibCaloHit::identify ( ) const

return the identifier of the Hit

Definition at line 12 of file MuonCalibCaloHit.cxx.

12 { return m_id; }

◆ position()

const Amg::Vector3D & MuonCalib::MuonCalibCaloHit::position ( ) const

return the (global) position of the MuonCalibHit

Definition at line 13 of file MuonCalibCaloHit.cxx.

13 { return m_pos; }

◆ time()

float MuonCalib::MuonCalibCaloHit::time ( ) const

return the time

Definition at line 14 of file MuonCalibCaloHit.cxx.

14 { return m_time; }

Member Data Documentation

◆ m_charge

float MuonCalib::MuonCalibCaloHit::m_charge {0.}
private

charge

Definition at line 35 of file MuonCalibCaloHit.h.

◆ m_id

int MuonCalib::MuonCalibCaloHit::m_id {0}
private

Identifier.

Definition at line 32 of file MuonCalibCaloHit.h.

◆ m_pos

Amg::Vector3D MuonCalib::MuonCalibCaloHit::m_pos {0., 0., 0.}
private

Global position.

Definition at line 33 of file MuonCalibCaloHit.h.

◆ m_time

float MuonCalib::MuonCalibCaloHit::m_time {0.}
private

time

Definition at line 34 of file MuonCalibCaloHit.h.


The documentation for this class was generated from the following files:
MuonCalib::MuonCalibCaloHit::m_charge
float m_charge
charge
Definition: MuonCalibCaloHit.h:35
MuonCalib::MuonCalibCaloHit::m_time
float m_time
time
Definition: MuonCalibCaloHit.h:34
MuonCalib::MuonCalibCaloHit::charge
float charge() const
return the charge
Definition: MuonCalibCaloHit.cxx:15
MuonCalib::MuonCalibCaloHit::time
float time() const
return the time
Definition: MuonCalibCaloHit.cxx:14
MuonCalib::MuonCalibCaloHit::m_pos
Amg::Vector3D m_pos
Global position.
Definition: MuonCalibCaloHit.h:33
python.LumiBlobConversion.pos
pos
Definition: LumiBlobConversion.py:18
MuonCalib::MuonCalibCaloHit::m_id
int m_id
Identifier.
Definition: MuonCalibCaloHit.h:32