#include <PFClusterShapeAlgo.h>
Public Member Functions | |
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) |
PFClusterShapeAlgo (bool useFractions, double w0) | |
~PFClusterShapeAlgo () | |
Private Types | |
enum | Direction { N, NE, E, SE, S, SW, W, NW } |
enum | GeomTopoIndex { BARREL = 0, ENDCAP = 1 } |
typedef std::map< DetId, RecHitWithFraction > | RecHitMap |
Private Member Functions | |
double | addMapEnergies (int etaIndexLow, int etaIndexHigh, int phiIndexLow, int phiIndexHigh) |
void | covariances () |
void | fill5x5Map () |
void | find_e2x2 () |
void | find_e2x5Bottom () |
void | find_e2x5Left () |
void | find_e2x5Right () |
void | find_e2x5Top () |
void | find_e3x2 () |
void | find_e3x3 () |
void | find_e4x4 () |
void | find_e5x5 () |
void | find_eMax_e2nd () |
int | findPFRHIndexFromDetId (unsigned int id) |
const reco::PFRecHitFraction * | getFractionFromDetId (const DetId &id) |
reco::ClusterShape | makeClusterShape () |
Private Attributes | |
double | covEtaEta_ |
double | covEtaPhi_ |
double | covPhiPhi_ |
reco::PFClusterRef | currentCluster_p |
unsigned int | currentClusterIndex_ |
edm::Handle < reco::PFRecHitCollection > | currentRecHit_v_p |
double | e2nd_ |
DetId | e2ndId_ |
double | e2x2_ |
double | e2x5Bottom_ |
double | e2x5Left_ |
double | e2x5Right_ |
double | e2x5Top_ |
double | e3x2_ |
double | e3x2Ratio_ |
double | e3x3_ |
double | e4x4_ |
double | e5x5_ |
double | eMax_ |
Direction | eMaxDir |
DetId | eMaxId_ |
unsigned int | geomIndex |
std::vector< const CaloSubdetectorGeometry * > | geomVector |
RecHitWithFraction | map5x5 [5][5] |
math::XYZVector | meanPosition_ |
unsigned int | topoIndex |
std::vector< const CaloSubdetectorTopology * > | topoVector |
double | totalE_ |
bool | useFractions_ |
double | w0_ |
Definition at line 37 of file PFClusterShapeAlgo.h.
|
private |
Definition at line 39 of file PFClusterShapeAlgo.h.
|
private |
Enumerator | |
---|---|
N | |
NE | |
E | |
SE | |
S | |
SW | |
W | |
NW |
Definition at line 41 of file PFClusterShapeAlgo.h.
|
private |
|
explicit |
Definition at line 3 of file PFClusterShapeAlgo.cc.
PFClusterShapeAlgo::~PFClusterShapeAlgo | ( | ) |
Definition at line 9 of file PFClusterShapeAlgo.cc.
|
private |
Definition at line 208 of file PFClusterShapeAlgo.cc.
|
private |
Definition at line 299 of file PFClusterShapeAlgo.cc.
|
private |
Definition at line 155 of file PFClusterShapeAlgo.cc.
|
private |
Definition at line 242 of file PFClusterShapeAlgo.cc.
|
private |
Definition at line 232 of file PFClusterShapeAlgo.cc.
|
private |
Definition at line 230 of file PFClusterShapeAlgo.cc.
|
private |
Definition at line 229 of file PFClusterShapeAlgo.cc.
|
private |
Definition at line 231 of file PFClusterShapeAlgo.cc.
|
private |
Definition at line 258 of file PFClusterShapeAlgo.cc.
|
private |
Definition at line 227 of file PFClusterShapeAlgo.cc.
|
private |
Definition at line 234 of file PFClusterShapeAlgo.cc.
|
private |
Definition at line 228 of file PFClusterShapeAlgo.cc.
|
private |
Definition at line 96 of file PFClusterShapeAlgo.cc.
|
private |
Definition at line 122 of file PFClusterShapeAlgo.cc.
|
private |
Definition at line 137 of file PFClusterShapeAlgo.cc.
|
private |
Definition at line 60 of file PFClusterShapeAlgo.cc.
reco::ClusterShapeCollection * PFClusterShapeAlgo::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 | ||
) |
Definition at line 14 of file PFClusterShapeAlgo.cc.
|
private |
Definition at line 81 of file PFClusterShapeAlgo.h.
|
private |
Definition at line 81 of file PFClusterShapeAlgo.h.
|
private |
Definition at line 81 of file PFClusterShapeAlgo.h.
|
private |
Definition at line 64 of file PFClusterShapeAlgo.h.
|
private |
Definition at line 63 of file PFClusterShapeAlgo.h.
|
private |
Definition at line 65 of file PFClusterShapeAlgo.h.
|
private |
Definition at line 79 of file PFClusterShapeAlgo.h.
|
private |
Definition at line 78 of file PFClusterShapeAlgo.h.
|
private |
Definition at line 80 of file PFClusterShapeAlgo.h.
|
private |
Definition at line 80 of file PFClusterShapeAlgo.h.
|
private |
Definition at line 80 of file PFClusterShapeAlgo.h.
|
private |
Definition at line 80 of file PFClusterShapeAlgo.h.
|
private |
Definition at line 80 of file PFClusterShapeAlgo.h.
|
private |
Definition at line 80 of file PFClusterShapeAlgo.h.
|
private |
Definition at line 80 of file PFClusterShapeAlgo.h.
|
private |
Definition at line 80 of file PFClusterShapeAlgo.h.
|
private |
Definition at line 80 of file PFClusterShapeAlgo.h.
|
private |
Definition at line 80 of file PFClusterShapeAlgo.h.
|
private |
Definition at line 79 of file PFClusterShapeAlgo.h.
|
private |
Definition at line 76 of file PFClusterShapeAlgo.h.
|
private |
Definition at line 78 of file PFClusterShapeAlgo.h.
|
private |
Definition at line 69 of file PFClusterShapeAlgo.h.
|
private |
Definition at line 70 of file PFClusterShapeAlgo.h.
|
private |
Definition at line 72 of file PFClusterShapeAlgo.h.
|
private |
Definition at line 73 of file PFClusterShapeAlgo.h.
|
private |
Definition at line 67 of file PFClusterShapeAlgo.h.
|
private |
Definition at line 68 of file PFClusterShapeAlgo.h.
|
private |
Definition at line 74 of file PFClusterShapeAlgo.h.
|
private |
Definition at line 60 of file PFClusterShapeAlgo.h.
|
private |
Definition at line 61 of file PFClusterShapeAlgo.h.