CMS 3D CMS Logo

ClusterEtLess Class Reference

#include <RecoEcal/EgammaCoreTools/interface/ClusterEtLess.h>

List of all members.

Public Member Functions

bool operator() (reco::CaloCluster x, reco::CaloCluster y)


Detailed Description

Definition at line 8 of file ClusterEtLess.h.


Member Function Documentation

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     }


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:16:21 2009 for CMSSW by  doxygen 1.5.4