ATLAS Offline Software
Loading...
Searching...
No Matches
MuonCalib::MuonCalibRawRpcCoin Class Reference

Calib-EDM version of RpcCoinData class. More...

#include <MuonCalibRawRpcCoin.h>

Inheritance diagram for MuonCalib::MuonCalibRawRpcCoin:
Collaboration diagram for MuonCalib::MuonCalibRawRpcCoin:

Classes

struct  coinPars
struct  defPars

Public Member Functions

 MuonCalibRawRpcCoin ()=default
 default constructor
 MuonCalibRawRpcCoin (const MuonCalibRawRpcCoin &hit)=default
 copyconstructor
MuonCalibRawRpcCoinoperator= (const MuonCalibRawRpcCoin &rhs)=default
 assignment operator
 ~MuonCalibRawRpcCoin ()=default
 destructor
 MuonCalibRawRpcCoin (const MuonCalibRawRpcCoin::defPars &pars)
 constructor setting all attributes
std::ostream & dump (std::ostream &stream) const
 dump to be used for operator<<() to dump the MuonCalibRawRpcCoin
unsigned short ijk () const
unsigned short threshold () const
unsigned short overlap () const
unsigned short parentCmId () const
unsigned short parentPadId () const
unsigned short parentSectorId () const
bool lowPtCm () const
const MuonFixedIdidentify () const
 retrieve the MuonFixedId
const Amg::Vector3DglobalPosition () const
 retrieve the position expressed in global coordinates
int occupancy () const
 retrieve the occupancy (-1 == not assigned to any segment)
float t () const
 retrieve the time
float width () const
 retrieve the strip width
float length () const
 retrieve the strip length
void setId (MuonFixedId Id)
 sets the MuonFixedId
void setGlobalPosition (const Amg::Vector3D &glob)
 sets the position expressed in global coordinates
void setOccupancy (int occ)
 sets the occupancy
void setT (float t)
 sets the time
void setWidth (float width)
 sets the strip width
void setLength (float length)
 sets the strip length

Private Attributes

coinPars m_pars {}

Detailed Description

Calib-EDM version of RpcCoinData class.

Definition at line 20 of file MuonCalibRawRpcCoin.h.

Constructor & Destructor Documentation

◆ MuonCalibRawRpcCoin() [1/3]

MuonCalib::MuonCalibRawRpcCoin::MuonCalibRawRpcCoin ( )
default

default constructor

◆ MuonCalibRawRpcCoin() [2/3]

MuonCalib::MuonCalibRawRpcCoin::MuonCalibRawRpcCoin ( const MuonCalibRawRpcCoin & hit)
default

copyconstructor

◆ ~MuonCalibRawRpcCoin()

MuonCalib::MuonCalibRawRpcCoin::~MuonCalibRawRpcCoin ( )
default

destructor

◆ MuonCalibRawRpcCoin() [3/3]

MuonCalib::MuonCalibRawRpcCoin::MuonCalibRawRpcCoin ( const MuonCalibRawRpcCoin::defPars & pars)

constructor setting all attributes

Definition at line 18 of file MuonCalibRawRpcCoin.cxx.

Member Function Documentation

◆ dump()

std::ostream & MuonCalib::MuonCalibRawRpcCoin::dump ( std::ostream & stream) const

dump to be used for operator<<() to dump the MuonCalibRawRpcCoin

Definition at line 20 of file MuonCalibRawRpcCoin.cxx.

20 {
21 stream << "MuonCalibRawRpcCoin with" << std::endl;
22 stream << " identifier " << identify() << std::endl;
23 stream << " global position " << globalPosition() << std::endl;
24 stream << " occupancy " << occupancy() << std::endl;
25 stream << " time " << t() << std::endl;
26 stream << " width " << width() << std::endl;
27 stream << " length " << length() << std::endl;
28 return stream;
29 }
const MuonFixedId & identify() const
retrieve the MuonFixedId
float t() const
retrieve the time
float width() const
retrieve the strip width
float length() const
retrieve the strip length
const Amg::Vector3D & globalPosition() const
retrieve the position expressed in global coordinates
int occupancy() const
retrieve the occupancy (-1 == not assigned to any segment)

◆ globalPosition()

const Amg::Vector3D & MuonCalib::MuonCalibRawRpcHit::globalPosition ( ) const
inherited

retrieve the position expressed in global coordinates

Definition at line 11 of file MuonCalibRawRpcHit.cxx.

11{ return m_pars.glob_pos; }

◆ identify()

const MuonFixedId & MuonCalib::MuonCalibRawRpcHit::identify ( ) const
inherited

retrieve the MuonFixedId

