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

#include <MuonCalibRawMdtHit.h>

Collaboration diagram for MuonCalib::MuonCalibRawMdtHit:

Public Member Functions

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

Private Attributes

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

Detailed Description

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

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} {}

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; }

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

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

23 { m_adc = adc; }

◆ setDriftRadius()

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

sets the drift radius

Definition at line 27 of file MuonCalibRawMdtHit.cxx.

27 { m_r = r; }

◆ setDriftRadiusError()

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

sets the error on the drift radius

Definition at line 28 of file MuonCalibRawMdtHit.cxx.

28 { m_dr = dr; }

◆ setDriftTime()

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

sets the drift time

Definition at line 26 of file MuonCalibRawMdtHit.cxx.

26 { m_t = t; }

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

◆ m_dr

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

error on the drift radius

Definition at line 63 of file MuonCalibRawMdtHit.h.

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

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

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

◆ m_occupancy

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

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

Definition at line 60 of file MuonCalibRawMdtHit.h.

◆ m_r

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

drift radius

Definition at line 62 of file MuonCalibRawMdtHit.h.

◆ m_t

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

drift time

Definition at line 61 of file MuonCalibRawMdtHit.h.

◆ m_tdc

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

TDC count.

Definition at line 59 of file MuonCalibRawMdtHit.h.


The documentation for this class was generated from the following files:
MuonCalib::MuonCalibRawMdtHit::localPosition
const Amg::Vector3D & localPosition() const
retrieve the position expressed in local (station) coordinates
Definition: MuonCalibRawMdtHit.cxx:12
MuonCalib::MuonCalibRawMdtHit::globalPosition
const Amg::Vector3D & globalPosition() const
retrieve the position expressed in global coordinates
Definition: MuonCalibRawMdtHit.cxx:13
MuonCalib::MuonCalibRawMdtHit::m_tdc
int m_tdc
TDC count.
Definition: MuonCalibRawMdtHit.h:59
MuonCalib::MuonCalibRawMdtHit::tdcCount
int tdcCount() const
retrieve tdc counts
Definition: MuonCalibRawMdtHit.cxx:15
beamspotman.r
def r
Definition: beamspotman.py:676
MuonCalib::MuonCalibRawMdtHit::m_id
MuonFixedId m_id
identifier of the raw hit, (is a MuonFixedId, not an Identifier)
Definition: MuonCalibRawMdtHit.h:55
python.TurnDataReader.dr
dr
Definition: TurnDataReader.py:112
MuonCalib::MuonCalibRawMdtHit::m_Lpos
Amg::Vector3D m_Lpos
position of the hit in local (station) coordinates
Definition: MuonCalibRawMdtHit.h:56
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
AthenaPoolTestWrite.stream
string stream
Definition: AthenaPoolTestWrite.py:12
MuonCalib::MuonCalibRawMdtHit::m_adc
int m_adc
ADC count.
Definition: MuonCalibRawMdtHit.h:58
MuonCalib::MuonCalibRawMdtHit::m_Gpos
Amg::Vector3D m_Gpos
position of the hit in global coordinates
Definition: MuonCalibRawMdtHit.h:57
MuonCalib::MuonCalibRawMdtHit::m_r
double m_r
drift radius
Definition: MuonCalibRawMdtHit.h:62
MuonCalib::MuonCalibRawMdtHit::m_t
double m_t
drift time
Definition: MuonCalibRawMdtHit.h:61
MuonCalib::MuonCalibRawMdtHit::m_dr
double m_dr
error on the drift radius
Definition: MuonCalibRawMdtHit.h:63
MuonCalib::MuonCalibRawMdtHit::identify
const MuonFixedId & identify() const
retrieve the MuonFixedId
Definition: MuonCalibRawMdtHit.cxx:11
MuonCalib::MuonCalibRawMdtHit::adcCount
int adcCount() const
retrieve adc counts
Definition: MuonCalibRawMdtHit.cxx:14
MuonCalib::MuonCalibRawMdtHit::driftRadiusError
double driftRadiusError() const
retrieve the error on the drift radius
Definition: MuonCalibRawMdtHit.cxx:19
ReadFloatFromCool.adc
adc
Definition: ReadFloatFromCool.py:48
MuonCalib::MuonCalibRawMdtHit::driftTime
double driftTime() const
retrieve the drift time
Definition: MuonCalibRawMdtHit.cxx:17
MuonCalib::MuonCalibRawMdtHit::driftRadius
double driftRadius() const
retrieve the drift radius
Definition: MuonCalibRawMdtHit.cxx:18
MuonCalib::MuonCalibRawMdtHit::occupancy
int occupancy() const
retrieve the occupancy (-1 == not assigned to any segment)
Definition: MuonCalibRawMdtHit.cxx:16
MuonCalib::MuonCalibRawMdtHit::m_occupancy
int m_occupancy
occupancy (-1 == not assigned to any segment)
Definition: MuonCalibRawMdtHit.h:60