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

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

#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
 MuonCalibRawTgcHit (const MuonCalibRawTgcHit &hit)=default
 copy constructor
MuonCalibRawTgcHitoperator= (const MuonCalibRawTgcHit &rhs)=default
 assingment operator
 ~MuonCalibRawTgcHit ()=default
 destructor
 MuonCalibRawTgcHit (const defineParams &pars)
std::ostream & dump (std::ostream &stream) const
 dump to be used for operator<<() to dump the MuonCalibRawTgcHit
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)
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
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 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
void setLength (float length)
 sets the strip length

Private Attributes

defineParams m_pars {}

Detailed Description

Calib-EDM version of TgcPrepData 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. When this value yields -1, the raw hit is not assinged to any MuonCalibSegment
  • strip length and width

Definition at line 28 of file MuonCalibRawTgcHit.h.

Member Enumeration Documentation

◆ BunchCrossingTag

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.

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

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

40{ m_pars.longWidth = longWidth; }

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

39{ m_pars.shortWidth = shortWidth; }

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

93{};

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