Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
CommonTools
Utils
interface
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/interface/ComparisonBase.h
"
14
15
namespace
reco
{
16
namespace
parser
{
17
template
<
class
CompT>
18
struct
Comparison
:
public
ComparisonBase
{
19
bool
compare
(
double
lhs,
double
rhs)
const override
{
return
comp
(lhs, rhs); }
20
21
private
:
22
CompT
comp
;
23
};
24
}
// namespace parser
25
}
// namespace reco
26
27
#endif
reco::parser::ComparisonBase
Definition:
ComparisonBase.h:16
reco::parser::Comparison::comp
CompT comp
Definition:
Comparison.h:22
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:111
reco::parser::Comparison
Definition:
Comparison.h:18
writedatasetfile.parser
tuple parser
Definition:
writedatasetfile.py:7
reco::parser::Comparison::compare
bool compare(double lhs, double rhs) const override
Definition:
Comparison.h:19
ComparisonBase.h
Generated for CMSSW Reference Manual by
1.8.5