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

#include <MuonCalibSimpleGeometry.h>

Inheritance diagram for MuonCalib::MuonCalibCylinder:
Collaboration diagram for MuonCalib::MuonCalibCylinder:

Public Member Functions

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

Public Attributes

double radius
 
double lenght
 

Detailed Description

Definition at line 26 of file MuonCalibSimpleGeometry.h.

Constructor & Destructor Documentation

◆ MuonCalibCylinder()

MuonCalib::MuonCalibCylinder::MuonCalibCylinder ( double  r,
double  l 
)
inline

Definition at line 28 of file MuonCalibSimpleGeometry.h.

28 : radius(r), lenght(l) {}

Member Function Documentation

◆ inBounds()

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

Implements MuonCalib::MuonCalibSurface.

Definition at line 24 of file MuonCalibSimpleGeometry.cxx.

24  {
25  // check radius distance
26  if (std::abs(pos.perp() - radius) > z_match_tol) return false;
27 
28  // check whether at same z
29  if (std::abs(pos.z()) - lenght > tolerance) return false;
30 
31  return true;
32  }

Member Data Documentation

◆ lenght

double MuonCalib::MuonCalibCylinder::lenght

Definition at line 31 of file MuonCalibSimpleGeometry.h.

◆ radius

double MuonCalib::MuonCalibCylinder::radius

Definition at line 30 of file MuonCalibSimpleGeometry.h.


The documentation for this class was generated from the following files:
beamspotman.r
def r
Definition: beamspotman.py:676
MuonCalib::MuonCalibCylinder::radius
double radius
Definition: MuonCalibSimpleGeometry.h:30
UploadAMITag.l
list l
Definition: UploadAMITag.larcaf.py:158
MuonCalib::MuonCalibCylinder::lenght
double lenght
Definition: MuonCalibSimpleGeometry.h:31
tolerance
Definition: suep_shower.h:17
python.LumiBlobConversion.pos
pos
Definition: LumiBlobConversion.py:18