CMS 3D CMS Logo

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 { return c.energy() * sin(c.position().theta()); }
9 };
10 
11 #endif
SuperClusterEt::operator()
double operator()(const reco::SuperCluster &c) const
Definition: SuperClusterEt.h:8
reco::SuperCluster
Definition: SuperCluster.h:18
SuperClusterEt::type
reco::SuperCluster type
Definition: SuperClusterEt.h:7
funct::sin
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
SuperClusterEt
Definition: SuperClusterEt.h:6
SuperCluster.h