ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
MuonGM::MuonStripDesign Struct Reference

#include <MuonStripDesign.h>

Collaboration diagram for MuonGM::MuonStripDesign:

Public Member Functions

double distanceToReadout (const Amg::Vector2D &pos) const
 distance to readout More...
 
double distanceToReadout (double locY) const
 
int stripNumber (const Amg::Vector2D &pos) const
 calculate local strip number, range 1=nstrips like identifiers. More...
 
int stripNumber (double locX) const
 
bool stripPosition (int strip, Amg::Vector2D &pos) const
 calculate local strip position for a given strip number More...
 

Public Attributes

int nstrips {0}
 
double stripPitch {0.}
 
double invStripPitch {0.}
 
double stripLength {0.}
 
double stripWidth
 
double readoutLocY {0.}
 
double signY {0.}
 
Amg::Vector2D firstStripPos {Amg::Vector2D::Zero()}
 

Detailed Description

Definition at line 21 of file MuonStripDesign.h.

Member Function Documentation

◆ distanceToReadout() [1/2]

double MuonGM::MuonStripDesign::distanceToReadout ( const Amg::Vector2D pos) const
inline

distance to readout

Definition at line 44 of file MuonStripDesign.h.

◆ distanceToReadout() [2/2]

double MuonGM::MuonStripDesign::distanceToReadout ( double  locY) const
inline

Definition at line 46 of file MuonStripDesign.h.

47  { return stripNumber(pos.x()); }
48 

◆ stripNumber() [1/2]

int MuonGM::MuonStripDesign::stripNumber ( const Amg::Vector2D pos) const
inline

calculate local strip number, range 1=nstrips like identifiers.

Returns -1 if out of range

Definition at line 50 of file MuonStripDesign.h.

◆ stripNumber() [2/2]

int MuonGM::MuonStripDesign::stripNumber ( double  locX) const
inline

Definition at line 52 of file MuonStripDesign.h.

56  {
57  if (st < 1 || st > nstrips) return false;

◆ stripPosition()

bool MuonGM::MuonStripDesign::stripPosition ( int  strip,
Amg::Vector2D pos 
) const
inline

calculate local strip position for a given strip number

Definition at line 59 of file MuonStripDesign.h.

Member Data Documentation

◆ firstStripPos

Amg::Vector2D MuonGM::MuonStripDesign::firstStripPos {Amg::Vector2D::Zero()}

Definition at line 33 of file MuonStripDesign.h.

◆ invStripPitch

double MuonGM::MuonStripDesign::invStripPitch {0.}

Definition at line 28 of file MuonStripDesign.h.

◆ nstrips

int MuonGM::MuonStripDesign::nstrips {0}

Definition at line 26 of file MuonStripDesign.h.

◆ readoutLocY

double MuonGM::MuonStripDesign::readoutLocY {0.}

Definition at line 31 of file MuonStripDesign.h.

◆ signY

double MuonGM::MuonStripDesign::signY {0.}

Definition at line 32 of file MuonStripDesign.h.

◆ stripLength

double MuonGM::MuonStripDesign::stripLength {0.}

Definition at line 29 of file MuonStripDesign.h.

◆ stripPitch

double MuonGM::MuonStripDesign::stripPitch {0.}

Definition at line 27 of file MuonStripDesign.h.

◆ stripWidth

double MuonGM::MuonStripDesign::stripWidth

Definition at line 30 of file MuonStripDesign.h.


The documentation for this struct was generated from the following file:
MuonGM::MuonStripDesign::nstrips
int nstrips
Definition: MuonStripDesign.h:26
MuonGM::MuonStripDesign::stripNumber
int stripNumber(const Amg::Vector2D &pos) const
calculate local strip number, range 1=nstrips like identifiers.
Definition: MuonStripDesign.h:50
python.LumiBlobConversion.pos
pos
Definition: LumiBlobConversion.py:18