#include <EcalRegressionData.h>
Public Types | |
enum | SubClusNr { SubClusNr::C1 =0, SubClusNr::C2 =1, SubClusNr::C3 =2 } |
Public Member Functions | |
void | clear () |
float | e2nd () const |
float | e2ndOverSCRawEnergy () const |
float | e3x3 () const |
float | eBottom () const |
EcalRegressionData () | |
float | eLeft () const |
float | eMax () const |
float | eMaxOverSCRawEnergy () const |
float | eRight () const |
float | eTop () const |
void | fill (const reco::SuperCluster &superClus, const EcalRecHitCollection *ebRecHits, const EcalRecHitCollection *eeRecHits, const CaloGeometry *geom, const CaloTopology *topology, const reco::VertexCollection *vertices) |
void | fill (const reco::SuperCluster &superClus, const EcalRecHitCollection *ebRecHits, const EcalRecHitCollection *eeRecHits, const CaloGeometry *geom, const CaloTopology *topology, int nrVertices) |
void | fillVec (std::vector< float > &inputVec) const |
bool | isEB () const |
float | maxSubClusDR () const |
float | maxSubClusDRDEta () const |
float | maxSubClusDRDPhi () const |
float | maxSubClusDRRawEnergy () const |
float | maxSubClusDRRawEnergyOverSCRawEnergy () const |
int | nrVtx () const |
float | scCalibEnergy () const |
float | scEta () const |
float | scEtaWidth () const |
int | scNrAdditionalClusters () const |
float | scPhi () const |
float | scPhiWidth () const |
float | scPreShowerEnergy () const |
float | scPreShowerEnergyOverSCRawEnergy () const |
float | scRawEnergy () const |
float | scSeedR9 () const |
float | seedClusEnergy () const |
float | seedClusEnergyOverSCRawEnergy () const |
float | seedCrysEtaOrX () const |
float | seedCrysIEtaOrIX () const |
float | seedCrysIPhiOrIY () const |
float | seedCrysPhiOrY () const |
float | seedLeftRightAsym () const |
float | seedTopBottomAsym () const |
float | sigmaIEtaIEta () const |
float | sigmaIEtaIPhi () const |
float | sigmaIPhiIPhi () const |
const std::vector< float > & | subClusDEta () const |
float | subClusDEta (size_t clusNr) const |
float | subClusDEta (SubClusNr clusNr) const |
const std::vector< float > & | subClusDPhi () const |
float | subClusDPhi (size_t clusNr) const |
float | subClusDPhi (SubClusNr clusNr) const |
const std::vector< float > & | subClusRawEnergy () const |
float | subClusRawEnergy (size_t clusNr) const |
float | subClusRawEnergy (SubClusNr clusNr) const |
float | subClusRawEnergyOverSCRawEnergy (size_t clusNr) const |
float | subClusRawEnergyOverSCRawEnergy (SubClusNr clusNr) const |
Private Member Functions | |
float | divideBySCRawEnergy_ (float numer) const |
void | fillVecEB_ (std::vector< float > &inputVec) const |
void | fillVecEE_ (std::vector< float > &inputVec) const |
Private Attributes | |
float | e2nd_ |
float | e3x3_ |
float | eBottom_ |
float | eLeft_ |
float | eMax_ |
float | eRight_ |
float | eTop_ |
bool | isEB_ |
float | maxSubClusDR2_ |
float | maxSubClusDRDEta_ |
float | maxSubClusDRDPhi_ |
float | maxSubClusDRRawEnergy_ |
int | nrVtx_ |
float | scCalibEnergy_ |
float | scEta_ |
float | scEtaWidth_ |
int | scNrAdditionalClusters_ |
float | scPhi_ |
float | scPhiWidth_ |
float | scPreShowerEnergy_ |
float | scRawEnergy_ |
float | seedClusEnergy_ |
float | seedCrysEtaOrX_ |
int | seedCrysIEtaOrIX_ |
int | seedCrysIPhiOrIY_ |
float | seedCrysPhiOrY_ |
float | sigmaIEtaIEta_ |
float | sigmaIEtaIPhi_ |
float | sigmaIPhiIPhi_ |
std::vector< float > | subClusDEta_ |
std::vector< float > | subClusDPhi_ |
std::vector< float > | subClusRawEnergy_ |
Definition at line 16 of file EcalRegressionData.h.
|
strong |
Enumerator | |
---|---|
C1 | |
C2 | |
C3 |
Definition at line 23 of file EcalRegressionData.h.
|
inline |
void EcalRegressionData::clear | ( | void | ) |
Definition at line 120 of file EcalRegressionData.cc.
References e2nd_, e3x3_, eBottom_, eLeft_, eMax_, eRight_, eTop_, isEB_, maxSubClusDR2_, maxSubClusDRDEta_, maxSubClusDRDPhi_, maxSubClusDRRawEnergy_, nrVtx_, scCalibEnergy_, scEta_, scEtaWidth_, scNrAdditionalClusters_, scPhi_, scPhiWidth_, scPreShowerEnergy_, scRawEnergy_, seedClusEnergy_, seedCrysEtaOrX_, seedCrysIEtaOrIX_, seedCrysIPhiOrIY_, seedCrysPhiOrY_, sigmaIEtaIEta_, sigmaIEtaIPhi_, sigmaIPhiIPhi_, subClusDEta_, subClusDPhi_, and subClusRawEnergy_.
Referenced by fill().
|
inlineprivate |
Definition at line 101 of file EcalRegressionData.h.
|
inline |
Definition at line 41 of file EcalRegressionData.h.
Referenced by pat::PATPhotonProducer::produce().
|
inline |
Definition at line 69 of file EcalRegressionData.h.
Referenced by fillVecEB_(), and fillVecEE_().
|
inline |
Definition at line 42 of file EcalRegressionData.h.
Referenced by pat::PATPhotonProducer::produce().
|
inline |
Definition at line 44 of file EcalRegressionData.h.
Referenced by pat::PATPhotonProducer::produce(), and seedTopBottomAsym().
|
inline |
Definition at line 45 of file EcalRegressionData.h.
Referenced by pat::PATPhotonProducer::produce(), and seedLeftRightAsym().
|
inline |
Definition at line 40 of file EcalRegressionData.h.
Referenced by pat::PATPhotonProducer::produce().
|
inline |
Definition at line 68 of file EcalRegressionData.h.
References photonPostprocessing_cfi::eMax.
Referenced by fillVecEB_(), and fillVecEE_().
|
inline |
Definition at line 46 of file EcalRegressionData.h.
Referenced by pat::PATPhotonProducer::produce(), and seedLeftRightAsym().
|
inline |
Definition at line 43 of file EcalRegressionData.h.
Referenced by pat::PATPhotonProducer::produce(), and seedTopBottomAsym().
|
inline |
Definition at line 84 of file EcalRegressionData.h.
References hitfit::clear(), lumiContext::fill, relativeConstraints::geom, and ecaldqm::topology().
Referenced by RegressionHelper::getEcalRegression(), pat::PATPhotonProducer::produce(), and BaselinePFSCRegression::set().
void EcalRegressionData::fill | ( | const reco::SuperCluster & | superClus, |
const EcalRecHitCollection * | ebRecHits, | ||
const EcalRecHitCollection * | eeRecHits, | ||
const CaloGeometry * | geom, | ||
const CaloTopology * | topology, | ||
int | nrVertices | ||
) |
Definition at line 47 of file EcalRegressionData.cc.
References clear(), reco::SuperCluster::clustersBegin(), reco::SuperCluster::clustersEnd(), reco::SuperCluster::clustersSize(), reco::CaloCluster::correctedEnergy(), reco::deltaPhi(), DetId::det(), e2nd_, e3x3_, eBottom_, EcalBarrel, eLeft_, photonPostprocessing_cfi::eMax, eMax_, eRight_, reco::CaloCluster::eta(), reco::SuperCluster::etaWidth(), eTop_, DetId::Forward, relativeConstraints::geom, isEB(), isEB_, edm::isNotFinite(), EcalClusterLocal::localCoordsEB(), EcalClusterLocal::localCoordsEE(), maxSubClusDR2_, maxSubClusDRDEta_, maxSubClusDRDPhi_, maxSubClusDRRawEnergy_, nrVtx_, reco::CaloCluster::phi(), reco::SuperCluster::phiWidth(), reco::SuperCluster::preshowerEnergy(), reco::SuperCluster::rawEnergy(), scCalibEnergy_, scEta_, scEtaWidth_, scNrAdditionalClusters_, scPhi_, scPhiWidth_, scPreShowerEnergy_, scRawEnergy_, reco::SuperCluster::seed(), seedClusEnergy_, seedCrysEtaOrX_, seedCrysIEtaOrIX_, seedCrysIPhiOrIY_, seedCrysPhiOrY_, sigmaIEtaIEta_, sigmaIEtaIPhi_, sigmaIPhiIPhi_, mathSSE::sqrt(), subClusDEta_, subClusDPhi_, subClusRawEnergy_, DetId::subdetId(), and ecaldqm::topology().
void EcalRegressionData::fillVec | ( | std::vector< float > & | inputVec | ) | const |
Definition at line 162 of file EcalRegressionData.cc.
References fillVecEB_(), fillVecEE_(), and isEB().
Referenced by RegressionHelper::getEcalRegression(), and BaselinePFSCRegression::set().
|
private |
Definition at line 168 of file EcalRegressionData.cc.
References C1, C2, C3, e2ndOverSCRawEnergy(), eMaxOverSCRawEnergy(), maxSubClusDR(), maxSubClusDRDEta(), maxSubClusDRDPhi(), maxSubClusDRRawEnergyOverSCRawEnergy(), nrVtx(), scCalibEnergy(), scEta(), scEtaWidth(), scNrAdditionalClusters(), scPhi(), scPhiWidth(), scSeedR9(), seedClusEnergyOverSCRawEnergy(), seedCrysEtaOrX(), seedCrysIEtaOrIX(), seedCrysIPhiOrIY(), seedCrysPhiOrY(), seedLeftRightAsym(), seedTopBottomAsym(), sigmaIEtaIEta(), sigmaIEtaIPhi(), sigmaIPhiIPhi(), subClusDEta(), subClusDPhi(), and subClusRawEnergyOverSCRawEnergy().
Referenced by fillVec().
|
private |
Definition at line 208 of file EcalRegressionData.cc.
References C1, C2, C3, e2ndOverSCRawEnergy(), eMaxOverSCRawEnergy(), maxSubClusDR(), maxSubClusDRDEta(), maxSubClusDRDPhi(), maxSubClusDRRawEnergyOverSCRawEnergy(), nrVtx(), scCalibEnergy(), scEta(), scEtaWidth(), scNrAdditionalClusters(), scPhi(), scPhiWidth(), scPreShowerEnergyOverSCRawEnergy(), scSeedR9(), seedClusEnergyOverSCRawEnergy(), seedLeftRightAsym(), seedTopBottomAsym(), sigmaIEtaIEta(), sigmaIEtaIPhi(), sigmaIPhiIPhi(), subClusDEta(), subClusDPhi(), and subClusRawEnergyOverSCRawEnergy().
Referenced by fillVec().
|
inline |
Definition at line 30 of file EcalRegressionData.h.
Referenced by Electron.Electron::absIsoWithFSR(), fill(), and fillVec().
|
inline |
Definition at line 55 of file EcalRegressionData.h.
References mathSSE::sqrt().
Referenced by fillVecEB_(), fillVecEE_(), and pat::PATPhotonProducer::produce().
|
inline |
Definition at line 57 of file EcalRegressionData.h.
Referenced by fillVecEB_(), fillVecEE_(), and pat::PATPhotonProducer::produce().
|
inline |
Definition at line 56 of file EcalRegressionData.h.
Referenced by fillVecEB_(), fillVecEE_(), and pat::PATPhotonProducer::produce().
|
inline |
Definition at line 58 of file EcalRegressionData.h.
Referenced by pat::PATPhotonProducer::produce().
|
inline |
Definition at line 72 of file EcalRegressionData.h.
Referenced by fillVecEB_(), and fillVecEE_().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 38 of file EcalRegressionData.h.
Referenced by fillVecEB_(), and fillVecEE_().
|
inline |
|
inline |
|
inline |
Definition at line 33 of file EcalRegressionData.h.
|
inline |
Definition at line 65 of file EcalRegressionData.h.
Referenced by fillVecEE_().
|
inline |
Definition at line 31 of file EcalRegressionData.h.
|
inline |
Definition at line 66 of file EcalRegressionData.h.
Referenced by fillVecEB_(), and fillVecEE_().
|
inline |
Definition at line 39 of file EcalRegressionData.h.
|
inline |
Definition at line 67 of file EcalRegressionData.h.
Referenced by fillVecEB_(), and fillVecEE_().
|
inline |
Definition at line 52 of file EcalRegressionData.h.
Referenced by fillVecEB_(), and pat::PATPhotonProducer::produce().
|
inline |
Definition at line 53 of file EcalRegressionData.h.
Referenced by fillVecEB_(), and pat::PATPhotonProducer::produce().
|
inline |
Definition at line 54 of file EcalRegressionData.h.
Referenced by fillVecEB_(), and pat::PATPhotonProducer::produce().
|
inline |
Definition at line 51 of file EcalRegressionData.h.
Referenced by fillVecEB_(), and pat::PATPhotonProducer::produce().
float EcalRegressionData::seedLeftRightAsym | ( | ) | const |
Definition at line 15 of file EcalRegressionData.cc.
References eLeft(), and eRight().
Referenced by fillVecEB_(), and fillVecEE_().
float EcalRegressionData::seedTopBottomAsym | ( | ) | const |
Definition at line 22 of file EcalRegressionData.cc.
References eBottom(), and eTop().
Referenced by fillVecEB_(), and fillVecEE_().
|
inline |
Definition at line 47 of file EcalRegressionData.h.
Referenced by fillVecEB_(), fillVecEE_(), and pat::PATPhotonProducer::produce().
|
inline |
Definition at line 48 of file EcalRegressionData.h.
Referenced by fillVecEB_(), fillVecEE_(), and pat::PATPhotonProducer::produce().
|
inline |
Definition at line 49 of file EcalRegressionData.h.
Referenced by fillVecEB_(), fillVecEE_(), and pat::PATPhotonProducer::produce().
|
inline |
Definition at line 61 of file EcalRegressionData.h.
Referenced by fillVecEB_(), fillVecEE_(), and pat::PATPhotonProducer::produce().
float EcalRegressionData::subClusDEta | ( | size_t | clusNr | ) | const |
Definition at line 35 of file EcalRegressionData.cc.
References subClusDEta_.
|
inline |
Definition at line 80 of file EcalRegressionData.h.
References subClusDEta().
Referenced by subClusDEta().
|
inline |
Definition at line 60 of file EcalRegressionData.h.
Referenced by fillVecEB_(), fillVecEE_(), and pat::PATPhotonProducer::produce().
float EcalRegressionData::subClusDPhi | ( | size_t | clusNr | ) | const |
Definition at line 41 of file EcalRegressionData.cc.
References subClusDPhi_.
|
inline |
Definition at line 79 of file EcalRegressionData.h.
References subClusDPhi().
Referenced by subClusDPhi().
|
inline |
Definition at line 59 of file EcalRegressionData.h.
Referenced by pat::PATPhotonProducer::produce().
float EcalRegressionData::subClusRawEnergy | ( | size_t | clusNr | ) | const |
Definition at line 29 of file EcalRegressionData.cc.
References subClusRawEnergy_.
|
inline |
Definition at line 78 of file EcalRegressionData.h.
References subClusRawEnergy().
Referenced by subClusRawEnergy().
|
inline |
Definition at line 73 of file EcalRegressionData.h.
Referenced by fillVecEB_(), and fillVecEE_().
|
inline |
Definition at line 77 of file EcalRegressionData.h.
References subClusRawEnergyOverSCRawEnergy().
Referenced by subClusRawEnergyOverSCRawEnergy().
|
private |
Definition at line 121 of file EcalRegressionData.h.
|
private |
Definition at line 122 of file EcalRegressionData.h.
|
private |
Definition at line 124 of file EcalRegressionData.h.
|
private |
Definition at line 125 of file EcalRegressionData.h.
|
private |
Definition at line 120 of file EcalRegressionData.h.
|
private |
Definition at line 126 of file EcalRegressionData.h.
|
private |
Definition at line 123 of file EcalRegressionData.h.
|
private |
Definition at line 106 of file EcalRegressionData.h.
|
private |
Definition at line 138 of file EcalRegressionData.h.
|
private |
Definition at line 140 of file EcalRegressionData.h.
|
private |
Definition at line 139 of file EcalRegressionData.h.
|
private |
Definition at line 141 of file EcalRegressionData.h.
|
private |
Definition at line 147 of file EcalRegressionData.h.
|
private |
Definition at line 110 of file EcalRegressionData.h.
|
private |
Definition at line 112 of file EcalRegressionData.h.
|
private |
Definition at line 114 of file EcalRegressionData.h.
|
private |
Definition at line 116 of file EcalRegressionData.h.
|
private |
Definition at line 113 of file EcalRegressionData.h.
|
private |
Definition at line 115 of file EcalRegressionData.h.
|
private |
Definition at line 111 of file EcalRegressionData.h.
|
private |
Definition at line 109 of file EcalRegressionData.h.
|
private |
Definition at line 119 of file EcalRegressionData.h.
|
private |
Definition at line 133 of file EcalRegressionData.h.
|
private |
Definition at line 134 of file EcalRegressionData.h.
|
private |
Definition at line 135 of file EcalRegressionData.h.
|
private |
Definition at line 132 of file EcalRegressionData.h.
|
private |
Definition at line 127 of file EcalRegressionData.h.
|
private |
Definition at line 128 of file EcalRegressionData.h.
|
private |
Definition at line 129 of file EcalRegressionData.h.
|
private |
Definition at line 144 of file EcalRegressionData.h.
Referenced by clear(), fill(), and subClusDEta().
|
private |
Definition at line 143 of file EcalRegressionData.h.
Referenced by clear(), fill(), and subClusDPhi().
|
private |
Definition at line 142 of file EcalRegressionData.h.
Referenced by clear(), fill(), and subClusRawEnergy().