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

#include <MuonCalibRawCscHit.h>

Collaboration diagram for MuonCalib::MuonCalibRawCscHit:

Public Member Functions

 MuonCalibRawCscHit ()=default
 default constructor More...
 
 MuonCalibRawCscHit (const MuonCalibRawCscHit &hit)=default
 copy constructor More...
 
MuonCalibRawCscHitoperator= (const MuonCalibRawCscHit &rhs)
 assingment operator More...
 
 ~MuonCalibRawCscHit ()=default
 destructor More...
 
 MuonCalibRawCscHit (const MuonFixedId &id, const Amg::Vector3D &glob, int occ, float t, float width, float charge)
 constructor setting all attributes More...
 
std::ostream & dump (std::ostream &stream) const
 dump to be used for operator<<() to dump the MuonCalibRawCscHit 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 charge () const
 retrieve the charge 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 setCharge (float charge)
 sets the charge More...
 

Private Attributes

MuonFixedId m_id {0}
 identifier of the raw hit, (a MuonFixedId, not an Identifier) More...
 
Amg::Vector3D m_Gpos {0., 0., 0.}
 position of the hit in global coordinates More...
 
int m_occupancy {0}
 occupancy (-1 == not assigned to any segment) More...
 
float m_t {0.}
 time More...
 
float m_width {0.}
 strip width More...
 
float m_charge {0.}
 charge More...
 

Detailed Description

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

Definition at line 29 of file MuonCalibRawCscHit.h.

Constructor & Destructor Documentation

◆ MuonCalibRawCscHit() [1/3]

MuonCalib::MuonCalibRawCscHit::MuonCalibRawCscHit ( )
default

default constructor

◆ MuonCalibRawCscHit() [2/3]

MuonCalib::MuonCalibRawCscHit::MuonCalibRawCscHit ( const MuonCalibRawCscHit hit)
default

copy constructor

◆ ~MuonCalibRawCscHit()

MuonCalib::MuonCalibRawCscHit::~MuonCalibRawCscHit ( )
default

destructor

◆ MuonCalibRawCscHit() [3/3]

MuonCalib::MuonCalibRawCscHit::MuonCalibRawCscHit ( const MuonFixedId id,
const Amg::Vector3D glob,
int  occ,
float  t,
float  width,
float  charge 
)

constructor setting all attributes

Definition at line 10 of file MuonCalibRawCscHit.cxx.

10  :
11  m_id{id}, m_Gpos{glob}, m_occupancy{occ}, m_t{t}, m_width{width}, m_charge{charge} {}

Member Function Documentation

◆ charge()

float MuonCalib::MuonCalibRawCscHit::charge ( ) const

retrieve the charge

Definition at line 18 of file MuonCalibRawCscHit.cxx.

18 { return m_charge; }

◆ dump()

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

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

Definition at line 27 of file MuonCalibRawCscHit.cxx.

27  {
28  stream << "MuonCalibRawCscHit with" << std::endl;
29  stream << " identifier " << identify() << std::endl;
30  stream << " global position " << globalPosition() << std::endl;
31  stream << " occupancy " << occupancy() << std::endl;
32  stream << " time " << t() << std::endl;
33  stream << " width " << width() << std::endl;
34  stream << " charge " << charge() << std::endl;
35  return stream;
36  }

◆ globalPosition()

const Amg::Vector3D & MuonCalib::MuonCalibRawCscHit::globalPosition ( ) const

retrieve the position expressed in global coordinates

Definition at line 14 of file MuonCalibRawCscHit.cxx.

14 { return m_Gpos; }

◆ identify()

const MuonFixedId & MuonCalib::MuonCalibRawCscHit::identify ( ) const

retrieve the MuonFixedId

Definition at line 13 of file MuonCalibRawCscHit.cxx.

13 { return m_id; }

◆ occupancy()

int MuonCalib::MuonCalibRawCscHit::occupancy ( ) const

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

Definition at line 15 of file MuonCalibRawCscHit.cxx.

15 { return m_occupancy; }

◆ operator=()

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

assingment operator

◆ setCharge()

void MuonCalib::MuonCalibRawCscHit::setCharge ( float  charge)

sets the charge

Definition at line 25 of file MuonCalibRawCscHit.cxx.

25 { m_charge = charge; }

◆ setGlobalPosition()

void MuonCalib::MuonCalibRawCscHit::setGlobalPosition ( const Amg::Vector3D glob)

sets the position expressed in global coordinates

