#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 17 of file EcalRegressionData.h.
|
strong |
Enumerator | |
---|---|
C1 | |
C2 | |
C3 |
Definition at line 24 of file EcalRegressionData.h.
|
inline |
void EcalRegressionData::clear | ( | void | ) |
Definition at line 118 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 EcalRegressionData(), and fill().
|
inlineprivate |
Definition at line 103 of file EcalRegressionData.h.
References scRawEnergy().
Referenced by e2ndOverSCRawEnergy(), eMaxOverSCRawEnergy(), maxSubClusDRRawEnergyOverSCRawEnergy(), scPreShowerEnergyOverSCRawEnergy(), scSeedR9(), seedClusEnergyOverSCRawEnergy(), and subClusRawEnergyOverSCRawEnergy().
|
inline |
Definition at line 38 of file EcalRegressionData.h.
References e2nd_.
Referenced by e2ndOverSCRawEnergy(), and pat::PATPhotonProducer::produce().
|
inline |
Definition at line 66 of file EcalRegressionData.h.
References divideBySCRawEnergy_(), and e2nd().
Referenced by fillVecEB_(), and fillVecEE_().
|
inline |
Definition at line 39 of file EcalRegressionData.h.
References e3x3_.
Referenced by pat::PATPhotonProducer::produce(), and scSeedR9().
|
inline |
Definition at line 41 of file EcalRegressionData.h.
References eBottom_.
Referenced by pat::PATPhotonProducer::produce(), and seedTopBottomAsym().
|
inline |
Definition at line 42 of file EcalRegressionData.h.
References eLeft_.
Referenced by pat::PATPhotonProducer::produce(), and seedLeftRightAsym().
|
inline |
Definition at line 37 of file EcalRegressionData.h.
References eMax_.
Referenced by eMaxOverSCRawEnergy(), and pat::PATPhotonProducer::produce().
|
inline |
Definition at line 65 of file EcalRegressionData.h.
References divideBySCRawEnergy_(), and eMax().
Referenced by fillVecEB_(), and fillVecEE_().
|
inline |
Definition at line 43 of file EcalRegressionData.h.
References eRight_.
Referenced by pat::PATPhotonProducer::produce(), and seedLeftRightAsym().
|
inline |
Definition at line 40 of file EcalRegressionData.h.
References eTop_.
Referenced by pat::PATPhotonProducer::produce(), and seedTopBottomAsym().
|
inline |
Definition at line 82 of file EcalRegressionData.h.
References relativeConstraints::geom, and pwdgSkimBPark_cfi::vertices.
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 49 of file EcalRegressionData.cc.
References clear(), reco::SuperCluster::clustersBegin(), reco::SuperCluster::clustersEnd(), reco::SuperCluster::clustersSize(), reco::CaloCluster::correctedEnergy(), reco::deltaPhi(), DetId::det(), HLT_FULL_cff::dEta, HLT_FULL_cff::dPhi, e2nd_, e3x3_, eBottom_, EcalBarrel, eLeft_, cosmicPhotonAnalyzer_cfi::eMax, eMax_, eRight_, reco::CaloCluster::eta(), reco::SuperCluster::etaWidth(), eTop_, relativeConstraints::geom, isEB(), isEB_, EcalTools::isHGCalDet(), edm::isNotFinite(), egammaTools::localEcalClusterCoordsEB(), egammaTools::localEcalClusterCoordsEE(), maxSubClusDR2_, maxSubClusDRDEta_, maxSubClusDRDPhi_, maxSubClusDRRawEnergy_, nrVtx_, reco::CaloCluster::phi(), reco::SuperCluster::phiWidth(), reco::SuperCluster::preshowerEnergy(), reco::SuperCluster::rawEnergy(), FastTrackerRecHitMaskProducer_cfi::recHits, scCalibEnergy_, scEta_, scEtaWidth_, scNrAdditionalClusters_, scPhi_, scPhiWidth_, scPreShowerEnergy_, scRawEnergy_, reco::SuperCluster::seed(), seedClusEnergy_, seedCrysEtaOrX_, seedCrysIEtaOrIX_, seedCrysIPhiOrIY_, seedCrysPhiOrY_, sigmaIEtaIEta_, sigmaIEtaIPhi_, sigmaIPhiIPhi_, mathSSE::sqrt(), subClusDEta_, subClusDPhi_, subClusRawEnergy_, and DetId::subdetId().
void EcalRegressionData::fillVec | ( | std::vector< float > & | inputVec | ) | const |
Definition at line 158 of file EcalRegressionData.cc.
References fillVecEB_(), fillVecEE_(), and isEB().
Referenced by RegressionHelper::getEcalRegression(), and BaselinePFSCRegression::set().
|
private |
Definition at line 165 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 205 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 27 of file EcalRegressionData.h.
References isEB_.
Referenced by Electron.Electron::absIsoWithFSR(), fill(), and fillVec().
|
inline |
Definition at line 52 of file EcalRegressionData.h.
References maxSubClusDR2_, and mathSSE::sqrt().
Referenced by fillVecEB_(), fillVecEE_(), and pat::PATPhotonProducer::produce().
|
inline |
Definition at line 54 of file EcalRegressionData.h.
References maxSubClusDRDEta_.
Referenced by fillVecEB_(), fillVecEE_(), and pat::PATPhotonProducer::produce().
|
inline |
Definition at line 53 of file EcalRegressionData.h.
References maxSubClusDRDPhi_.
Referenced by fillVecEB_(), fillVecEE_(), and pat::PATPhotonProducer::produce().
|
inline |
Definition at line 55 of file EcalRegressionData.h.
References maxSubClusDRRawEnergy_.
Referenced by maxSubClusDRRawEnergyOverSCRawEnergy(), and pat::PATPhotonProducer::produce().
|
inline |
Definition at line 69 of file EcalRegressionData.h.
References divideBySCRawEnergy_(), and maxSubClusDRRawEnergy().
Referenced by fillVecEB_(), and fillVecEE_().
|
inline |
Definition at line 59 of file EcalRegressionData.h.
References nrVtx_.
Referenced by fillVecEB_(), and fillVecEE_().
|
inline |
Definition at line 29 of file EcalRegressionData.h.
References scCalibEnergy_.
Referenced by fillVecEB_(), and fillVecEE_().
|
inline |
Definition at line 31 of file EcalRegressionData.h.
References scEta_.
Referenced by fillVecEB_(), and fillVecEE_().
|
inline |
Definition at line 33 of file EcalRegressionData.h.
References scEtaWidth_.
Referenced by fillVecEB_(), and fillVecEE_().
|
inline |
Definition at line 35 of file EcalRegressionData.h.
References scNrAdditionalClusters_.
Referenced by fillVecEB_(), and fillVecEE_().
|
inline |
Definition at line 32 of file EcalRegressionData.h.
References scPhi_.
Referenced by fillVecEB_(), and fillVecEE_().
|
inline |
Definition at line 34 of file EcalRegressionData.h.
References scPhiWidth_.
Referenced by fillVecEB_(), and fillVecEE_().
|
inline |
Definition at line 30 of file EcalRegressionData.h.
References scPreShowerEnergy_.
Referenced by scPreShowerEnergyOverSCRawEnergy().
|
inline |
Definition at line 62 of file EcalRegressionData.h.
References divideBySCRawEnergy_(), and scPreShowerEnergy().
Referenced by fillVecEE_().
|
inline |
Definition at line 28 of file EcalRegressionData.h.
References scRawEnergy_.
Referenced by divideBySCRawEnergy_().
|
inline |
Definition at line 63 of file EcalRegressionData.h.
References divideBySCRawEnergy_(), and e3x3().
Referenced by fillVecEB_(), and fillVecEE_().
|
inline |
Definition at line 36 of file EcalRegressionData.h.
References seedClusEnergy_.
Referenced by seedClusEnergyOverSCRawEnergy().
|
inline |
Definition at line 64 of file EcalRegressionData.h.
References divideBySCRawEnergy_(), and seedClusEnergy().
Referenced by fillVecEB_(), and fillVecEE_().
|
inline |
Definition at line 49 of file EcalRegressionData.h.
References seedCrysEtaOrX_.
Referenced by fillVecEB_(), and pat::PATPhotonProducer::produce().
|
inline |
Definition at line 50 of file EcalRegressionData.h.
References seedCrysIEtaOrIX_.
Referenced by fillVecEB_(), and pat::PATPhotonProducer::produce().
|
inline |
Definition at line 51 of file EcalRegressionData.h.
References seedCrysIPhiOrIY_.
Referenced by fillVecEB_(), and pat::PATPhotonProducer::produce().
|
inline |
Definition at line 48 of file EcalRegressionData.h.
References seedCrysPhiOrY_.
Referenced by fillVecEB_(), and pat::PATPhotonProducer::produce().
float EcalRegressionData::seedLeftRightAsym | ( | ) | const |
Definition at line 16 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 44 of file EcalRegressionData.h.
References sigmaIEtaIEta_.
Referenced by fillVecEB_(), fillVecEE_(), and pat::PATPhotonProducer::produce().
|
inline |
Definition at line 45 of file EcalRegressionData.h.
References sigmaIEtaIPhi_.
Referenced by fillVecEB_(), fillVecEE_(), and pat::PATPhotonProducer::produce().
|
inline |
Definition at line 46 of file EcalRegressionData.h.
References sigmaIPhiIPhi_.
Referenced by fillVecEB_(), fillVecEE_(), and pat::PATPhotonProducer::produce().
|
inline |
Definition at line 58 of file EcalRegressionData.h.
References subClusDEta_.
Referenced by fillVecEB_(), fillVecEE_(), and pat::PATPhotonProducer::produce().
float EcalRegressionData::subClusDEta | ( | size_t | clusNr | ) | const |
|
inline |
Definition at line 79 of file EcalRegressionData.h.
References subClusDEta().
Referenced by subClusDEta().
|
inline |
Definition at line 57 of file EcalRegressionData.h.
References subClusDPhi_.
Referenced by fillVecEB_(), fillVecEE_(), and pat::PATPhotonProducer::produce().
float EcalRegressionData::subClusDPhi | ( | size_t | clusNr | ) | const |
|
inline |
Definition at line 78 of file EcalRegressionData.h.
References subClusDPhi().
Referenced by subClusDPhi().
|
inline |
Definition at line 56 of file EcalRegressionData.h.
References subClusRawEnergy_.
Referenced by pat::PATPhotonProducer::produce(), and subClusRawEnergyOverSCRawEnergy().
float EcalRegressionData::subClusRawEnergy | ( | size_t | clusNr | ) | const |
|
inline |
Definition at line 77 of file EcalRegressionData.h.
References subClusRawEnergy().
Referenced by subClusRawEnergy().
|
inline |
Definition at line 70 of file EcalRegressionData.h.
References divideBySCRawEnergy_(), and subClusRawEnergy().
Referenced by fillVecEB_(), fillVecEE_(), and subClusRawEnergyOverSCRawEnergy().
|
inline |
Definition at line 74 of file EcalRegressionData.h.
References subClusRawEnergyOverSCRawEnergy().
|
private |
Definition at line 123 of file EcalRegressionData.h.
|
private |
Definition at line 124 of file EcalRegressionData.h.
|
private |
Definition at line 126 of file EcalRegressionData.h.
|
private |
Definition at line 127 of file EcalRegressionData.h.
|
private |
Definition at line 122 of file EcalRegressionData.h.
|
private |
Definition at line 128 of file EcalRegressionData.h.
|
private |
Definition at line 125 of file EcalRegressionData.h.
|
private |
Definition at line 108 of file EcalRegressionData.h.
|
private |
Definition at line 140 of file EcalRegressionData.h.
Referenced by clear(), fill(), and maxSubClusDR().
|
private |
Definition at line 142 of file EcalRegressionData.h.
Referenced by clear(), fill(), and maxSubClusDRDEta().
|
private |
Definition at line 141 of file EcalRegressionData.h.
Referenced by clear(), fill(), and maxSubClusDRDPhi().
|
private |
Definition at line 143 of file EcalRegressionData.h.
Referenced by clear(), fill(), and maxSubClusDRRawEnergy().
|
private |
Definition at line 149 of file EcalRegressionData.h.
|
private |
Definition at line 112 of file EcalRegressionData.h.
Referenced by clear(), fill(), and scCalibEnergy().
|
private |
Definition at line 114 of file EcalRegressionData.h.
|
private |
Definition at line 116 of file EcalRegressionData.h.
Referenced by clear(), fill(), and scEtaWidth().
|
private |
Definition at line 118 of file EcalRegressionData.h.
Referenced by clear(), fill(), and scNrAdditionalClusters().
|
private |
Definition at line 115 of file EcalRegressionData.h.
|
private |
Definition at line 117 of file EcalRegressionData.h.
Referenced by clear(), fill(), and scPhiWidth().
|
private |
Definition at line 113 of file EcalRegressionData.h.
Referenced by clear(), fill(), and scPreShowerEnergy().
|
private |
Definition at line 111 of file EcalRegressionData.h.
Referenced by clear(), fill(), and scRawEnergy().
|
private |
Definition at line 121 of file EcalRegressionData.h.
Referenced by clear(), fill(), and seedClusEnergy().
|
private |
Definition at line 135 of file EcalRegressionData.h.
Referenced by clear(), fill(), and seedCrysEtaOrX().
|
private |
Definition at line 136 of file EcalRegressionData.h.
Referenced by clear(), fill(), and seedCrysIEtaOrIX().
|
private |
Definition at line 137 of file EcalRegressionData.h.
Referenced by clear(), fill(), and seedCrysIPhiOrIY().
|
private |
Definition at line 134 of file EcalRegressionData.h.
Referenced by clear(), fill(), and seedCrysPhiOrY().
|
private |
Definition at line 129 of file EcalRegressionData.h.
Referenced by clear(), fill(), and sigmaIEtaIEta().
|
private |
Definition at line 130 of file EcalRegressionData.h.
Referenced by clear(), fill(), and sigmaIEtaIPhi().
|
private |
Definition at line 131 of file EcalRegressionData.h.
Referenced by clear(), fill(), and sigmaIPhiIPhi().
|
private |
Definition at line 146 of file EcalRegressionData.h.
Referenced by clear(), fill(), and subClusDEta().
|
private |
Definition at line 145 of file EcalRegressionData.h.
Referenced by clear(), fill(), and subClusDPhi().
|
private |
Definition at line 144 of file EcalRegressionData.h.
Referenced by clear(), fill(), and subClusRawEnergy().