Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::SubCut Class Reference
Inheritance diagram for Hal::SubCut:

Public Member Functions

 SubCut (Int_t size=1)
 
void SetUnitName (TString name, Int_t i=0)
 
void SetMin (Double_t val, Int_t i=0)
 
void SetMax (Double_t val, Int_t i=0)
 
Bool_t Validate ()
 
Bool_t ValidateAbs ()
 
TString GetUnit (Int_t i) const
 
SubCutoperator= (const SubCut &other)
 
Int_t GetSize () const
 
void SetValue (Double_t val, Int_t i=0)
 
Double_t GetMin (Int_t i) const
 
Double_t GetMax (Int_t i) const
 
Double_t GetValue (Int_t i) const
 
 SubCut (const SubCut &other)
 

Detailed Description

Definition at line 24 of file SubCut.h.

Constructor & Destructor Documentation

◆ SubCut() [1/2]

Hal::SubCut::SubCut ( Int_t size = 1)

constructor

Parameters
sizedefault sub-cut size

Definition at line 22 of file SubCut.cxx.

◆ SubCut() [2/2]

Hal::SubCut::SubCut ( const SubCut & other)

copy constructor

Parameters
other

Definition at line 44 of file SubCut.cxx.

◆ ~SubCut()

Hal::SubCut::~SubCut ( )
virtual

Definition at line 58 of file SubCut.cxx.

Member Function Documentation

◆ GetMax()

Double_t Hal::SubCut::GetMax ( Int_t i) const
inline

return upper edge of cut for given parameter

Parameters
iparameter no
Returns
upper edge value

Definition at line 99 of file SubCut.h.

◆ GetMin()

Double_t Hal::SubCut::GetMin ( Int_t i) const
inline

return lower edge of cut for given parameter

Parameters
iparameter no
Returns
lower edge value

Definition at line 93 of file SubCut.h.

◆ GetSize()

Int_t Hal::SubCut::GetSize ( ) const
inline
Returns
number of paramters in this subcut

Definition at line 81 of file SubCut.h.

◆ GetUnit()

TString Hal::SubCut::GetUnit ( Int_t i) const
inline
Parameters
iaxis (parameter no)
Returns
unit name

Definition at line 70 of file SubCut.h.

◆ GetValue()

Double_t Hal::SubCut::GetValue ( Int_t i) const
inline

return latest value put by SetValue with given parameter number

Parameters
iparameter no
Returns
value

Definition at line 105 of file SubCut.h.

◆ operator=()

SubCut & Hal::SubCut::operator= ( const SubCut & other)

operator =

Parameters
other
Returns

Definition at line 65 of file SubCut.cxx.

◆ SetMax()

void Hal::SubCut::SetMax ( Double_t val,
Int_t i = 0 )

set maximum of given sub-cut parameter (axis)

Parameters
valmaximum
iparameter no

Definition at line 86 of file SubCut.cxx.

◆ SetMin()

void Hal::SubCut::SetMin ( Double_t val,
Int_t i = 0 )

set minimum of given sub-cut parameter

Parameters
valminimum (axis)
iparameter no

Definition at line 84 of file SubCut.cxx.

◆ SetUnitName()

void Hal::SubCut::SetUnitName ( TString name,
Int_t i = 0 )
inline

set name of cut unit on given parameter

Parameters
nameunit name
iparameter numer

Definition at line 41 of file SubCut.h.

◆ SetValue()

void Hal::SubCut::SetValue ( Double_t val,
Int_t i = 0 )
inline

set value of given parameter

Parameters
valvalue
iparameter no

Definition at line 87 of file SubCut.h.

◆ Validate()

Bool_t Hal::SubCut::Validate ( )

check values

Returns
return true if values for all axes are between fMin and fMax

Definition at line 92 of file SubCut.cxx.

◆ ValidateAbs()

Bool_t Hal::SubCut::ValidateAbs ( )

check values

Returns
return true if absolute values for all axes are between fMin and fMax

Definition at line 99 of file SubCut.cxx.


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