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

#include <MuonCalibRawTgcHit.h>

Collaboration diagram for MuonCalib::MuonCalibRawTgcHit:

Classes

struct  defineParams
 

Public Types

enum  BunchCrossingTag { Previous = 1, Current = 2, Next = 3 }
 

Public Member Functions

 MuonCalibRawTgcHit ()=default
 default constructor More...
 
 MuonCalibRawTgcHit (const MuonCalibRawTgcHit &hit)=default
 copy constructor More...
 
MuonCalibRawTgcHitoperator= (const MuonCalibRawTgcHit &rhs)=default
 assingment operator More...
 
 ~MuonCalibRawTgcHit ()=default
 destructor More...
 
 MuonCalibRawTgcHit (const defineParams &pars)
 
std::ostream & dump (std::ostream &stream) const
 dump to be used for operator<<() to dump the MuonCalibRawTgcHit 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...
 
int station () const
 
int eta () const
 
int phi () const
 
int gasGap () const
 
int isStrip () const
 
int channel () const
 
int bcTag () const
 
float width () const
 
float shortWidth () const
 
float longWidth () const
 
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 setStation (int station)
 
void setEta (int eta)
 
void setPhi (int phi)
 
void setGasGap (int gasGap)
 
void setIsStrip (int isStrip)
 
void setChannel (int channel)
 
void setBcTag (int bcTag)
 
void setWidth (float width)
 
void setShortWidth (float shortWidth)
 
void setLongWidth (float longWidth)
 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 TgcPrepData class, containing uncalibrated information.

Definition at line 28 of file MuonCalibRawTgcHit.h.

Member Enumeration Documentation

◆ BunchCrossingTag

Enumerator
Previous 
Current 
Next 

Definition at line 36 of file MuonCalibRawTgcHit.h.

36 { Previous = 1, Current = 2, Next = 3 };

Constructor & Destructor Documentation

◆ MuonCalibRawTgcHit() [1/3]

MuonCalib::MuonCalibRawTgcHit::MuonCalibRawTgcHit ( )
default

default constructor

◆ MuonCalibRawTgcHit() [2/3]

MuonCalib::MuonCalibRawTgcHit::MuonCalibRawTgcHit ( const MuonCalibRawTgcHit hit)
default

copy constructor

◆ ~MuonCalibRawTgcHit()

MuonCalib::MuonCalibRawTgcHit::~MuonCalibRawTgcHit ( )
default

destructor

◆ MuonCalibRawTgcHit() [3/3]

MuonCalib::MuonCalibRawTgcHit::MuonCalibRawTgcHit ( const defineParams pars)

Definition at line 62 of file MuonCalibRawTgcHit.cxx.

62 : m_pars{pars} {}

Member Function Documentation

◆ bcTag()

int MuonCalib::MuonCalibRawTgcHit::bcTag ( ) const

Definition at line 20 of file MuonCalibRawTgcHit.cxx.

20 { return m_pars.bcTag; }

◆ channel()

int MuonCalib::MuonCalibRawTgcHit::channel ( ) const

Definition at line 19 of file MuonCalibRawTgcHit.cxx.

19 { return m_pars.channel; }

◆ dump()

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

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

Definition at line 43 of file MuonCalibRawTgcHit.cxx.

43  {
44  stream << "MuonCalibRawTgcHit with" << std::endl;
45  stream << " identifier " << identify() << std::endl;
46  stream << " global position " << globalPosition() << std::endl;
47  stream << " occupancy " << occupancy() << std::endl;
48  stream << " station " << station() << std::endl;
49  stream << " eta " << eta() << std::endl;
50  stream << " phi " << phi() << std::endl;
51  stream << " gasGap " << gasGap() << std::endl;
52  stream << " isStrip " << isStrip() << std::endl;
53  stream << " channel " << channel() << std::endl;
54  stream << " bcTag " << bcTag() << std::endl;
55  stream << " width " << width() << std::endl;
56  stream << " shortWidth " << shortWidth() << std::endl;
57  stream << " longWidth " << longWidth() << std::endl;
58  stream << " length " << length() << std::endl;
59  return stream;
60  }

◆ eta()

int MuonCalib::MuonCalibRawTgcHit::eta ( ) const

Definition at line 15 of file MuonCalibRawTgcHit.cxx.

15 { return m_pars.eta; }

◆ gasGap()

int MuonCalib::MuonCalibRawTgcHit::gasGap ( ) const

Definition at line 17 of file MuonCalibRawTgcHit.cxx.

17 { return m_pars.gasGap; }

◆ globalPosition()

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

retrieve the position expressed in global coordinates

Definition at line 12 of file MuonCalibRawTgcHit.cxx.

12 { return m_pars.global_pos; }

◆ identify()

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

retrieve the MuonFixedId

Definition at line 11 of file MuonCalibRawTgcHit.cxx.

11 { return m_pars.id; }

◆ isStrip()

