CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SuperClusterEt.h
Go to the documentation of this file.
1 #ifndef RecoAlgos_Superclustere_h
2 #define RecoAlgos_Superclustere_h
3 
5 
6  struct SuperClusterEt {
8  double operator()( const reco::SuperCluster & c ) const {
9  return c.energy() * sin( c.position().theta() );
10  }
11  };
12 
13 
14 
15 #endif
const math::XYZPoint & position() const
cluster centroid position
Definition: CaloCluster.h:126
reco::SuperCluster type
Definition: SuperClusterEt.h:7
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
double energy() const
cluster energy
Definition: CaloCluster.h:121
double operator()(const reco::SuperCluster &c) const
Definition: SuperClusterEt.h:8