Belle II Software  release-08-01-10
RectangularFinitePlane Class Reference

Rectangular finite plane. More...

#include <RectangularFinitePlane.h>

Inheritance diagram for RectangularFinitePlane:
Collaboration diagram for RectangularFinitePlane:

Public Member Functions

 RectangularFinitePlane (const double &, const double &, const double &, const double &)
 give dimensions of finite rectangle: u1,u2, v1,v2
 
bool isInActive (double u, double v) const
 Returns whether a u,v point is in the active plane or not. More...
 
void Print (const Option_t *="") const
 
RectangularFinitePlaneclone () const
 Deep copy ctor for polymorphic class.
 

Protected Member Functions

 ClassDef (AbsFinitePlane, 1)
 

Private Attributes

double uMin_
 
double uMax_
 
double vMin_
 
double vMax_
 

Detailed Description

Rectangular finite plane.

Definition at line 34 of file RectangularFinitePlane.h.

Member Function Documentation

◆ isInActive()

bool isInActive ( double  u,
double  v 
) const
virtual

Returns whether a u,v point is in the active plane or not.

Needs to be implemented in child class.

Implements AbsFinitePlane.

Definition at line 45 of file RectangularFinitePlane.cc.

45  {
46  return (u>=uMin_ && u<=uMax_ && v>=vMin_ && v<=vMax_);
47 }

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