41 void SetUnitName(TString name, Int_t i = 0) { fUnitName[i] = name; };
47 void SetMin(Double_t val, Int_t i = 0);
53 void SetMax(Double_t val, Int_t i = 0);
70 TString
GetUnit(Int_t i)
const {
return fUnitName[i]; };
81 inline Int_t
GetSize()
const {
return fSize; };
87 inline void SetValue(Double_t val, Int_t i = 0) { fValue[i] = val; };
93 inline Double_t
GetMin(Int_t i)
const {
return fMin[i]; };
99 inline Double_t
GetMax(Int_t i)
const {
return fMax[i]; };
105 inline Double_t
GetValue(Int_t i)
const {
return fValue[i]; };
121 TH1* fAcceptanceHistogram;
149 Bool_t
Validate(Double_t x, Double_t y = 0, Double_t z = 0);
155 Bool_t
ValidateAbs(Double_t x, Double_t y = 0, Double_t z = 0);
166 TH1*
GetHisto()
const {
return fAcceptanceHistogram; };
175 Bool_t
Init(
const Cut& thisCut, Int_t par1, Int_t par2 = -1, Int_t par3 = -1);
193 std::vector<Double_t> fMinX;
194 std::vector<Double_t> fMaxX;
195 std::vector<Double_t> fMinY;
196 std::vector<Double_t> fMaxY;
204 void AddSquare(Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax);
212 Bool_t
Init(
const Cut& thisCut, Int_t par1, Int_t par2 = 1);
218 Int_t
Validate(Double_t x, Double_t y);
Bool_t ValidateAbs(Double_t x, Double_t y=0, Double_t z=0)
Bool_t SetAcceptanceHistogram(const TH1 &h)
SubCutHisto(Int_t size=3)
void AddToReport(Package *report) const
SubCutHisto & operator=(const SubCutHisto &other)
Bool_t Init(const Cut &thisCut, Int_t par1, Int_t par2=-1, Int_t par3=-1)
Bool_t Validate(Double_t x, Double_t y=0, Double_t z=0)
Int_t Validate(Double_t x, Double_t y)
Bool_t Init(const Cut &thisCut, Int_t par1, Int_t par2=1)
void AddToReport(Package *report) const
void SetMax(Double_t val, Int_t i=0)
TString GetUnit(Int_t i) const
void SetUnitName(TString name, Int_t i=0)
void SetMin(Double_t val, Int_t i=0)
void SetValue(Double_t val, Int_t i=0)
Double_t GetMax(Int_t i) const
Double_t GetMin(Int_t i) const
Double_t GetValue(Int_t i) const
SubCut & operator=(const SubCut &other)