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

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

#include <MuonCalibRawMdtHit.h>

Collaboration diagram for MuonCalib::MuonCalibRawMdtHit:

Public Member Functions

 MuonCalibRawMdtHit ()=default
 default constructor
 MuonCalibRawMdtHit (const MuonCalibRawMdtHit &hit)=default
 copyconstructor
MuonCalibRawMdtHitoperator= (const MuonCalibRawMdtHit &rhs)=default
 assignment operator
 ~MuonCalibRawMdtHit ()=default
 destructor
 MuonCalibRawMdtHit (const MuonFixedId &id, const Amg::Vector3D &loc, const Amg::Vector3D &glob, int occ)
 constructor initializing the identifier, the position(s) and occupancy.
std::ostream & dump (std::ostream &stream) const
 dump to be used for operator<<() to dump the MuonCalibRawMdtHit
const MuonFixedIdidentify () const
 retrieve the MuonFixedId
const Amg::Vector3DlocalPosition () const
 retrieve the position expressed in local (station) coordinates
const Amg::Vector3DglobalPosition () const
 retrieve the position expressed in global coordinates
int adcCount () const
 retrieve adc counts
int tdcCount () const
 retrieve tdc counts
int occupancy () const
 retrieve the occupancy (-1 == not assigned to any segment)
double driftTime () const
 retrieve the drift time
double driftRadius () const
 retrieve the drift radius
double driftRadiusError () const
 retrieve the error on the drift radius
void setId (MuonFixedId Id)
 sets the MuonFixedId
void setLocalPosition (const Amg::Vector3D &loc)
 sets the position expressed in local (station) coordinates
void setGlobalPosition (const Amg::Vector3D &glob)
 sets the position expressed in global coordinates
void setAdc (int adc)
 sets adc counts
void setTdc (int tdc)
 sets tdc counts
void setOccupancy (int occ)
 sets the occupancy
void setDriftTime (double t)
 sets the drift time
void setDriftRadius (double r)
 sets the drift radius
void setDriftRadiusError (double dr)
 sets the error on the drift radius

Private Attributes

MuonFixedId m_id {0}
 identifier of the raw hit, (is a MuonFixedId, not an Identifier)
Amg::Vector3D m_Lpos {0., 0., 0.}
 position of the hit in local (station) coordinates
Amg::Vector3D m_Gpos {0., 0., 0.}
 position of the hit in global coordinates
int m_adc {0}
 ADC count.
int m_tdc {0}
 TDC count.
int m_occupancy {0}
 occupancy (-1 == not assigned to any segment)
double m_t {0.}
 drift time
double m_r {0.}
 drift radius
double m_dr {0.}
 error on the drift radius

Detailed Description

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

  • an identifier, stored in the MuonFixedId format (not an Identifier)
  • position in both local (station) and 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
  • tdc and adc counts
  • drift time, drift radius and its error

Definition at line 22 of file MuonCalibRawMdtHit.h.

Constructor & Destructor Documentation

◆ MuonCalibRawMdtHit() [1/3]

MuonCalib::MuonCalibRawMdtHit::MuonCalibRawMdtHit ( )
default

default constructor

◆ MuonCalibRawMdtHit() [2/3]

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

copyconstructor

◆ ~MuonCalibRawMdtHit()

MuonCalib::MuonCalibRawMdtHit::~MuonCalibRawMdtHit ( )
default

destructor

◆ MuonCalibRawMdtHit() [3/3]

MuonCalib::MuonCalibRawMdtHit::MuonCalibRawMdtHit ( const MuonFixedId & id,
const Amg::Vector3D & loc,
const Amg::Vector3D & glob,
int occ )

constructor initializing the identifier, the position(s) and occupancy.

Definition at line 30 of file MuonCalibRawMdtHit.cxx.

30 :
31 m_id{id}, m_Lpos{loc}, m_Gpos{glob}, m_occupancy{occ} {}
int m_occupancy
occupancy (-1 == not assigned to any segment)
Amg::Vector3D m_Lpos
position of the hit in local (station) coordinates
Amg::Vector3D m_Gpos
position of the hit in global coordinates
MuonFixedId m_id
identifier of the raw hit, (is a MuonFixedId, not an Identifier)

Member Function Documentation

◆ adcCount()

int MuonCalib::MuonCalibRawMdtHit::adcCount ( ) const

retrieve adc counts

Definition at line 14 of file MuonCalibRawMdtHit.cxx.

14{ return m_adc; }

◆ driftRadius()

double MuonCalib::MuonCalibRawMdtHit::driftRadius ( ) const

retrieve the drift radius

Definition at line 18 of file MuonCalibRawMdtHit.cxx.

18{ return m_r; }

◆ driftRadiusError()

double MuonCalib::MuonCalibRawMdtHit::driftRadiusError ( ) const

retrieve the error on the drift radius

Definition at line 19 of file MuonCalibRawMdtHit.cxx.

19{ return m_dr; }
double m_dr
error on the drift radius

◆ driftTime()

double MuonCalib::MuonCalibRawMdtHit::driftTime ( ) const

retrieve the drift time

Definition at line 17 of file MuonCalibRawMdtHit.cxx.

17{ return m_t; }

◆ dump()

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

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

Definition at line 33 of file MuonCalibRawMdtHit.cxx.

