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
PositionCalc.h
hfClusterShapes_cfi.hits
hits
Definition:
hfClusterShapes_cfi.py:5
ESHandle.h
reco::SuperCluster
Definition:
SuperCluster.h:18
geometry
Definition:
geometry.py:1
SuperClusterShapeAlgo::phiWidth_
double phiWidth_
Definition:
SuperClusterShapeAlgo.h:40
edm::SortedCollection< EcalRecHit >
EcalRecHitCollections.h
SuperClusterShapeAlgo::recHits_
const EcalRecHitCollection * recHits_
Definition:
SuperClusterShapeAlgo.h:37
SuperClusterShapeAlgo::etaWidth
double etaWidth()
Definition:
SuperClusterShapeAlgo.h:33
SuperClusterShapeAlgo::SuperClusterShapeAlgo
SuperClusterShapeAlgo(const EcalRecHitCollection *hits, const CaloSubdetectorGeometry *geometry)
Definition:
SuperClusterShapeAlgo.cc:14
SuperClusterShapeAlgo
Definition:
SuperClusterShapeAlgo.h:27
SuperClusterShapeAlgo::phiWidth
double phiWidth()
Definition:
SuperClusterShapeAlgo.h:34
SuperClusterShapeAlgo::etaWidth_
double etaWidth_
Definition:
SuperClusterShapeAlgo.h:40
CaloSubdetectorTopology
Definition:
CaloSubdetectorTopology.h:17
EcalRecHit.h
DetId.h
SuperCluster.h
CaloGeometry.h
SuperClusterShapeAlgo::geometry_
const CaloSubdetectorGeometry * geometry_
Definition:
SuperClusterShapeAlgo.h:38
Point3D.h
SuperClusterShapeAlgo::Calculate_Covariances
void Calculate_Covariances(const reco::SuperCluster &passedCluster)
Definition:
SuperClusterShapeAlgo.cc:17
CaloSubdetectorGeometry
Definition:
CaloSubdetectorGeometry.h:22
Generated for CMSSW Reference Manual by
1.8.16