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

Calib-EDM version of RpcPrepData class, containing uncalibrated information. More...

#include <MuonCalibRawRpcHit.h>

Inheritance diagram for MuonCalib::MuonCalibRawRpcHit:
Collaboration diagram for MuonCalib::MuonCalibRawRpcHit:

Classes

struct  defineParams

Public Member Functions

 MuonCalibRawRpcHit ()=default
 default constructor
 MuonCalibRawRpcHit (const MuonCalibRawRpcHit &hit)=default
 copy constructor
MuonCalibRawRpcHitoperator= (const MuonCalibRawRpcHit &rhs)
 assingment operator
virtual ~MuonCalibRawRpcHit ()=default
 destructor
 MuonCalibRawRpcHit (const defineParams &pars)
std::ostream & dump (std::ostream &stream) const
 dump to be used for operator<<() to dump the MuonCalibRawRpcHit
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

defineParams m_pars {}

Detailed Description

Calib-EDM version of RpcPrepData class, containing uncalibrated information.

  • an identifier, stored in the MuonFixedId format (not an Identifier)
  • position in global coordinates
  • occupancy: value denoting how many times this raw hit is assigned to a MuonCalibSegment. When this value yields -1, the raw hit is not assinged to any MuonCalibSegment
  • time
  • strip length and width

Definition at line 27 of file MuonCalibRawRpcHit.h.

Constructor & Destructor Documentation

◆ MuonCalibRawRpcHit() [1/3]

MuonCalib::MuonCalibRawRpcHit::MuonCalibRawRpcHit ( )
default

default constructor

◆ MuonCalibRawRpcHit() [2/3]

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

copy constructor

◆ ~MuonCalibRawRpcHit()

virtual MuonCalib::MuonCalibRawRpcHit::~MuonCalibRawRpcHit ( )
virtualdefault

destructor

◆ MuonCalibRawRpcHit() [3/3]

MuonCalib::MuonCalibRawRpcHit::MuonCalibRawRpcHit ( const defineParams & pars)

Definition at line 22 of file MuonCalibRawRpcHit.cxx.

Member Function Documentation

◆ dump()

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

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

Definition at line 24 of file MuonCalibRawRpcHit.cxx.

24 {
25 stream << "MuonCalibRawRpcHit with" << std::endl;
26 stream << " identifier " << identify() << std::endl;
27 stream << " global position " << globalPosition() << std::endl;
28 stream << " occupancy " << occupancy() << std::endl;
29 stream << " time " << t() << std::endl;
30 stream << " width " << width() << std::endl;
31 stream << " length " << length() << std::endl;
32 return stream;
33 }
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

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

retrieve the MuonFixedId

Definition at line 10 of file MuonCalibRawRpcHit.cxx.

10{ return m_pars.id; }

◆ length()

float MuonCalib::MuonCalibRawRpcHit::length ( ) const

retrieve the strip length

Definition at line 15 of file MuonCalibRawRpcHit.cxx.

15{ return m_pars.length; }

◆ occupancy()

int MuonCalib::MuonCalibRawRpcHit::occupancy ( ) const

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

Definition at line 12 of file MuonCalibRawRpcHit.cxx.

12{ return m_pars.occupancy; }

◆ operator=()

MuonCalibRawRpcHit & MuonCalib::MuonCalibRawRpcHit::operator= ( const MuonCalibRawRpcHit & rhs)

assingment operator

◆ setGlobalPosition()

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

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)

sets the MuonFixedId

Definition at line 16 of file MuonCalibRawRpcHit.cxx.

16{ m_pars.id = Id; }

◆ setLength()

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

sets the strip length

Definition at line 21 of file MuonCalibRawRpcHit.cxx.

21{ m_pars.length = length; }

◆ setOccupancy()

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

sets the occupancy

Definition at line 18 of file MuonCalibRawRpcHit.cxx.

18{ m_pars.occupancy = occ; }

◆ setT()

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

sets the time

Definition at line 19 of file MuonCalibRawRpcHit.cxx.

19{ m_pars.t = t; }

◆ setWidth()

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

sets the strip width

Definition at line 20 of file MuonCalibRawRpcHit.cxx.

20{ m_pars.width = width; }

◆ t()

float MuonCalib::MuonCalibRawRpcHit::t ( ) const

retrieve the time

Definition at line 13 of file MuonCalibRawRpcHit.cxx.

13{ return m_pars.t; }

◆ width()

float MuonCalib::MuonCalibRawRpcHit::width ( ) const

retrieve the strip width

Definition at line 14 of file MuonCalibRawRpcHit.cxx.

14{ return m_pars.width; }

Member Data Documentation

◆ m_pars

defineParams MuonCalib::MuonCalibRawRpcHit::m_pars {}
private

Definition at line 62 of file MuonCalibRawRpcHit.h.

62{};

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