BOSS
8.0.0
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, 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
typedef
Point
argument_type
;
19
typedef
bool
result_type
;
20
21
EvtPointPred
() {}
22
EvtPointPred
(
const
EvtPointPred
& ) {}
23
~EvtPointPred
() {}
24
25
result_type
operator()
(
argument_type
x ) {
return
x.isValid(); }
26
};
EvtPointPred::EvtPointPred
EvtPointPred()
Definition
EvtPointPred.hh:21
EvtPointPred::~EvtPointPred
~EvtPointPred()
Definition
EvtPointPred.hh:23
EvtPointPred::EvtPointPred
EvtPointPred(const EvtPointPred &)
Definition
EvtPointPred.hh:22
EvtPointPred::operator()
result_type operator()(argument_type x)
Definition
EvtPointPred.hh:25
EvtPointPred::result_type
bool result_type
Definition
EvtPointPred.hh:19
EvtPointPred::argument_type
Point argument_type
Definition
EvtPointPred.hh:18
8.0.0
BOSS_Gen
BesEvtGen
src
EvtGen
EvtGenBase
EvtPointPred.hh
Generated by
1.16.1