CMS 3D CMS Logo

SuperClusterEt.h

Go to the documentation of this file.
00001 #ifndef RecoAlgos_Superclustere_h
00002 #define RecoAlgos_Superclustere_h
00003 
00004 #include "DataFormats/EgammaReco/interface/SuperCluster.h"
00005 
00006    struct SuperClusterEt {
00007      typedef reco::SuperCluster type;
00008      double operator()( const reco::SuperCluster & c ) const {
00009        return c.energy() * sin( c.position().theta() );
00010      }
00011    };
00012 
00013 
00014 
00015 #endif

Generated on Tue Jun 9 17:41:50 2009 for CMSSW by  doxygen 1.5.4