Last change
on this file since 37 was 11, checked in by severine ovyn, 16 years ago |
Fastjet added; CDFCones directory has been changed
|
File size:
906 bytes
|
Rev | Line | |
---|
[11] | 1 | #ifndef _CLUSTER_COMPARISONS_HH_
|
---|
| 2 | #define _CLUSTER_COMPARISONS_HH_
|
---|
| 3 |
|
---|
| 4 | #include "../interface/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 | class ClusterMtGreater
|
---|
| 34 | {
|
---|
| 35 | public:
|
---|
| 36 | int operator()(const Cluster& c1, const Cluster& c2) const
|
---|
| 37 | {
|
---|
| 38 | return c1.fourVector.mt() > c2.fourVector.mt();
|
---|
| 39 | }
|
---|
| 40 | };
|
---|
| 41 |
|
---|
| 42 | class ClusterPtTildeGreater
|
---|
| 43 | {
|
---|
| 44 | public:
|
---|
| 45 | int operator()(const Cluster& c1, const Cluster& c2) const
|
---|
| 46 | {
|
---|
| 47 | return c1.pt_tilde > c2.pt_tilde;
|
---|
| 48 | }
|
---|
| 49 | };
|
---|
| 50 |
|
---|
| 51 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.