int MuonCalib::MuonCalibRawTgcHit::isStrip ( ) const

Definition at line 18 of file MuonCalibRawTgcHit.cxx.

18 { return m_pars.isStrip; }

◆ length()

float MuonCalib::MuonCalibRawTgcHit::length ( ) const

retrieve the strip length

Definition at line 25 of file MuonCalibRawTgcHit.cxx.

25 { return m_pars.length; }

◆ longWidth()

float MuonCalib::MuonCalibRawTgcHit::longWidth ( ) const

Definition at line 24 of file MuonCalibRawTgcHit.cxx.

24 { return m_pars.longWidth; }

◆ occupancy()

int MuonCalib::MuonCalibRawTgcHit::occupancy ( ) const

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

Definition at line 13 of file MuonCalibRawTgcHit.cxx.

13 { return m_pars.occupancy; }

◆ operator=()

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

assingment operator

◆ phi()

int MuonCalib::MuonCalibRawTgcHit::phi ( ) const

Definition at line 16 of file MuonCalibRawTgcHit.cxx.

16 { return m_pars.phi; }

◆ setBcTag()

void MuonCalib::MuonCalibRawTgcHit::setBcTag ( int  bcTag)

Definition at line 36 of file MuonCalibRawTgcHit.cxx.

36 { m_pars.bcTag = bcTag; }

◆ setChannel()

void MuonCalib::MuonCalibRawTgcHit::setChannel ( int  channel)

Definition at line 35 of file MuonCalibRawTgcHit.cxx.

35 { m_pars.channel = channel; }

◆ setEta()

void MuonCalib::MuonCalibRawTgcHit::setEta ( int  eta)

Definition at line 31 of file MuonCalibRawTgcHit.cxx.

31 { m_pars.eta = eta; }

◆ setGasGap()

void MuonCalib::MuonCalibRawTgcHit::setGasGap ( int  gasGap)

Definition at line 33 of file MuonCalibRawTgcHit.cxx.

33 { m_pars.gasGap = gasGap; }

◆ setGlobalPosition()

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

sets the position expressed in global coordinates

Definition at line 28 of file MuonCalibRawTgcHit.cxx.

28 { m_pars.global_pos = glob; }

◆ setId()

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

sets the MuonFixedId

Definition at line 27 of file MuonCalibRawTgcHit.cxx.

27 { m_pars.id = Id; }

◆ setIsStrip()

void MuonCalib::MuonCalibRawTgcHit::setIsStrip ( int  isStrip)

Definition at line 34 of file MuonCalibRawTgcHit.cxx.

34 { m_pars.isStrip = isStrip; }

◆ setLength()

void MuonCalib::MuonCalibRawTgcHit::setLength ( float  length)

sets the strip length

Definition at line 41 of file MuonCalibRawTgcHit.cxx.

41 { m_pars.length = length; }

◆ setLongWidth()

void MuonCalib::MuonCalibRawTgcHit::setLongWidth ( float  longWidth)

sets the strip width

Definition at line 40 of file MuonCalibRawTgcHit.cxx.

◆ setOccupancy()

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

sets the occupancy

Definition at line 29 of file MuonCalibRawTgcHit.cxx.

29 { m_pars.occupancy = occ; }

◆ setPhi()

void MuonCalib::MuonCalibRawTgcHit::setPhi ( int  phi)

Definition at line 32 of file MuonCalibRawTgcHit.cxx.

32 { m_pars.phi = phi; }

◆ setShortWidth()

void MuonCalib::MuonCalibRawTgcHit::setShortWidth ( float  shortWidth)

Definition at line 39 of file MuonCalibRawTgcHit.cxx.

◆ setStation()

void MuonCalib::MuonCalibRawTgcHit::setStation ( int  station)

Definition at line 30 of file MuonCalibRawTgcHit.cxx.

30 { m_pars.station = station; }

◆ setWidth()

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

Definition at line 38 of file MuonCalibRawTgcHit.cxx.

38 { m_pars.width = width; }

◆ shortWidth()

float MuonCalib::MuonCalibRawTgcHit::shortWidth ( ) const

Definition at line 23 of file MuonCalibRawTgcHit.cxx.

23 { return m_pars.shortWidth; }

◆ station()

int MuonCalib::MuonCalibRawTgcHit::station ( ) const

Definition at line 14 of file MuonCalibRawTgcHit.cxx.

14 { return m_pars.station; }

◆ width()

float MuonCalib::MuonCalibRawTgcHit::width ( ) const

Definition at line 22 of file MuonCalibRawTgcHit.cxx.

22 { return m_pars.width; }

Member Data Documentation

◆ m_pars

defineParams MuonCalib::MuonCalibRawTgcHit::m_pars {}
private

Definition at line 93 of file MuonCalibRawTgcHit.h.


