src
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
public
:
19
typedef
math::XYZPoint
Point
;
20
21
typedef
std::map<DetId, EcalRecHit>
RecHitsMap
;
22
typedef
std::set<DetId>
HitsID
;
23
24
PreshowerPhiClusterAlgo
() :
esStripEnergyCut_
(0.) {}
25
26
PreshowerPhiClusterAlgo
(
float
stripEnergyCut) :
esStripEnergyCut_
(stripEnergyCut) {}
27
28
~PreshowerPhiClusterAlgo
() {}
29
30
reco::PreshowerCluster
makeOneCluster
(
ESDetId
strip
,
31
HitsID
*used_strips,
32
RecHitsMap
*
rechits_map
,
33
const
CaloSubdetectorGeometry
*geometry_p,
34
double
deltaEta
,
35
double
minDeltaPhi
,
36
double
maxDeltaPhi
);
37
38
bool
goodStrip
(RecHitsMap::iterator candidate_it);
39
40
private
:
41
float
esStripEnergyCut_
;
42
43
std::vector<ESDetId>
road_2d
;
44
45
// The map of hits
46
RecHitsMap
*
rechits_map
;
47
48
// The set of used DetID's
49
HitsID
*
used_s
;
50
};
51
#endif
EcalRecHit.h
PreshowerPhiClusterAlgo::~PreshowerPhiClusterAlgo
~PreshowerPhiClusterAlgo()
Definition:
PreshowerPhiClusterAlgo.h:28
EcalPreshowerNavigator.h
nano_mu_digi_cff.strip
strip
Definition:
nano_mu_digi_cff.py:40
PreshowerPhiClusterAlgo::rechits_map
RecHitsMap * rechits_map
Definition:
PreshowerPhiClusterAlgo.h:46
PreshowerPhiClusterAlgo::PreshowerPhiClusterAlgo
PreshowerPhiClusterAlgo()
Definition:
PreshowerPhiClusterAlgo.h:24
PreshowerPhiClusterAlgo::esStripEnergyCut_
float esStripEnergyCut_
Definition:
PreshowerPhiClusterAlgo.h:41
CaloSubdetectorGeometry
Definition:
CaloSubdetectorGeometry.h:25
PreshowerPhiClusterAlgo::makeOneCluster
reco::PreshowerCluster makeOneCluster(ESDetId strip, HitsID *used_strips, RecHitsMap *rechits_map, const CaloSubdetectorGeometry *geometry_p, double deltaEta, double minDeltaPhi, double maxDeltaPhi)
Definition:
PreshowerPhiClusterAlgo.cc:15
VBFGenJetFilter_cfi.minDeltaPhi
minDeltaPhi
Definition:
VBFGenJetFilter_cfi.py:13
PreshowerPhiClusterAlgo::Point
math::XYZPoint Point
Definition:
PreshowerPhiClusterAlgo.h:19
reco::PreshowerCluster
Definition:
PreshowerCluster.h:17
Point3D.h
spr::deltaEta
static const double deltaEta
Definition:
CaloConstants.h:8
PreshowerPhiClusterAlgo::PreshowerPhiClusterAlgo
PreshowerPhiClusterAlgo(float stripEnergyCut)
Definition:
PreshowerPhiClusterAlgo.h:26
PreshowerPhiClusterAlgo::goodStrip
bool goodStrip(RecHitsMap::iterator candidate_it)
Definition:
PreshowerPhiClusterAlgo.cc:99
CaloSubdetectorTopology
Definition:
CaloSubdetectorTopology.h:17
CommPDSkim_cfg.maxDeltaPhi
maxDeltaPhi
Definition:
CommPDSkim_cfg.py:74
PreshowerCluster.h
PreshowerPhiClusterAlgo::HitsID
std::set< DetId > HitsID
Definition:
PreshowerPhiClusterAlgo.h:22
math::XYZPoint
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition:
Point3D.h:12
RecHitsMap
std::map< DetId, EcalRecHit > RecHitsMap
Definition:
CosmicClusterAlgo.h:25
ESDetId
Definition:
ESDetId.h:15
PreshowerPhiClusterAlgo::road_2d
std::vector< ESDetId > road_2d
Definition:
PreshowerPhiClusterAlgo.h:43
PreshowerPhiClusterAlgo::RecHitsMap
std::map< DetId, EcalRecHit > RecHitsMap
Definition:
PreshowerPhiClusterAlgo.h:21
PreshowerPhiClusterAlgo::used_s
HitsID * used_s
Definition:
PreshowerPhiClusterAlgo.h:49
ESDetId.h
DetId.h
PreshowerPhiClusterAlgo
Definition:
PreshowerPhiClusterAlgo.h:17
Generated for CMSSW Reference Manual by
1.8.14