CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions
SuperClusterEt Struct Reference

#include <SuperClusterEt.h>

Public Types

typedef reco::SuperCluster type
 

Public Member Functions

double operator() (const reco::SuperCluster &c) const
 

Detailed Description

Definition at line 6 of file SuperClusterEt.h.

Member Typedef Documentation

Definition at line 7 of file SuperClusterEt.h.

Member Function Documentation

double SuperClusterEt::operator() ( const reco::SuperCluster c) const
inline

Definition at line 8 of file SuperClusterEt.h.

References reco::CaloCluster::energy(), reco::CaloCluster::position(), and funct::sin().

8 { return c.energy() * sin(c.position().theta()); }
const math::XYZPoint & position() const
cluster centroid position
Definition: CaloCluster.h:153
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
double energy() const
cluster energy
Definition: CaloCluster.h:148