Definition at line 21 of file MuonCalibRawCscHit.cxx.

21 { m_Gpos = glob; }

◆ setId()

void MuonCalib::MuonCalibRawCscHit::setId ( MuonFixedId  Id)

sets the MuonFixedId

Definition at line 20 of file MuonCalibRawCscHit.cxx.

20 { m_id = Id; }

◆ setOccupancy()

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

sets the occupancy

Definition at line 22 of file MuonCalibRawCscHit.cxx.

22 { m_occupancy = occ; }

◆ setT()

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

sets the time

Definition at line 23 of file MuonCalibRawCscHit.cxx.

23 { m_t = t; }

◆ setWidth()

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

sets the strip width

Definition at line 24 of file MuonCalibRawCscHit.cxx.

24 { m_width = width; }

◆ t()

float MuonCalib::MuonCalibRawCscHit::t ( ) const

retrieve the time

Definition at line 16 of file MuonCalibRawCscHit.cxx.

16 { return m_t; }

◆ width()

float MuonCalib::MuonCalibRawCscHit::width ( ) const

retrieve the strip width

Definition at line 17 of file MuonCalibRawCscHit.cxx.

17 { return m_width; }

Member Data Documentation

◆ m_charge

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

charge

Definition at line 62 of file MuonCalibRawCscHit.h.

◆ m_Gpos

Amg::Vector3D MuonCalib::MuonCalibRawCscHit::m_Gpos {0., 0., 0.}
private

position of the hit in global coordinates

Definition at line 58 of file MuonCalibRawCscHit.h.

◆ m_id

MuonFixedId MuonCalib::MuonCalibRawCscHit::m_id {0}
private

identifier of the raw hit, (a MuonFixedId, not an Identifier)

Definition at line 57 of file MuonCalibRawCscHit.h.

◆ m_occupancy

int MuonCalib::MuonCalibRawCscHit::m_occupancy {0}
private

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

Definition at line 59 of file MuonCalibRawCscHit.h.

◆ m_t

float MuonCalib::MuonCalibRawCscHit::m_t {0.}
private

time

Definition at line 60 of file MuonCalibRawCscHit.h.

◆ m_width

float MuonCalib::MuonCalibRawCscHit::m_width {0.}
private

strip width

Definition at line 61 of file MuonCalibRawCscHit.h.


The documentation for this class was generated from the following files:
MuonCalib::MuonCalibRawCscHit::occupancy
int occupancy() const
retrieve the occupancy (-1 == not assigned to any segment)
Definition: MuonCalibRawCscHit.cxx:15
MuonCalib::MuonCalibRawCscHit::width
float width() const
retrieve the strip width
Definition: MuonCalibRawCscHit.cxx:17
MuonCalib::MuonCalibRawCscHit::m_charge
float m_charge
charge
Definition: MuonCalibRawCscHit.h:62
AthenaPoolTestWrite.stream
string stream
Definition: AthenaPoolTestWrite.py:12
MuonCalib::MuonCalibRawCscHit::m_width
float m_width
strip width
Definition: MuonCalibRawCscHit.h:61
MuonCalib::MuonCalibRawCscHit::m_Gpos
Amg::Vector3D m_Gpos
position of the hit in global coordinates
Definition: MuonCalibRawCscHit.h:58
MuonCalib::MuonCalibRawCscHit::t
float t() const
retrieve the time
Definition: MuonCalibRawCscHit.cxx:16
MuonCalib::MuonCalibRawCscHit::identify
const MuonFixedId & identify() const
retrieve the MuonFixedId
Definition: MuonCalibRawCscHit.cxx:13
MuonCalib::MuonCalibRawCscHit::globalPosition
const Amg::Vector3D & globalPosition() const
retrieve the position expressed in global coordinates
Definition: MuonCalibRawCscHit.cxx:14
MuonCalib::MuonCalibRawCscHit::m_t
float m_t
time
Definition: MuonCalibRawCscHit.h:60
MuonCalib::MuonCalibRawCscHit::m_occupancy
int m_occupancy
occupancy (-1 == not assigned to any segment)
Definition: MuonCalibRawCscHit.h:59
MuonCalib::MuonCalibRawCscHit::charge
float charge() const
retrieve the charge
Definition: MuonCalibRawCscHit.cxx:18
MuonCalib::MuonCalibRawCscHit::m_id
MuonFixedId m_id
identifier of the raw hit, (a MuonFixedId, not an Identifier)
Definition: MuonCalibRawCscHit.h:57