#include <PFPhotonClusters.h>
Public Member Functions | |
double | E5x5Element (int i, int j) |
int | EtaCrack () |
double | EtaPhiWidth () |
double | EtaWidth () |
void | FillClusterShape () |
void | FillClusterWidth () |
std::pair< double, double > | GetCrysCoor () |
std::pair< double, double > | GetCrysIndex () |
void | PFCrystalCoor () |
PFPhotonClusters (reco::PFClusterRef PFClusterRef) | |
double | PhiWidth () |
void | SetSeed () |
Private Attributes | |
float | CrysEta_ |
int | CrysIEta_ |
int | CrysIEtaCrack_ |
int | CrysIPhi_ |
int | CrysIX_ |
int | CrysIY_ |
float | CrysPhi_ |
float | CrysX_ |
float | CrysY_ |
double | e5x5_ [5][5] |
DetId | idseed_ |
bool | isEB_ |
reco::PFClusterRef | PFClusterRef_ |
math::XYZVector | seedAxis_ |
math::XYZVector | seedPosition_ |
double | sigetaeta_ |
double | sigetaphi_ |
double | sigphiphi_ |
Definition at line 12 of file PFPhotonClusters.h.
PFPhotonClusters::PFPhotonClusters | ( | reco::PFClusterRef | PFClusterRef | ) |
Definition at line 9 of file PFPhotonClusters.cc.
References e5x5_, PFLayer::ECAL_BARREL, FillClusterShape(), FillClusterWidth(), mps_fire::i, isEB_, PFClusterRef_, PFCrystalCoor(), and SetSeed().
|
inline |
Definition at line 45 of file PFPhotonClusters.h.
References funct::abs(), and e5x5_.
Referenced by PFPhotonAlgo::EvaluateLCorrMVA().
|
inline |
Definition at line 44 of file PFPhotonClusters.h.
References CrysIEtaCrack_.
Referenced by PFPhotonAlgo::EvaluateLCorrMVA().
|
inline |
|
inline |
void PFPhotonClusters::FillClusterShape | ( | ) |
Definition at line 146 of file PFPhotonClusters.cc.
References funct::abs(), EBDetId::distanceEta(), EBDetId::distancePhi(), EEDetId::distanceX(), EEDetId::distanceY(), e5x5_, cropTnPTrees::frac, idseed_, EBDetId::ieta(), EBDetId::iphi(), isEB_, EEDetId::ix(), EEDetId::iy(), EBDetId::MAX_IPHI, PFClusterRef_, DetId::rawId(), and edm::shift.
Referenced by PFPhotonClusters().
void PFPhotonClusters::FillClusterWidth | ( | ) |
Definition at line 216 of file PFPhotonClusters.cc.
References funct::abs(), cuy::denominator, dPhi(), PFClusterRef_, Pi, sigetaeta_, sigetaphi_, sigphiphi_, mathSSE::sqrt(), and TwoPi.
Referenced by PFPhotonClusters().
|
inline |
Definition at line 20 of file PFPhotonClusters.h.
References CrysEta_, CrysPhi_, CrysX_, CrysY_, and isEB_.
Referenced by PFPhotonAlgo::EvaluateLCorrMVA().
|
inline |
Definition at line 32 of file PFPhotonClusters.h.
References CrysIEta_, CrysIPhi_, CrysIX_, CrysIY_, and isEB_.
Referenced by PFPhotonAlgo::EvaluateLCorrMVA().
void PFPhotonClusters::PFCrystalCoor | ( | ) |
Definition at line 49 of file PFPhotonClusters.cc.
References funct::abs(), funct::cos(), CrysEta_, CrysIEta_, CrysIEtaCrack_, CrysIPhi_, CrysIX_, CrysIY_, CrysPhi_, CrysX_, CrysY_, particleFlowClusterECALTimeSelected_cfi::depth, PFLayer::ECAL_BARREL, idseed_, EBDetId::ieta(), EBDetId::iphi(), isEB_, EEDetId::ix(), EEDetId::iy(), cmsBatch::log, PFClusterRef_, colinearityKinematic::Phi, Phi_mpi_pi(), PhiWidth(), Pi, DetId::rawId(), seedAxis_, seedPosition_, and X0.
Referenced by PFPhotonClusters().
|
inline |
Definition at line 55 of file PFPhotonClusters.h.
References sigphiphi_.
Referenced by PFCrystalCoor().
void PFPhotonClusters::SetSeed | ( | ) |
Definition at line 22 of file PFPhotonClusters.cc.
References cropTnPTrees::frac, TruncatedPyramid::getPosition(), idseed_, PFClusterRef_, position, seedAxis_, and seedPosition_.
Referenced by PFPhotonClusters().
|
private |
Definition at line 65 of file PFPhotonClusters.h.
Referenced by GetCrysCoor(), and PFCrystalCoor().
|
private |
Definition at line 66 of file PFPhotonClusters.h.
Referenced by GetCrysIndex(), and PFCrystalCoor().
|
private |
Definition at line 66 of file PFPhotonClusters.h.
Referenced by EtaCrack(), and PFCrystalCoor().
|
private |
Definition at line 66 of file PFPhotonClusters.h.
Referenced by GetCrysIndex(), and PFCrystalCoor().
|
private |
Definition at line 66 of file PFPhotonClusters.h.
Referenced by GetCrysIndex(), and PFCrystalCoor().
|
private |
Definition at line 66 of file PFPhotonClusters.h.
Referenced by GetCrysIndex(), and PFCrystalCoor().
|
private |
Definition at line 65 of file PFPhotonClusters.h.
Referenced by GetCrysCoor(), and PFCrystalCoor().
|
private |
Definition at line 65 of file PFPhotonClusters.h.
Referenced by GetCrysCoor(), and PFCrystalCoor().
|
private |
Definition at line 65 of file PFPhotonClusters.h.
Referenced by GetCrysCoor(), and PFCrystalCoor().
|
private |
Definition at line 68 of file PFPhotonClusters.h.
Referenced by E5x5Element(), FillClusterShape(), and PFPhotonClusters().
|
private |
Definition at line 61 of file PFPhotonClusters.h.
Referenced by FillClusterShape(), PFCrystalCoor(), and SetSeed().
|
private |
Definition at line 63 of file PFPhotonClusters.h.
Referenced by FillClusterShape(), GetCrysCoor(), GetCrysIndex(), PFCrystalCoor(), and PFPhotonClusters().
|
private |
Definition at line 59 of file PFPhotonClusters.h.
Referenced by FillClusterShape(), FillClusterWidth(), PFCrystalCoor(), PFPhotonClusters(), and SetSeed().
|
private |
Definition at line 62 of file PFPhotonClusters.h.
Referenced by PFCrystalCoor(), and SetSeed().
|
private |
Definition at line 62 of file PFPhotonClusters.h.
Referenced by PFCrystalCoor(), and SetSeed().
|
private |
Definition at line 69 of file PFPhotonClusters.h.
Referenced by EtaWidth(), and FillClusterWidth().
|
private |
Definition at line 69 of file PFPhotonClusters.h.
Referenced by EtaPhiWidth(), and FillClusterWidth().
|
private |
Definition at line 69 of file PFPhotonClusters.h.
Referenced by FillClusterWidth(), and PhiWidth().