Project
Loading...
Searching...
No Matches
o2::mid::MpArea Class Reference

#include <MpArea.h>

Public Member Functions

 MpArea (double x1=0., double y1=0., double x2=0., double y2=0.)
 
double getCenterX () const
 
double getCenterY () const
 
double getHalfSizeX () const
 
double getHalfSizeY () const
 
bool isValid () const
 
void setXmin (double val)
 Set x min.
 
void setXmax (double val)
 Set x max.
 
void setYmin (double val)
 Set y min.
 
void setYmax (double val)
 Set y max.
 
double getXmin () const
 Get x min.
 
double getXmax () const
 Get x max.
 
double getYmin () const
 Get y min.
 
double getYmax () const
 Get y max.
 

Detailed Description

Definition at line 25 of file MpArea.h.

Constructor & Destructor Documentation

◆ MpArea()

o2::mid::MpArea::MpArea ( double  x1 = 0.,
double  y1 = 0.,
double  x2 = 0.,
double  y2 = 0. 
)

Constructor

Definition at line 23 of file MpArea.cxx.

Member Function Documentation

◆ getCenterX()

double o2::mid::MpArea::getCenterX ( ) const

Return x position of the area center

Definition at line 33 of file MpArea.cxx.

◆ getCenterY()

double o2::mid::MpArea::getCenterY ( ) const

Return y position of the area center

Definition at line 40 of file MpArea.cxx.

◆ getHalfSizeX()

double o2::mid::MpArea::getHalfSizeX ( ) const

Return half size in x

Definition at line 47 of file MpArea.cxx.

◆ getHalfSizeY()

double o2::mid::MpArea::getHalfSizeY ( ) const

Return half size in y

Definition at line 54 of file MpArea.cxx.

◆ getXmax()

double o2::mid::MpArea::getXmax ( ) const
inline

Get x max.

Definition at line 49 of file MpArea.h.

◆ getXmin()

double o2::mid::MpArea::getXmin ( ) const
inline

Get x min.

Definition at line 47 of file MpArea.h.

◆ getYmax()

double o2::mid::MpArea::getYmax ( ) const
inline

Get y max.

Definition at line 53 of file MpArea.h.

◆ getYmin()

double o2::mid::MpArea::getYmin ( ) const
inline

Get y min.

Definition at line 51 of file MpArea.h.

◆ isValid()

bool o2::mid::MpArea::isValid ( ) const

Check if area is valid

Definition at line 61 of file MpArea.cxx.

◆ setXmax()

void o2::mid::MpArea::setXmax ( double  val)
inline

Set x max.

Definition at line 40 of file MpArea.h.

◆ setXmin()

void o2::mid::MpArea::setXmin ( double  val)
inline

Set x min.

Definition at line 38 of file MpArea.h.

◆ setYmax()

void o2::mid::MpArea::setYmax ( double  val)
inline

Set y max.

Definition at line 44 of file MpArea.h.

◆ setYmin()

void o2::mid::MpArea::setYmin ( double  val)
inline

Set y min.

Definition at line 42 of file MpArea.h.


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