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

#include <MuonCalibRawRpcHit.h>

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

Classes

struct  defineParams
 

Public Member Functions

 MuonCalibRawRpcHit ()=default
 default constructor More...
 
 MuonCalibRawRpcHit (const MuonCalibRawRpcHit &hit)=default
 copy constructor More...
 
MuonCalibRawRpcHitoperator= (const MuonCalibRawRpcHit &rhs)
 assingment operator More...
 
virtual ~MuonCalibRawRpcHit ()=default
 destructor More...
 
 MuonCalibRawRpcHit (const defineParams &pars)
 
std::ostream & dump (std::ostream &stream) const
 dump to be used for operator<<() to dump the MuonCalibRawRpcHit More...
 
const MuonFixedIdidentify () const
 retrieve the MuonFixedId More...
 
const Amg::Vector3DglobalPosition () const
 retrieve the position expressed in global coordinates More...
 
int occupancy () const
 retrieve the occupancy (-1 == not assigned to any segment) More...
 
float t () const
 retrieve the time More...
 
float width () const
 retrieve the strip width More...
 
float length () const
 retrieve the strip length More...
 
void setId (MuonFixedId Id)
 sets the MuonFixedId More...
 
void setGlobalPosition (const Amg::Vector3D &glob)
 sets the position expressed in global coordinates More...
 
void setOccupancy (int occ)
 sets the occupancy More...
 
void setT (float t)
 sets the time More...
 
void setWidth (float width)
 sets the strip width More...
 
void setLength (float length)
 sets the strip length More...
 

Private Attributes

defineParams m_pars {}
 

Detailed Description

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

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.

22 : m_pars{pars} {}

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  }

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


The documentation for this class was generated from the following files:
MuonCalib::MuonCalibRawRpcHit::defineParams::occupancy
int occupancy
occupancy (-1 == not assigned to any segment)
Definition: MuonCalibRawRpcHit.h:37
make_hlt_rep.pars
pars
Definition: make_hlt_rep.py:90
MuonCalib::MuonCalibRawRpcHit::defineParams::t
float t
time
Definition: MuonCalibRawRpcHit.h:38
MuonCalib::MuonCalibRawRpcHit::m_pars
defineParams m_pars
Definition: MuonCalibRawRpcHit.h:62
MuonCalib::MuonCalibRawRpcHit::defineParams::glob_pos
Amg::Vector3D glob_pos
position of the hit in global coordinates
Definition: MuonCalibRawRpcHit.h:36
MuonCalib::MuonCalibRawRpcHit::t
float t() const
retrieve the time
Definition: MuonCalibRawRpcHit.cxx:13
MuonCalib::MuonCalibRawRpcHit::globalPosition
const Amg::Vector3D & globalPosition() const
retrieve the position expressed in global coordinates
Definition: MuonCalibRawRpcHit.cxx:11
MuonCalib::MuonCalibRawRpcHit::length
float length() const
retrieve the strip length
Definition: MuonCalibRawRpcHit.cxx:15
MuonCalib::MuonCalibRawRpcHit::width
float width() const
retrieve the strip width
Definition: MuonCalibRawRpcHit.cxx:14
AthenaPoolTestWrite.stream
string stream
Definition: AthenaPoolTestWrite.py:12
MuonCalib::MuonCalibRawRpcHit::defineParams::id
MuonFixedId id
identifier of the raw hit, (is a MuonFixedId, not an Identifier)
Definition: MuonCalibRawRpcHit.h:35
MuonCalib::MuonCalibRawRpcHit::defineParams::length
float length
strip length
Definition: MuonCalibRawRpcHit.h:40
MuonCalib::MuonCalibRawRpcHit::defineParams::width
float width
strip width
Definition: MuonCalibRawRpcHit.h:39
MuonCalib::MuonCalibRawRpcHit::identify
const MuonFixedId & identify() const
retrieve the MuonFixedId
Definition: MuonCalibRawRpcHit.cxx:10
MuonCalib::MuonCalibRawRpcHit::occupancy
int occupancy() const
retrieve the occupancy (-1 == not assigned to any segment)
Definition: MuonCalibRawRpcHit.cxx:12