RecoEcal
EgammaCoreTools
interface
SuperClusterShapeAlgo.h
Go to the documentation of this file.
1
#ifndef RecoEcal_EgammaCoreTools_SuperClusterShapeAlgo_h
2
#define RecoEcal_EgammaCoreTools_SuperClusterShapeAlgo_h
3
13
#include <map>
14
15
#include "
FWCore/Framework/interface/ESHandle.h
"
16
17
#include "
DataFormats/EgammaReco/interface/SuperCluster.h
"
18
#include "
DataFormats/EcalRecHit/interface/EcalRecHitCollections.h
"
19
#include "
DataFormats/EcalRecHit/interface/EcalRecHit.h
"
20
#include "
DataFormats/DetId/interface/DetId.h
"
21
#include "
DataFormats/Math/interface/Point3D.h
"
22
#include "
RecoEcal/EgammaCoreTools/interface/PositionCalc.h
"
23
#include "
Geometry/CaloGeometry/interface/CaloGeometry.h
"
24
25
class
CaloSubdetectorTopology
;
26
27
class
SuperClusterShapeAlgo
{
28
public
:
29
SuperClusterShapeAlgo
(
const
EcalRecHitCollection
*
hits
,
const
CaloSubdetectorGeometry
*
geometry
);
30
31
void
Calculate_Covariances
(
const
reco::SuperCluster
& passedCluster);
32
33
double
etaWidth
() {
return
etaWidth_
; }
34
double
phiWidth
() {
return
phiWidth_
; }
35
36
private
:
37
const
EcalRecHitCollection
*
recHits_
;
38
const
CaloSubdetectorGeometry
*
geometry_
;
39
40
double
etaWidth_
,
phiWidth_
;
41
};
42
43
#endif
EcalRecHit.h
SuperClusterShapeAlgo::phiWidth_
double phiWidth_
Definition:
SuperClusterShapeAlgo.h:40
SuperClusterShapeAlgo::Calculate_Covariances
void Calculate_Covariances(const reco::SuperCluster &passedCluster)
Definition:
SuperClusterShapeAlgo.cc:17
edm::SortedCollection< EcalRecHit >
CaloSubdetectorGeometry
Definition:
CaloSubdetectorGeometry.h:22
hfClusterShapes_cfi.hits
hits
Definition:
hfClusterShapes_cfi.py:5
EcalRecHitCollections.h
SuperClusterShapeAlgo::etaWidth
double etaWidth()
Definition:
SuperClusterShapeAlgo.h:33
SuperClusterShapeAlgo::etaWidth_
double etaWidth_
Definition:
SuperClusterShapeAlgo.h:40
SuperClusterShapeAlgo::geometry_
const CaloSubdetectorGeometry * geometry_
Definition:
SuperClusterShapeAlgo.h:38
Point3D.h
ESHandle.h
CaloSubdetectorTopology
Definition:
CaloSubdetectorTopology.h:17
reco::SuperCluster
Definition:
SuperCluster.h:20
SuperClusterShapeAlgo::phiWidth
double phiWidth()
Definition:
SuperClusterShapeAlgo.h:34
PositionCalc.h
CaloGeometry.h
SuperClusterShapeAlgo::recHits_
const EcalRecHitCollection * recHits_
Definition:
SuperClusterShapeAlgo.h:37
SuperClusterShapeAlgo
Definition:
SuperClusterShapeAlgo.h:27
SuperClusterShapeAlgo::SuperClusterShapeAlgo
SuperClusterShapeAlgo(const EcalRecHitCollection *hits, const CaloSubdetectorGeometry *geometry)
Definition:
SuperClusterShapeAlgo.cc:14
geometry
Definition:
geometry.py:1
DetId.h
SuperCluster.h
Generated for CMSSW Reference Manual by
1.8.14