ATLAS Offline Software
Loading...
Searching...
No Matches
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
 MuonCalibCaloHit (int id, const Amg::Vector3D &pos, float time, float charge)
 ~MuonCalibCaloHit ()=default
 destructor
int identify () const
 return the identifier of the Hit
const Amg::Vector3Dposition () const
 return the (global) position of the MuonCalibHit
float time () const
 return the time
float charge () const
 return the charge

Private Attributes

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

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.

◆ ~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.

35{0.};

◆ m_id

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

Identifier.

Definition at line 32 of file MuonCalibCaloHit.h.

32{0};

◆ m_pos

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

Global position.

Definition at line 33 of file MuonCalibCaloHit.h.

33{0., 0., 0.};

◆ m_time

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

time

Definition at line 34 of file MuonCalibCaloHit.h.

34{0.};

The documentation for this class was generated from the following files: