Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F10664172
ClusterComparisons.hh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
633 B
Subscribers
None
ClusterComparisons.hh
View Options
#ifndef _CLUSTER_COMPARISONS_HH_
#define _CLUSTER_COMPARISONS_HH_
#include
"Cluster.hh"
namespace
SpartyJet
{
class
ClusterFourVectorEtGreater
{
public
:
int
operator
()(
const
Cluster
&
c1
,
const
Cluster
&
c2
)
const
{
return
c1
.
fourVector
.
Et
()
>
c2
.
fourVector
.
Et
();
}
};
class
ClusterCentroidEtGreater
{
public
:
int
operator
()(
const
Cluster
&
c1
,
const
Cluster
&
c2
)
const
{
return
c1
.
centroid
.
Et
>
c2
.
centroid
.
Et
;
}
};
class
ClusterPtGreater
{
public
:
int
operator
()(
const
Cluster
&
c1
,
const
Cluster
&
c2
)
const
{
return
c1
.
fourVector
.
pt
()
>
c2
.
fourVector
.
pt
();
}
};
}
// namespace SpartyJet
#endif
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Thu, Apr 24, 6:31 AM (1 d, 12 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4836551
Default Alt Text
ClusterComparisons.hh (633 B)
Attached To
rSPARTYJETSVN spartyjetsvn
Event Timeline
Log In to Comment