1 /*******************************************************************************
2 * Project: BaBar detector at the SLAC PEP-II B-factory
4 * File: $Id: EvtPointPred.hh,v 1.1 2003/03/03 05:38:19 dvoretsk Exp $
5 * Author: Alexei Dvoretskii, dvoretsk@slac.stanford.edu, 2001-2002
7 * Copyright (C) 2002 Caltech
8 *******************************************************************************/
10 // Predicate testing validity of a point. The point class must provide
11 // bool isValid() method
13 #ifndef EVT_POINT_PRED_HH
14 #define EVT_POINT_PRED_HH
16 template <class Point> class EvtPointPred {
19 typedef Point argument_type;
20 typedef bool result_type;
23 EvtPointPred(const EvtPointPred&) {}
26 result_type operator()(argument_type x)