Line | |
---|
1 | #ifndef _CLUSTER_COMPARISONS_HH_
|
---|
2 | #define _CLUSTER_COMPARISONS_HH_
|
---|
3 |
|
---|
4 | #include "Cluster.hh"
|
---|
5 |
|
---|
6 | class ClusterFourVectorEtGreater
|
---|
7 | {
|
---|
8 | public:
|
---|
9 | int operator()(const Cluster& c1, const Cluster& c2) const
|
---|
10 | {
|
---|
11 | return c1.fourVector.Et() > c2.fourVector.Et();
|
---|
12 | }
|
---|
13 | };
|
---|
14 |
|
---|
15 | class ClusterCentroidEtGreater
|
---|
16 | {
|
---|
17 | public:
|
---|
18 | int operator()(const Cluster& c1, const Cluster& c2) const
|
---|
19 | {
|
---|
20 | return c1.centroid.Et > c2.centroid.Et;
|
---|
21 | }
|
---|
22 | };
|
---|
23 |
|
---|
24 | class ClusterPtGreater
|
---|
25 | {
|
---|
26 | public:
|
---|
27 | int operator()(const Cluster& c1, const Cluster& c2) const
|
---|
28 | {
|
---|
29 | return c1.fourVector.pt() > c2.fourVector.pt();
|
---|
30 | }
|
---|
31 | };
|
---|
32 |
|
---|
33 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.