Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
CondFormats
Alignment
interface
AlignmentSorter.h
Go to the documentation of this file.
1
#ifndef __CondFormats_Alignment_AlignmentSorter_h
2
#define __CondFormats_Alignment_AlignmentSorter_h
3
11
template
<
class
T>
12
struct
lessAlignmentDetId
:
public
std::binary_function<T,T,bool>
13
{
14
15
bool
operator()
(
const
T
&
a
,
const
T
&
b
)
16
{
17
return
a.rawId() < b.rawId();
18
}
19
20
};
21
25
template
<
class
T>
26
struct
lessIdAlignmentPair
:
public
std::binary_function<T,T,bool>
27
{
28
29
bool
operator()
(
const
T
&
a
,
const
T
&
b
)
30
{
31
return
a.first < b.first;
32
}
33
34
};
35
36
#endif
lessAlignmentDetId::operator()
bool operator()(const T &a, const T &b)
Definition:
AlignmentSorter.h:15
lessAlignmentDetId
Definition:
AlignmentSorter.h:12
lessIdAlignmentPair::operator()
bool operator()(const T &a, const T &b)
Definition:
AlignmentSorter.h:29
b
double b
Definition:
hdecay.h:120
a
double a
Definition:
hdecay.h:121
lessIdAlignmentPair
Definition:
AlignmentSorter.h:26
T
long double T
Definition:
Basic3DVectorLD.h:59
Generated for CMSSW Reference Manual by
1.8.5