CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtPointPred.hh
Go to the documentation of this file.
1/*******************************************************************************
2 * Project: BaBar detector at the SLAC PEP-II B-factory
3 * Package: EvtGenBase
4 * File: $Id: EvtPointPred.hh,v 1.1.1.2 2007/10/26 05:03:14 pingrg Exp $
5 * Author: Alexei Dvoretskii, [email protected], 2001-2002
6 *
7 * Copyright (C) 2002 Caltech
8 *******************************************************************************/
9
10// Predicate testing validity of a point. The point class must provide
11// bool isValid() method
12
13#ifndef EVT_POINT_PRED_HH
14#define EVT_POINT_PRED_HH
15
16template <class Point> class EvtPointPred {
17public:
18
19 typedef Point argument_type;
20 typedef bool result_type;
21
25
27 {
28 return x.isValid();
29 }
30};
31
Double_t x[10]
EvtPointPred(const EvtPointPred &)
result_type operator()(argument_type x)
Point argument_type