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

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

#include <MuonCalibRawCscHit.h>

Collaboration diagram for MuonCalib::MuonCalibRawCscHit:

Public Member Functions

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

Private Attributes

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

Detailed Description

Calib-EDM version of CscPrepData 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. A value of -1 indicates the raw hit is not assinged to any MuonCalibSegment
  • charge and time
  • strip width

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} {}
float width() const
retrieve the strip width
Amg::Vector3D m_Gpos
position of the hit in global coordinates
float charge() const
retrieve the charge
float t() const
retrieve the time
int m_occupancy
occupancy (-1 == not assigned to any segment)
MuonFixedId m_id
identifier of the raw hit, (a MuonFixedId, not an Identifier)

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 }
int occupancy() const
retrieve the occupancy (-1 == not assigned to any segment)
const Amg::Vector3D & globalPosition() const
retrieve the position expressed in global coordinates
const MuonFixedId & identify() const
retrieve the MuonFixedId

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

62{0.};

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

58{0., 0., 0.};

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

57{0};

◆ m_occupancy

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

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

Definition at line 59 of file MuonCalibRawCscHit.h.

59{0};

◆ m_t

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

time

Definition at line 60 of file MuonCalibRawCscHit.h.

60{0.};

◆ m_width

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

strip width

Definition at line 61 of file MuonCalibRawCscHit.h.

61{0.};

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