Main Page
Namespaces
Classes
Package Documentation
RecoEcal
EgammaClusterAlgos
interface
PreshowerPhiClusterAlgo.h
Go to the documentation of this file.
1
#ifndef RecoEcal_EgammaClusterAlgos_PreshowerPhiClusterAlgo_h
2
#define RecoEcal_EgammaClusterAlgos_PreshowerPhiClusterAlgo_h
3
4
#include "
DataFormats/EgammaReco/interface/PreshowerCluster.h
"
5
#include "
DataFormats/EcalRecHit/interface/EcalRecHit.h
"
6
#include "
DataFormats/Math/interface/Point3D.h
"
7
#include "
DataFormats/EcalDetId/interface/ESDetId.h
"
8
#include "
DataFormats/DetId/interface/DetId.h
"
9
#include "
RecoCaloTools/Navigation/interface/EcalPreshowerNavigator.h
"
10
#include <string>
11
#include <vector>
12
#include <set>
13
14
class
CaloSubdetectorGeometry
;
15
class
CaloSubdetectorTopology
;
16
17
class
PreshowerPhiClusterAlgo
{
18
19
public
:
20
21
typedef
math::XYZPoint
Point
;
22
23
typedef
std::map<DetId, EcalRecHit>
RecHitsMap
;
24
typedef
std::set<DetId>
HitsID
;
25
26
PreshowerPhiClusterAlgo
() :
27
esStripEnergyCut_
(0.)
28
{}
29
30
PreshowerPhiClusterAlgo
(
float
stripEnergyCut) :
31
esStripEnergyCut_
(stripEnergyCut)
32
{}
33
34
~PreshowerPhiClusterAlgo
() {};
35
36
reco::PreshowerCluster
makeOneCluster
(
ESDetId
strip
,
37
HitsID *used_strips,
38
RecHitsMap *
rechits_map
,
39
const
CaloSubdetectorGeometry
*& geometry_p,
40
CaloSubdetectorTopology
*& topology_p,
41
double
deltaEta
,
double
minDeltaPhi
,
double
maxDeltaPhi
);
42
43
bool
goodStrip
(RecHitsMap::iterator candidate_it);
44
45
private
:
46
47
float
esStripEnergyCut_
;
48
49
std::vector<ESDetId>
road_2d
;
50
51
// The map of hits
52
RecHitsMap *
rechits_map
;
53
54
// The set of used DetID's
55
HitsID *
used_s
;
56
57
};
58
#endif
59
PreshowerPhiClusterAlgo::~PreshowerPhiClusterAlgo
~PreshowerPhiClusterAlgo()
Definition:
PreshowerPhiClusterAlgo.h:34
EcalPreshowerNavigator.h
PreshowerPhiClusterAlgo::rechits_map
RecHitsMap * rechits_map
Definition:
PreshowerPhiClusterAlgo.h:52
PreshowerPhiClusterAlgo::PreshowerPhiClusterAlgo
PreshowerPhiClusterAlgo()
Definition:
PreshowerPhiClusterAlgo.h:26
PreshowerPhiClusterAlgo::esStripEnergyCut_
float esStripEnergyCut_
Definition:
PreshowerPhiClusterAlgo.h:47
CaloSubdetectorGeometry
Definition:
CaloSubdetectorGeometry.h:25
PreshowerPhiClusterAlgo::makeOneCluster
reco::PreshowerCluster makeOneCluster(ESDetId strip, HitsID *used_strips, RecHitsMap *rechits_map, const CaloSubdetectorGeometry *&geometry_p, CaloSubdetectorTopology *&topology_p, double deltaEta, double minDeltaPhi, double maxDeltaPhi)
Definition:
PreshowerPhiClusterAlgo.cc:15
fastPrimaryVertexProducer_cfi.maxDeltaPhi
maxDeltaPhi
Definition:
fastPrimaryVertexProducer_cfi.py:10
PreshowerPhiClusterAlgo::Point
math::XYZPoint Point
Definition:
PreshowerPhiClusterAlgo.h:21
EcalRecHit.h
reco::PreshowerCluster
Definition:
PreshowerCluster.h:16
fftjetdijetfilter_cfi.minDeltaPhi
minDeltaPhi
Definition:
fftjetdijetfilter_cfi.py:39
Point3D.h
spr::deltaEta
static const double deltaEta
Definition:
CaloConstants.h:8
PreshowerPhiClusterAlgo::PreshowerPhiClusterAlgo
PreshowerPhiClusterAlgo(float stripEnergyCut)
Definition:
PreshowerPhiClusterAlgo.h:30
PreshowerPhiClusterAlgo::goodStrip
bool goodStrip(RecHitsMap::iterator candidate_it)
Definition:
PreshowerPhiClusterAlgo.cc:98
CaloSubdetectorTopology
Definition:
CaloSubdetectorTopology.h:20
PreshowerCluster.h
PreshowerPhiClusterAlgo::HitsID
std::set< DetId > HitsID
Definition:
PreshowerPhiClusterAlgo.h:24
math::XYZPoint
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition:
Point3D.h:12
digitizers_cfi.strip
strip
Definition:
digitizers_cfi.py:19
ESDetId
Definition:
ESDetId.h:15
PreshowerPhiClusterAlgo::road_2d
std::vector< ESDetId > road_2d
Definition:
PreshowerPhiClusterAlgo.h:49
PreshowerPhiClusterAlgo::RecHitsMap
std::map< DetId, EcalRecHit > RecHitsMap
Definition:
PreshowerPhiClusterAlgo.h:23
PreshowerPhiClusterAlgo::used_s
HitsID * used_s
Definition:
PreshowerPhiClusterAlgo.h:55
ESDetId.h
DetId.h
PreshowerPhiClusterAlgo
Definition:
PreshowerPhiClusterAlgo.h:17
Generated for CMSSW Reference Manual by
1.8.11