CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_8_patch3/src/CommonTools/RecoAlgos/plugins/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