#include <EdbSegmentCut.h>
◆ EdbSegmentCut() [1/2]
| EdbSegmentCut::EdbSegmentCut |
( |
| ) |
|
|
inline |
◆ EdbSegmentCut() [2/2]
| EdbSegmentCut::EdbSegmentCut |
( |
int |
xi, |
|
|
float |
var[10] |
|
) |
| |
◆ ~EdbSegmentCut()
| virtual EdbSegmentCut::~EdbSegmentCut |
( |
| ) |
|
|
inlinevirtual |
◆ CutLine()
| const char * EdbSegmentCut::CutLine |
( |
char * |
str, |
|
|
int |
i = 0, |
|
|
int |
j = 0 |
|
) |
| const |
41 " TCut x%1d%2.2d = \"!(eX0>%f&&eX0<%f && eY0>%f&&eY0<%f && eTx>%f&&eTx<%f && eTy>%f&&eTy<%f && ePuls>%f&&ePuls<%f)\";\n"
42 ,i,j,
eMin[0],
eMax[0],
eMin[1],
eMax[1],
eMin[2],
eMax[2],
eMin[3],
eMax[3],
eMin[4],
eMax[4]);
47 " TCut i%1d%2.2d = \"(eX0>%f&&eX0<%f && eY0>%f&&eY0<%f && eTx>%f&&eTx<%f && eTy>%f&&eTy<%f && ePuls>%f&&ePuls<%f)\";\n"
48 ,i,j,
eMin[0],
eMax[0],
eMin[1],
eMax[1],
eMin[2],
eMax[2],
eMin[3],
eMax[3],
eMin[4],
eMax[4]);
Int_t eXI
Definition: EdbSegmentCut.h:9
Float_t eMax[5]
Definition: EdbSegmentCut.h:11
Float_t eMin[5]
Definition: EdbSegmentCut.h:10
◆ Max()
| float EdbSegmentCut::Max |
( |
int |
i | ) |
const |
|
inline |
◆ Min()
| float EdbSegmentCut::Min |
( |
int |
i | ) |
const |
|
inline |
◆ PassCut()
| int EdbSegmentCut::PassCut |
( |
float |
var[5] | ) |
|
int PassCutX(float var[5])
Definition: EdbSegmentCut.cxx:24
int PassCutI(float var[5])
Definition: EdbSegmentCut.cxx:54
◆ PassCutI()
| int EdbSegmentCut::PassCutI |
( |
float |
var[5] | ) |
|
58 for(
int i=0; i<5; i++) {
59 if(var[i]<
eMin[i])
return 0;
60 if(var[i]>
eMax[i])
return 0;
◆ PassCutX()
| int EdbSegmentCut::PassCutX |
( |
float |
var[5] | ) |
|
28 for(
int i=0; i<5; i++) {
29 if(var[i]<
eMin[i])
return 1;
30 if(var[i]>
eMax[i])
return 1;
◆ Print()
| void EdbSegmentCut::Print |
( |
| ) |
|
◆ SetMax()
| void EdbSegmentCut::SetMax |
( |
float |
max[5] | ) |
|
|
inline |
20 {
for(
int i=0;i<5;i++)
eMax[i]=
max[i]; }
int max
Definition: check_shower.C:41
◆ SetMin()
| void EdbSegmentCut::SetMin |
( |
float |
min[5] | ) |
|
|
inline |
19 {
for(
int i=0;i<5;i++)
eMin[i]=
min[i]; }
float min(TClonesArray *t)
Definition: bitview.cxx:275
◆ SetXI()
| void EdbSegmentCut::SetXI |
( |
int |
xi | ) |
|
|
inline |
◆ XI()
| int EdbSegmentCut::XI |
( |
| ) |
const |
|
inline |
◆ eMax
| Float_t EdbSegmentCut::eMax[5] |
|
private |
◆ eMin
| Float_t EdbSegmentCut::eMin[5] |
|
private |
◆ eXI
The documentation for this class was generated from the following files: