1 #ifndef _RecoParticleFlow_PFClusterShapeProducer_PFClusterShapeAlgo_h_
2 #define _RecoParticleFlow_PFClusterShapeProducer_PFClusterShapeAlgo_h_
39 typedef std::map<DetId, RecHitWithFraction>
RecHitMap;
92 double addMapEnergies(
int etaIndexLow,
int etaIndexHigh,
int phiIndexLow,
int phiIndexHigh);
std::map< DetId, RecHitWithFraction > RecHitMap
reco::ClusterShape makeClusterShape()
Fraction of a PFRecHit (rechits can be shared between several PFCluster's)
std::vector< ClusterShape > ClusterShapeCollection
collection of ClusterShape objects
int findPFRHIndexFromDetId(unsigned int id)
math::XYZVector meanPosition_
std::vector< const CaloSubdetectorGeometry * > geomVector
reco::ClusterShapeCollection * makeClusterShapes(edm::Handle< reco::PFClusterCollection > clusterHandle, edm::Handle< reco::PFRecHitCollection > rechitHandle, const CaloSubdetectorGeometry *barrelGeo_p, const CaloSubdetectorTopology *barrelTop_p, const CaloSubdetectorGeometry *endcapGeo_p, const CaloSubdetectorTopology *endcapTop_p)
RecHitWithFraction map5x5[5][5]
reco::PFClusterRef currentCluster_p
unsigned int currentClusterIndex_
edm::Handle< reco::PFRecHitCollection > currentRecHit_v_p
XYZVectorD XYZVector
spatial vector with cartesian internal representation
std::vector< const CaloSubdetectorTopology * > topoVector
double addMapEnergies(int etaIndexLow, int etaIndexHigh, int phiIndexLow, int phiIndexHigh)
const reco::PFRecHitFraction * getFractionFromDetId(const DetId &id)
PFClusterShapeAlgo(bool useFractions, double w0)