#include <SubCut.h>
Similar helper like SubCut but instead of parameters - histogram of acceptance is used
Definition at line 119 of file SubCut.h.
◆ SubCutHisto() [1/2]
Hal::SubCutHisto::SubCutHisto |
( |
Int_t | size = 3 | ) |
|
constructor
- Parameters
-
Definition at line 109 of file SubCut.cxx.
◆ SubCutHisto() [2/2]
Hal::SubCutHisto::SubCutHisto |
( |
const SubCutHisto & | other | ) |
|
copy constructor
- Parameters
-
Definition at line 111 of file SubCut.cxx.
◆ ~SubCutHisto()
Hal::SubCutHisto::~SubCutHisto |
( |
| ) |
|
|
virtual |
◆ AddToReport()
void Hal::SubCutHisto::AddToReport |
( |
Package * | report | ) |
const |
add this object to cut report
Definition at line 88 of file SubCut.cxx.
◆ GetHisto()
TH1 * Hal::SubCutHisto::GetHisto |
( |
| ) |
const |
|
inline |
- Returns
- accpetance histogram
Definition at line 166 of file SubCut.h.
◆ GetSize()
Int_t Hal::SubCutHisto::GetSize |
( |
| ) |
const |
|
inline |
- Returns
- number of checked values
Definition at line 136 of file SubCut.h.
◆ Init()
Bool_t Hal::SubCutHisto::Init |
( |
const Cut & | thisCut, |
|
|
Int_t | par1, |
|
|
Int_t | par2 = -1, |
|
|
Int_t | par3 = -1 ) |
check if everything is ok
- Parameters
-
thisCut | reference to this cut |
par1 | ID of first checked parameter in thisCut object |
par2 | ID of second checked parameter in thisCut object |
par3 | ID of third checked parameter in thisCut object |
- Returns
- tru if this is ok
Definition at line 145 of file SubCut.cxx.
◆ operator=()
operator =
- Parameters
-
- Returns
Definition at line 184 of file SubCut.cxx.
◆ SetAcceptanceHistogram()
Bool_t Hal::SubCutHisto::SetAcceptanceHistogram |
( |
const TH1 & | h | ) |
|
set acceptance histogram
- Parameters
-
h | histogram with acceptance, shoud have the same numerf of dimesions like number fSize, values should be between 0 and 1 and describe probablity of accepting/rejecting object |
- Returns
- false if histogram cannot be used here
Definition at line 153 of file SubCut.cxx.
◆ Validate()
Bool_t Hal::SubCutHisto::Validate |
( |
Double_t | x, |
|
|
Double_t | y = 0, |
|
|
Double_t | z = 0 ) |
check values
- Returns
- return true if values for all axes are between fMin and fMax
Definition at line 123 of file SubCut.cxx.
◆ ValidateAbs()
Bool_t Hal::SubCutHisto::ValidateAbs |
( |
Double_t | x, |
|
|
Double_t | y = 0, |
|
|
Double_t | z = 0 ) |
check values
- Returns
- return true if absolute values for all axes are between fMin and fMax
Definition at line 141 of file SubCut.cxx.
The documentation for this class was generated from the following files: