test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
CommonTools
RecoAlgos
plugins
SuperClusterEt.h
Go to the documentation of this file.
1
#ifndef RecoAlgos_Superclustere_h
2
#define RecoAlgos_Superclustere_h
3
4
#include "
DataFormats/EgammaReco/interface/SuperCluster.h
"
5
6
struct
SuperClusterEt
{
7
typedef
reco::SuperCluster
type
;
8
double
operator()
(
const
reco::SuperCluster
&
c
)
const
{
9
return
c.
energy
() *
sin
( c.
position
().theta() );
10
}
11
};
12
13
14
15
#endif
reco::CaloCluster::position
const math::XYZPoint & position() const
cluster centroid position
Definition:
CaloCluster.h:126
SuperClusterEt::type
reco::SuperCluster type
Definition:
SuperClusterEt.h:7
funct::sin
Sin< T >::type sin(const T &t)
Definition:
Sin.h:22
EnergyCorrector.c
tuple c
Definition:
EnergyCorrector.py:43
reco::CaloCluster::energy
double energy() const
cluster energy
Definition:
CaloCluster.h:121
reco::SuperCluster
Definition:
SuperCluster.h:19
SuperClusterEt::operator()
double operator()(const reco::SuperCluster &c) const
Definition:
SuperClusterEt.h:8
SuperClusterEt
Definition:
SuperClusterEt.h:6
SuperCluster.h
Generated for CMSSW Reference Manual by
1.8.5