//
}
+//_____________________________________________________________________
+void AliDielectronCutGroup::Init()
+{
+ // Loop over all cuts and call Init
+ TIter next(&fCutGroupList);
+ while (AliAnalysisCuts *thisCut = (AliAnalysisCuts*) next()) thisCut->Init();
+}
+
//_____________________________________________________________________
Bool_t AliDielectronCutGroup::IsSelected(TObject* track)
{
}
else { //kCompAND
selectionResult = (selectionResult && thisCut->IsSelected(track));
- if (selectionResult==kFALSE) break; //Save loops vs. additional check?
+ // if (selectionResult==kFALSE) break; //Save loops vs. additional check?
}
-
}
return selectionResult;
}
fCompOperator = compOperator;
}
+
+//________________________________________________________________________
+void AliDielectronCutGroup::Print(const Option_t* /*option*/) const
+{
+ //
+ // Print cuts and the range
+ //
+
+ // TODO: add compOperator printout
+ TIter listIterator(&fCutGroupList);
+ while (AliAnalysisCuts *thisCut = (AliAnalysisCuts*) listIterator()) {
+ thisCut->Print();
+ }
+
+}