StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
StarGenerator
EvtGen1_06_00
EvtGenBase
EvtPointPred.hh
1
/*******************************************************************************
2
* Project: BaBar detector at the SLAC PEP-II B-factory
3
* Package: EvtGenBase
4
* File: $Id: EvtPointPred.hh,v 1.1 2016/09/23 18:37:32 jwebb Exp $
5
* Author: Alexei Dvoretskii, dvoretsk@slac.stanford.edu, 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
16
template
<
class
Po
int
>
class
EvtPointPred
{
17
public
:
18
19
typedef
Point argument_type;
20
typedef
bool
result_type;
21
22
EvtPointPred
() {}
23
EvtPointPred
(
const
EvtPointPred
&) {}
24
~
EvtPointPred
() {}
25
26
result_type operator()(argument_type x)
27
{
28
return
x.isValid();
29
}
30
};
31
EvtPointPred
Definition:
EvtPointPred.hh:16
Generated by
1.8.5