Definition at line 10 of file MuonCalibRawRpcHit.cxx.

10{ return m_pars.id; }

◆ ijk()

unsigned short MuonCalib::MuonCalibRawRpcCoin::ijk ( ) const

Definition at line 11 of file MuonCalibRawRpcCoin.cxx.

11{ return m_pars.ijk; }

◆ length()

float MuonCalib::MuonCalibRawRpcHit::length ( ) const
inherited

retrieve the strip length

Definition at line 15 of file MuonCalibRawRpcHit.cxx.

15{ return m_pars.length; }

◆ lowPtCm()

bool MuonCalib::MuonCalibRawRpcCoin::lowPtCm ( ) const

Definition at line 17 of file MuonCalibRawRpcCoin.cxx.

17{ return m_pars.lowPtCm; }

◆ occupancy()

int MuonCalib::MuonCalibRawRpcHit::occupancy ( ) const
inherited

retrieve the occupancy (-1 == not assigned to any segment)

Definition at line 12 of file MuonCalibRawRpcHit.cxx.

12{ return m_pars.occupancy; }

◆ operator=()

MuonCalibRawRpcCoin & MuonCalib::MuonCalibRawRpcCoin::operator= ( const MuonCalibRawRpcCoin & rhs)
default

assignment operator

◆ overlap()

unsigned short MuonCalib::MuonCalibRawRpcCoin::overlap ( ) const

Definition at line 13 of file MuonCalibRawRpcCoin.cxx.

13{ return m_pars.overlap; }

◆ parentCmId()

unsigned short MuonCalib::MuonCalibRawRpcCoin::parentCmId ( ) const

Definition at line 14 of file MuonCalibRawRpcCoin.cxx.

14{ return m_pars.parentCmId; }

◆ parentPadId()

unsigned short MuonCalib::MuonCalibRawRpcCoin::parentPadId ( ) const

Definition at line 15 of file MuonCalibRawRpcCoin.cxx.

15{ return m_pars.parentPadId; }

◆ parentSectorId()

unsigned short MuonCalib::MuonCalibRawRpcCoin::parentSectorId ( ) const

Definition at line 16 of file MuonCalibRawRpcCoin.cxx.

16{ return m_pars.parentSectorId; }

◆ setGlobalPosition()

void MuonCalib::MuonCalibRawRpcHit::setGlobalPosition ( const Amg::Vector3D & glob)
inherited

sets the position expressed in global coordinates

Definition at line 17 of file MuonCalibRawRpcHit.cxx.

17{ m_pars.glob_pos = glob; }

◆ setId()

void MuonCalib::MuonCalibRawRpcHit::setId ( MuonFixedId Id)
inherited

sets the MuonFixedId

Definition at line 16 of file MuonCalibRawRpcHit.cxx.

16{ m_pars.id = Id; }

◆ setLength()

void MuonCalib::MuonCalibRawRpcHit::setLength ( float length)
inherited

sets the strip length

Definition at line 21 of file MuonCalibRawRpcHit.cxx.

21{ m_pars.length = length; }

◆ setOccupancy()

void MuonCalib::MuonCalibRawRpcHit::setOccupancy ( int occ)
inherited

sets the occupancy

Definition at line 18 of file MuonCalibRawRpcHit.cxx.

18{ m_pars.occupancy = occ; }

◆ setT()

void MuonCalib::MuonCalibRawRpcHit::setT ( float t)
inherited

sets the time

Definition at line 19 of file MuonCalibRawRpcHit.cxx.

19{ m_pars.t = t; }

◆ setWidth()

void MuonCalib::MuonCalibRawRpcHit::setWidth ( float width)
inherited

sets the strip width

Definition at line 20 of file MuonCalibRawRpcHit.cxx.

20{ m_pars.width = width; }

◆ t()

float MuonCalib::MuonCalibRawRpcHit::t ( ) const
inherited

retrieve the time

Definition at line 13 of file MuonCalibRawRpcHit.cxx.

13{ return m_pars.t; }

◆ threshold()

unsigned short MuonCalib::MuonCalibRawRpcCoin::threshold ( ) const

Definition at line 12 of file MuonCalibRawRpcCoin.cxx.

12{ return m_pars.threshold; }

◆ width()

float MuonCalib::MuonCalibRawRpcHit::width ( ) const
inherited

retrieve the strip width

Definition at line 14 of file MuonCalibRawRpcHit.cxx.

14{ return m_pars.width; }

Member Data Documentation

◆ m_pars

coinPars MuonCalib::MuonCalibRawRpcCoin::m_pars {}
private

Definition at line 56 of file MuonCalibRawRpcCoin.h.

56{};

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