#include <RecoEcal/EgammaCoreTools/interface/ClusterEtLess.h>
Public Member Functions | |
bool | operator() (reco::CaloCluster x, reco::CaloCluster y) |
Definition at line 8 of file ClusterEtLess.h.
bool ClusterEtLess::operator() | ( | reco::CaloCluster | x, | |
reco::CaloCluster | y | |||
) | [inline] |
Definition at line 11 of file ClusterEtLess.h.
References reco::CaloCluster::energy(), reco::CaloCluster::position(), and funct::sin().
00012 { 00013 return ( (x.energy() * sin(x.position().theta())) < (y.energy() * sin(y.position().theta())) ) ; 00014 }