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

#include <MuonCalibSimpleGeometry.h>

Inheritance diagram for MuonCalib::MuonCalibDisk:
Collaboration diagram for MuonCalib::MuonCalibDisk:

Public Member Functions

 MuonCalibDisk (double z, double r)
 
bool inBounds (const Amg::Vector3D &pos, double tolerance=0.) const
 

Public Attributes

double zPos
 
double radius
 

Detailed Description

Definition at line 18 of file MuonCalibSimpleGeometry.h.

Constructor & Destructor Documentation

◆ MuonCalibDisk()

MuonCalib::MuonCalibDisk::MuonCalibDisk ( double  z,
double  r 
)
inline

Definition at line 20 of file MuonCalibSimpleGeometry.h.

20 : zPos(z), radius(r) {}

Member Function Documentation

◆ inBounds()

bool MuonCalib::MuonCalibDisk::inBounds ( const Amg::Vector3D pos,
double  tolerance = 0. 
) const
virtual

Implements MuonCalib::MuonCalibSurface.

Definition at line 14 of file MuonCalibSimpleGeometry.cxx.

14  {
15  // check whether at same z
16  if (std::abs(pos.z() - zPos) > z_match_tol) return false;
17 
18  // check radius distance
19  if (pos.perp() - radius > tolerance) return false;
20 
21  return true;
22  }

Member Data Documentation

◆ radius

double MuonCalib::MuonCalibDisk::radius

Definition at line 23 of file MuonCalibSimpleGeometry.h.

◆ zPos

double MuonCalib::MuonCalibDisk::zPos

Definition at line 22 of file MuonCalibSimpleGeometry.h.


The documentation for this class was generated from the following files:
beamspotman.r
def r
Definition: beamspotman.py:676
z
#define z
tolerance
Definition: suep_shower.h:17
MuonCalib::MuonCalibDisk::radius
double radius
Definition: MuonCalibSimpleGeometry.h:23
python.LumiBlobConversion.pos
pos
Definition: LumiBlobConversion.py:18
MuonCalib::MuonCalibDisk::zPos
double zPos
Definition: MuonCalibSimpleGeometry.h:22