The documentation for this class was generated from the following files:
make_hlt_rep.pars
pars
Definition: make_hlt_rep.py:90
MuonCalib::MuonCalibRawTgcHit::defineParams::station
int station
Definition: MuonCalibRawTgcHit.h:42
MuonCalib::MuonCalibRawTgcHit::phi
int phi() const
Definition: MuonCalibRawTgcHit.cxx:16
MuonCalib::MuonCalibRawTgcHit::Previous
@ Previous
Definition: MuonCalibRawTgcHit.h:36
MuonCalib::MuonCalibRawTgcHit::defineParams::shortWidth
float shortWidth
Definition: MuonCalibRawTgcHit.h:51
MuonCalib::MuonCalibRawTgcHit::defineParams::length
float length
strip length
Definition: MuonCalibRawTgcHit.h:53
MuonCalib::MuonCalibRawTgcHit::eta
int eta() const
Definition: MuonCalibRawTgcHit.cxx:15
MuonCalib::MuonCalibRawTgcHit::defineParams::id
MuonFixedId id
identifier of the raw hit, (is a MuonFixedId, not an Identifier)
Definition: MuonCalibRawTgcHit.h:39
MuonCalib::MuonCalibRawTgcHit::defineParams::longWidth
float longWidth
strip width
Definition: MuonCalibRawTgcHit.h:52
MuonCalib::MuonCalibRawTgcHit::width
float width() const
Definition: MuonCalibRawTgcHit.cxx:22
MuonCalib::MuonCalibRawTgcHit::isStrip
int isStrip() const
Definition: MuonCalibRawTgcHit.cxx:18
AthenaPoolTestWrite.stream
string stream
Definition: AthenaPoolTestWrite.py:12
MuonCalib::MuonCalibRawTgcHit::defineParams::gasGap
int gasGap
Definition: MuonCalibRawTgcHit.h:45
MuonCalib::MuonCalibRawTgcHit::occupancy
int occupancy() const
retrieve the occupancy (-1 == not assigned to any segment)
Definition: MuonCalibRawTgcHit.cxx:13
MuonCalib::MuonCalibRawTgcHit::defineParams::occupancy
int occupancy
occupancy (-1 == not assigned to any segment)
Definition: MuonCalibRawTgcHit.h:41
MuonCalib::MuonCalibRawTgcHit::defineParams::phi
int phi
Definition: MuonCalibRawTgcHit.h:44
MuonCalib::MuonCalibRawTgcHit::identify
const MuonFixedId & identify() const
retrieve the MuonFixedId
Definition: MuonCalibRawTgcHit.cxx:11
MuonCalib::MuonCalibRawTgcHit::defineParams::eta
int eta
Definition: MuonCalibRawTgcHit.h:43
MuonCalib::MuonCalibRawTgcHit::gasGap
int gasGap() const
Definition: MuonCalibRawTgcHit.cxx:17
MuonCalib::MuonCalibRawTgcHit::longWidth
float longWidth() const
Definition: MuonCalibRawTgcHit.cxx:24
MuonCalib::MuonCalibRawTgcHit::globalPosition
const Amg::Vector3D & globalPosition() const
retrieve the position expressed in global coordinates
Definition: MuonCalibRawTgcHit.cxx:12
MuonCalib::MuonCalibRawTgcHit::m_pars
defineParams m_pars
Definition: MuonCalibRawTgcHit.h:93
MuonCalib::MuonCalibRawTgcHit::station
int station() const
Definition: MuonCalibRawTgcHit.cxx:14
MuonCalib::MuonCalibRawTgcHit::length
float length() const
retrieve the strip length
Definition: MuonCalibRawTgcHit.cxx:25
MuonCalib::MuonCalibRawTgcHit::channel
int channel() const
Definition: MuonCalibRawTgcHit.cxx:19
MuonCalib::MuonCalibRawTgcHit::Current
@ Current
Definition: MuonCalibRawTgcHit.h:36
MuonCalib::MuonCalibRawTgcHit::defineParams::global_pos
Amg::Vector3D global_pos
position of the hit in global coordinates
Definition: MuonCalibRawTgcHit.h:40
MuonCalib::MuonCalibRawTgcHit::bcTag
int bcTag() const
Definition: MuonCalibRawTgcHit.cxx:20
MuonCalib::MuonCalibRawTgcHit::defineParams::isStrip
int isStrip
Definition: MuonCalibRawTgcHit.h:46
MuonCalib::MuonCalibRawTgcHit::defineParams::width
float width
Definition: MuonCalibRawTgcHit.h:50
MuonCalib::MuonCalibRawTgcHit::defineParams::channel
int channel
Definition: MuonCalibRawTgcHit.h:47
MuonCalib::MuonCalibRawTgcHit::defineParams::bcTag
int bcTag
Definition: MuonCalibRawTgcHit.h:48
MuonCalib::MuonCalibRawTgcHit::Next
@ Next
Definition: MuonCalibRawTgcHit.h:36
MuonCalib::MuonCalibRawTgcHit::shortWidth
float shortWidth() const
Definition: MuonCalibRawTgcHit.cxx:23