Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::SubCutRectangle Class Reference

#include <SubCut.h>

Inheritance diagram for Hal::SubCutRectangle:

Public Member Functions

void AddSquare (Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax)
 
Bool_t Init (const Cut &thisCut, Int_t par1, Int_t par2=1)
 
Int_t Validate (Double_t x, Double_t y)
 
Int_t GetAreasNo ()
 
void AddToReport (Package *report) const
 
 ClassDef (SubCutRectangle, 1)
 

Detailed Description

class for accepting objects in rectangle-like ranges

Definition at line 192 of file SubCut.h.

Constructor & Destructor Documentation

◆ SubCutRectangle()

Hal::SubCutRectangle::SubCutRectangle ( )

Definition at line 198 of file SubCut.cxx.

◆ ~SubCutRectangle()

Hal::SubCutRectangle::~SubCutRectangle ( )
virtual

Definition at line 248 of file SubCut.cxx.

Member Function Documentation

◆ AddSquare()

void Hal::SubCutRectangle::AddSquare ( Double_t xmin,
Double_t xmax,
Double_t ymin,
Double_t ymax )

Definition at line 200 of file SubCut.cxx.

◆ AddToReport()

void Hal::SubCutRectangle::AddToReport ( Package * report) const

add this object to cut report

Definition at line 225 of file SubCut.cxx.

◆ GetAreasNo()

Int_t Hal::SubCutRectangle::GetAreasNo ( )
inline

return number of polygons

Definition at line 222 of file SubCut.h.

◆ Init()

Bool_t Hal::SubCutRectangle::Init ( const Cut & thisCut,
Int_t par1,
Int_t par2 = 1 )

check if everything is ok

Parameters
thisCutreference to this cut
par1ID of first checked parameter in thisCut object
par2ID of second checked parameter in thisCut object
Returns
tru if this is ok

Definition at line 239 of file SubCut.cxx.

◆ Validate()

Int_t Hal::SubCutRectangle::Validate ( Double_t x,
Double_t y )
Parameters
x
y
Returns
number of squares that cover object range

Definition at line 217 of file SubCut.cxx.


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