33 {
34 stream << "MuonCalibRawMdtHit with" << std::endl;
35 stream << " identifier " << identify() << std::endl;
36 stream << " local position " << localPosition() << std::endl;
37 stream << " global position " << globalPosition() << std::endl;
38 stream << " adc " << adcCount() << std::endl;
39 stream << " tdc " << tdcCount() << std::endl;
40 stream << " occupancy " << occupancy() << std::endl;
41 stream << " driftTime " << driftTime() << std::endl;
42 stream << " driftRadius " << driftRadius() << std::endl;
43 stream << " driftRadiusError " << driftRadiusError() << std::endl;
44 return stream;
45 }
double driftTime() const
retrieve the drift time
int tdcCount() const
retrieve tdc counts
double driftRadius() const
retrieve the drift radius
const Amg::Vector3D & localPosition() const
retrieve the position expressed in local (station) coordinates
int adcCount() const
retrieve adc counts
double driftRadiusError() const
retrieve the error on the drift radius
const Amg::Vector3D & globalPosition() const
retrieve the position expressed in global coordinates
int occupancy() const
retrieve the occupancy (-1 == not assigned to any segment)
const MuonFixedId & identify() const
retrieve the MuonFixedId

◆ globalPosition()

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

retrieve the position expressed in global coordinates

Definition at line 13 of file MuonCalibRawMdtHit.cxx.

13{ return m_Gpos; }

◆ identify()

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

retrieve the MuonFixedId

Definition at line 11 of file MuonCalibRawMdtHit.cxx.

11{ return m_id; }

◆ localPosition()

const Amg::Vector3D & MuonCalib::MuonCalibRawMdtHit::localPosition ( ) const

retrieve the position expressed in local (station) coordinates

Definition at line 12 of file MuonCalibRawMdtHit.cxx.

12{ return m_Lpos; }

◆ occupancy()

int MuonCalib::MuonCalibRawMdtHit::occupancy ( ) const

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

Definition at line 16 of file MuonCalibRawMdtHit.cxx.

16{ return m_occupancy; }

◆ operator=()

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

assignment operator

◆ setAdc()

void MuonCalib::MuonCalibRawMdtHit::setAdc ( int adc)

sets adc counts

Definition at line 23 of file MuonCalibRawMdtHit.cxx.

◆ setDriftRadius()

void MuonCalib::MuonCalibRawMdtHit::setDriftRadius ( double r)

sets the drift radius

Definition at line 27 of file MuonCalibRawMdtHit.cxx.

27{ m_r = r; }
int r
Definition globals.cxx:22

◆ setDriftRadiusError()

void MuonCalib::MuonCalibRawMdtHit::setDriftRadiusError ( double dr)

sets the error on the drift radius

Definition at line 28 of file MuonCalibRawMdtHit.cxx.

◆ setDriftTime()

void MuonCalib::MuonCalibRawMdtHit::setDriftTime ( double t)

sets the drift time

Definition at line 26 of file MuonCalibRawMdtHit.cxx.

◆ setGlobalPosition()

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

sets the position expressed in global coordinates

Definition at line 22 of file MuonCalibRawMdtHit.cxx.

22{ m_Gpos = glob; }

◆ setId()

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

sets the MuonFixedId

Definition at line 20 of file MuonCalibRawMdtHit.cxx.

20{ m_id = Id; }

◆ setLocalPosition()

void MuonCalib::MuonCalibRawMdtHit::setLocalPosition ( const Amg::Vector3D & loc)

sets the position expressed in local (station) coordinates

Definition at line 21 of file MuonCalibRawMdtHit.cxx.

21{ m_Lpos = loc; }

◆ setOccupancy()

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

sets the occupancy

Definition at line 25 of file MuonCalibRawMdtHit.cxx.

25{ m_occupancy = occ; }

◆ setTdc()

void MuonCalib::MuonCalibRawMdtHit::setTdc ( int tdc)

sets tdc counts

Definition at line 24 of file MuonCalibRawMdtHit.cxx.

24{ m_tdc = tdc; }

◆ tdcCount()

int MuonCalib::MuonCalibRawMdtHit::tdcCount ( ) const

retrieve tdc counts

Definition at line 15 of file MuonCalibRawMdtHit.cxx.

15{ return m_tdc; }

Member Data Documentation

◆ m_adc

int MuonCalib::MuonCalibRawMdtHit::m_adc {0}
private

ADC count.

Definition at line 58 of file MuonCalibRawMdtHit.h.

58{0};

◆ m_dr

double MuonCalib::MuonCalibRawMdtHit::m_dr {0.}
private

error on the drift radius

Definition at line 63 of file MuonCalibRawMdtHit.h.

63{0.};

◆ m_Gpos

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

position of the hit in global coordinates

Definition at line 57 of file MuonCalibRawMdtHit.h.

57{0., 0., 0.};

◆ m_id

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

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

Definition at line 55 of file MuonCalibRawMdtHit.h.

55{0};

◆ m_Lpos

Amg::Vector3D MuonCalib::MuonCalibRawMdtHit::m_Lpos {0., 0., 0.}
private

position of the hit in local (station) coordinates

Definition at line 56 of file MuonCalibRawMdtHit.h.

56{0., 0., 0.};

◆ m_occupancy

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

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

Definition at line 60 of file MuonCalibRawMdtHit.h.

60{0};

◆ m_r

double MuonCalib::MuonCalibRawMdtHit::m_r {0.}
private

drift radius

Definition at line 62 of file MuonCalibRawMdtHit.h.

62{0.};

◆ m_t

double MuonCalib::MuonCalibRawMdtHit::m_t {0.}
private

drift time

Definition at line 61 of file MuonCalibRawMdtHit.h.

61{0.};

◆ m_tdc

int MuonCalib::MuonCalibRawMdtHit::m_tdc {0}
private

TDC count.

Definition at line 59 of file MuonCalibRawMdtHit.h.

59{0};

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