Main Page
Namespaces
Classes
Package Documentation
CommonTools
Utils
src
Comparison.h
Go to the documentation of this file.
1
#ifndef CommonTools_Utils_Comparison_h
2
#define CommonTools_Utils_Comparison_h
3
/* \class reco::parser::Comparison
4
*
5
* Comparison template
6
*
7
* \author original version: Chris Jones, Cornell,
8
* adapted by Luca Lista, INFN
9
*
10
* \version $Revision: 1.2 $
11
*
12
*/
13
#include "
CommonTools/Utils/src/ComparisonBase.h
"
14
15
namespace
reco
{
16
namespace
parser
{
17
template
<
class
CompT>
18
struct
Comparison
:
public
ComparisonBase
{
19
virtual
bool
compare
(
double
lhs,
double
rhs)
const
{
return
comp
(lhs, rhs); }
20
private
:
21
CompT
comp
;
22
};
23
}
24
}
25
26
#endif
reco::parser::ComparisonBase
Definition:
ComparisonBase.h:16
reco::parser::Comparison::compare
virtual bool compare(double lhs, double rhs) const
Definition:
Comparison.h:19
reco::parser::Comparison::comp
CompT comp
Definition:
Comparison.h:21
createfilelist.parser
parser
Definition:
createfilelist.py:7
reco::parser::Comparison
Definition:
Comparison.h:18
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:43
ComparisonBase.h
Generated for CMSSW Reference Manual by
1.8.11