41 , fFilterLeg1(
"PairFilterLeg1",
"PairFilterLeg1")
42 , fFilterLeg2(
"PairFilterLeg2",
"PairFilterLeg2") {
57 if (!pair)
return kFALSE;
71 return isLeg1selected;
76 return isLeg1selected;
80 Bool_t isSelected = isLeg1selected && isLeg2selected;
82 isSelected = isLeg1selected || isLeg2selected;
87 isSelected = (isLeg1selected != isLeg2selected);
93 Bool_t isLeg1selectedMirror =
95 Bool_t isLeg2selectedMirror =
97 isSelected = (isLeg1selected && isLeg2selected)
98 || (isLeg1selectedMirror && isLeg2selectedMirror);
109 printf(
"------------------------------------------\n");
110 printf(
"pair-leg cut ranges for '%s'\n", GetTitle());
112 case kBothLegs: printf(
"Both legs have to fulfill the cuts\n");
break;
113 case kAnyLeg: printf(
"Any leg have to fulfill the cuts\n");
break;
116 "Leg1(leg2) has to fullfill the leg1(2)- or leg2(1)-cuts (mix mode)\n");
119 printf(
"Only one of legs is allowed to fulfill the cuts\n");
123 printf(
"Leg filter1: \n");
129 printf(
"Leg filter2: \n");
134 printf(
"------------------------------------------\n");