CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes
EcalRegressionData Class Reference

#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_
 

Detailed Description

Definition at line 17 of file EcalRegressionData.h.

Member Enumeration Documentation

◆ SubClusNr

Enumerator
C1 
C2 
C3 

Definition at line 24 of file EcalRegressionData.h.

24 { C1 = 0, C2 = 1, C3 = 2 };

Constructor & Destructor Documentation

◆ EcalRegressionData()

EcalRegressionData::EcalRegressionData ( )
inline

Definition at line 19 of file EcalRegressionData.h.

19 { clear(); }

References clear().

Member Function Documentation

◆ clear()

void EcalRegressionData::clear ( void  )

Definition at line 118 of file EcalRegressionData.cc.

118  {
119  isEB_ = false;
120  scRawEnergy_ = 0.;
121  scCalibEnergy_ = 0.;
122  scPreShowerEnergy_ = 0.;
123  scEta_ = 0.;
124  scPhi_ = 0.;
125  scEtaWidth_ = 0.;
126  scPhiWidth_ = 0.;
128 
129  seedClusEnergy_ = 0.;
130  eMax_ = 0.;
131  e2nd_ = 0.;
132  e3x3_ = 0.;
133  eTop_ = 0.;
134  eBottom_ = 0.;
135  eLeft_ = 0.;
136  eRight_ = 0.;
137  sigmaIEtaIEta_ = 0.;
138  sigmaIEtaIPhi_ = 0.;
139  sigmaIPhiIPhi_ = 0.;
140 
141  seedCrysPhiOrY_ = 0.;
142  seedCrysEtaOrX_ = 0.;
143  seedCrysIEtaOrIX_ = 0;
144  seedCrysIPhiOrIY_ = 0;
145 
146  maxSubClusDR2_ = 998001.;
147  maxSubClusDRDPhi_ = 999.;
148  maxSubClusDRDEta_ = 999;
150 
151  subClusRawEnergy_.clear();
152  subClusDPhi_.clear();
153  subClusDEta_.clear();
154 
155  nrVtx_ = 0;
156 }

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().

◆ divideBySCRawEnergy_()

float EcalRegressionData::divideBySCRawEnergy_ ( float  numer) const
inlineprivate

◆ e2nd()

float EcalRegressionData::e2nd ( ) const
inline

Definition at line 38 of file EcalRegressionData.h.

38 { return e2nd_; }

References e2nd_.

Referenced by e2ndOverSCRawEnergy(), and pat::PATPhotonProducer::produce().

◆ e2ndOverSCRawEnergy()

float EcalRegressionData::e2ndOverSCRawEnergy ( ) const
inline

Definition at line 66 of file EcalRegressionData.h.

66 { return divideBySCRawEnergy_(e2nd()); }

References divideBySCRawEnergy_(), and e2nd().

Referenced by fillVecEB_(), and fillVecEE_().

◆ e3x3()

float EcalRegressionData::e3x3 ( ) const
inline

Definition at line 39 of file EcalRegressionData.h.

39 { return e3x3_; }

References e3x3_.

Referenced by pat::PATPhotonProducer::produce(), and scSeedR9().

◆ eBottom()

float EcalRegressionData::eBottom ( ) const
inline

Definition at line 41 of file EcalRegressionData.h.

41 { return eBottom_; }

References eBottom_.

Referenced by pat::PATPhotonProducer::produce(), and seedTopBottomAsym().

◆ eLeft()

float EcalRegressionData::eLeft ( ) const
inline

Definition at line 42 of file EcalRegressionData.h.

42 { return eLeft_; }

References eLeft_.

Referenced by pat::PATPhotonProducer::produce(), and seedLeftRightAsym().

◆ eMax()

float EcalRegressionData::eMax ( ) const
inline

Definition at line 37 of file EcalRegressionData.h.

37 { return eMax_; }

References eMax_.

Referenced by eMaxOverSCRawEnergy(), and pat::PATPhotonProducer::produce().

◆ eMaxOverSCRawEnergy()

float EcalRegressionData::eMaxOverSCRawEnergy ( ) const
inline

Definition at line 65 of file EcalRegressionData.h.

65 { return divideBySCRawEnergy_(eMax()); }

References divideBySCRawEnergy_(), and eMax().

Referenced by fillVecEB_(), and fillVecEE_().

◆ eRight()

float EcalRegressionData::eRight ( ) const
inline

Definition at line 43 of file EcalRegressionData.h.

43 { return eRight_; }

References eRight_.

Referenced by pat::PATPhotonProducer::produce(), and seedLeftRightAsym().

◆ eTop()

float EcalRegressionData::eTop ( ) const
inline

Definition at line 40 of file EcalRegressionData.h.

40 { return eTop_; }

References eTop_.

Referenced by pat::PATPhotonProducer::produce(), and seedTopBottomAsym().

◆ fill() [1/2]

void EcalRegressionData::fill ( const reco::SuperCluster superClus,
const EcalRecHitCollection ebRecHits,
const EcalRecHitCollection eeRecHits,
const CaloGeometry geom,
const CaloTopology topology,
const reco::VertexCollection vertices 
)
inline

Definition at line 82 of file EcalRegressionData.h.

87  {
88  fill(superClus, ebRecHits, eeRecHits, geom, topology, vertices->size());
89  }

References relativeConstraints::geom, ecaldqm::topology(), and pwdgSkimBPark_cfi::vertices.

Referenced by RegressionHelper::getEcalRegression(), pat::PATPhotonProducer::produce(), and BaselinePFSCRegression::set().

◆ fill() [2/2]

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.

54  {
55  clear();
56 
57  const DetId& seedid = superClus.seed()->hitsAndFractions().at(0).first;
58  isEB_ = (seedid.subdetId() == EcalBarrel);
59 
60  // skip HGCal
61  if (EcalTools::isHGCalDet(seedid.det()))
62  return;
63 
64  const EcalRecHitCollection* recHits = isEB_ ? ebRecHits : eeRecHits;
65 
66  scRawEnergy_ = superClus.rawEnergy();
67  scCalibEnergy_ = superClus.correctedEnergy();
68  scPreShowerEnergy_ = superClus.preshowerEnergy();
69  scEta_ = superClus.eta();
70  scPhi_ = superClus.phi();
71  scEtaWidth_ = superClus.etaWidth();
72  scPhiWidth_ = superClus.phiWidth();
73  scNrAdditionalClusters_ = superClus.clustersSize() - 1;
74 
75  seedClusEnergy_ = superClus.seed()->energy();
76  eMax_ = EcalClusterTools::eMax(*superClus.seed(), recHits);
77  e2nd_ = EcalClusterTools::e2nd(*superClus.seed(), recHits);
78  e3x3_ = EcalClusterTools::e3x3(*superClus.seed(), recHits, topology);
79  eTop_ = EcalClusterTools::eTop(*superClus.seed(), recHits, topology);
80  eBottom_ = EcalClusterTools::eBottom(*superClus.seed(), recHits, topology);
81  eLeft_ = EcalClusterTools::eLeft(*superClus.seed(), recHits, topology);
82  eRight_ = EcalClusterTools::eRight(*superClus.seed(), recHits, topology);
83  std::vector<float> localCovs = EcalClusterTools::localCovariances(*superClus.seed(), recHits, topology);
84  sigmaIEtaIEta_ = edm::isNotFinite(localCovs[0]) ? 0. : std::sqrt(localCovs[0]);
85  sigmaIPhiIPhi_ = edm::isNotFinite(localCovs[2]) ? 0. : std::sqrt(localCovs[2]);
86 
88  sigmaIEtaIPhi_ = localCovs[1] / (sigmaIEtaIEta_ * sigmaIPhiIPhi_);
89  else if (localCovs[1] > 0)
90  sigmaIEtaIPhi_ = 1.;
91  else
92  sigmaIEtaIPhi_ = -1.;
93 
95 
96  float dummy;
97  localCoordsFunc(
99 
100  for (auto clus = superClus.clustersBegin() + 1; clus != superClus.clustersEnd(); ++clus) {
101  const float dEta = (*clus)->eta() - superClus.seed()->eta();
102  const float dPhi = reco::deltaPhi((*clus)->phi(), superClus.seed()->phi());
103  const float dR2 = dEta * dEta + dPhi * dPhi;
104  if (dR2 > maxSubClusDR2_ || maxSubClusDR2_ == 998001.) {
105  maxSubClusDR2_ = dR2;
108  maxSubClusDRRawEnergy_ = (*clus)->energy();
109  }
110  subClusRawEnergy_.push_back((*clus)->energy());
111  subClusDEta_.push_back(dEta);
112  subClusDPhi_.push_back(dPhi);
113  }
114 
115  nrVtx_ = nrVertices;
116 }

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_, DetId::subdetId(), and ecaldqm::topology().

◆ fillVec()

void EcalRegressionData::fillVec ( std::vector< float > &  inputVec) const

Definition at line 158 of file EcalRegressionData.cc.

158  {
159  if (isEB())
160  fillVecEB_(inputVec);
161  else
162  fillVecEE_(inputVec);
163 }

References fillVecEB_(), fillVecEE_(), and isEB().

Referenced by RegressionHelper::getEcalRegression(), and BaselinePFSCRegression::set().

◆ fillVecEB_()

void EcalRegressionData::fillVecEB_ ( std::vector< float > &  inputVec) const
private

Definition at line 165 of file EcalRegressionData.cc.

165  {
166  inputVec.clear();
167  inputVec.resize(33);
168  inputVec[0] = nrVtx(); //nVtx
169  inputVec[1] = scEta(); //scEta
170  inputVec[2] = scPhi(); //scPhi
171  inputVec[3] = scEtaWidth(); //scEtaWidth
172  inputVec[4] = scPhiWidth(); //scPhiWidth
173  inputVec[5] = scSeedR9(); //scSeedR9
174  inputVec[6] = seedClusEnergyOverSCRawEnergy(); //scSeedRawEnergy/scRawEnergy
175  inputVec[7] = eMaxOverSCRawEnergy(); //scSeedEmax/scRawEnergy
176  inputVec[8] = e2ndOverSCRawEnergy(); //scSeedE2nd/scRawEnergy
177  inputVec[9] = seedLeftRightAsym(); //scSeedLeftRightAsym
178  inputVec[10] = seedTopBottomAsym(); //scSeedTopBottomAsym
179  inputVec[11] = sigmaIEtaIEta(); //scSeedSigmaIetaIeta
180  inputVec[12] = sigmaIEtaIPhi(); //scSeedSigmaIetaIphi
181  inputVec[13] = sigmaIPhiIPhi(); //scSeedSigmaIphiIphi
182  inputVec[14] = scNrAdditionalClusters(); //N_ECALClusters
183  inputVec[15] = maxSubClusDR(); //clusterMaxDR
184  inputVec[16] = maxSubClusDRDPhi(); //clusterMaxDRDPhi
185  inputVec[17] = maxSubClusDRDEta(); //clusterMaxDRDEta
186  inputVec[18] = maxSubClusDRRawEnergyOverSCRawEnergy(); //clusMaxDRRawEnergy/scRawEnergy
187  inputVec[19] = subClusRawEnergyOverSCRawEnergy(SubClusNr::C1); //clusterRawEnergy[0]/scRawEnergy
188  inputVec[20] = subClusRawEnergyOverSCRawEnergy(
189  SubClusNr::C2); //clusterRawEnergy[1]/scRawEnergy float scPreShowerEnergy()const{return scPreShowerEnergy_;}
190 
191  inputVec[21] = subClusRawEnergyOverSCRawEnergy(SubClusNr::C3); //clusterRawEnergy[2]/scRawEnergy
192  inputVec[22] = subClusDPhi(SubClusNr::C1); //clusterDPhiToSeed[0]
193  inputVec[23] = subClusDPhi(SubClusNr::C2); //clusterDPhiToSeed[1]
194  inputVec[24] = subClusDPhi(SubClusNr::C3); //clusterDPhiToSeed[2]
195  inputVec[25] = subClusDEta(SubClusNr::C1); //clusterDEtaToSeed[0]
196  inputVec[26] = subClusDEta(SubClusNr::C2); //clusterDEtaToSeed[1]
197  inputVec[27] = subClusDEta(SubClusNr::C3); //clusterDEtaToSeed[2]
198  inputVec[28] = seedCrysEtaOrX(); //scSeedCryEta
199  inputVec[29] = seedCrysPhiOrY(); //scSeedCryPhi
200  inputVec[30] = seedCrysIEtaOrIX(); //scSeedCryIeta
201  inputVec[31] = seedCrysIPhiOrIY(); //scSeedCryIphi
202  inputVec[32] = scCalibEnergy(); //scCalibratedEnergy
203 }

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().

◆ fillVecEE_()

void EcalRegressionData::fillVecEE_ ( std::vector< float > &  inputVec) const
private

Definition at line 205 of file EcalRegressionData.cc.

205  {
206  inputVec.clear();
207  inputVec.resize(33); //this emulates the old behaviour of RegressionHelper, even if past 29 we dont use elements
208  inputVec[0] = nrVtx(); //nVtx
209  inputVec[1] = scEta(); //scEta
210  inputVec[2] = scPhi(); //scPhi
211  inputVec[3] = scEtaWidth(); //scEtaWidth
212  inputVec[4] = scPhiWidth(); //scPhiWidth
213  inputVec[5] = scSeedR9(); //scSeedR9
214  inputVec[6] = seedClusEnergyOverSCRawEnergy(); //scSeedRawEnergy/scRawEnergy
215  inputVec[7] = eMaxOverSCRawEnergy(); //scSeedEmax/scRawEnergy
216  inputVec[8] = e2ndOverSCRawEnergy(); //scSeedE2nd/scRawEnergy
217  inputVec[9] = seedLeftRightAsym(); //scSeedLeftRightAsym
218  inputVec[10] = seedTopBottomAsym(); //scSeedTopBottomAsym
219  inputVec[11] = sigmaIEtaIEta(); //scSeedSigmaIetaIeta
220  inputVec[12] = sigmaIEtaIPhi(); //scSeedSigmaIetaIphi
221  inputVec[13] = sigmaIPhiIPhi(); //scSeedSigmaIphiIphi
222  inputVec[14] = scNrAdditionalClusters(); //N_ECALClusters
223  inputVec[15] = maxSubClusDR(); //clusterMaxDR
224  inputVec[16] = maxSubClusDRDPhi(); //clusterMaxDRDPhi
225  inputVec[17] = maxSubClusDRDEta(); //clusterMaxDRDEta
226  inputVec[18] = maxSubClusDRRawEnergyOverSCRawEnergy(); //clusMaxDRRawEnergy/scRawEnergy
227  inputVec[19] = subClusRawEnergyOverSCRawEnergy(SubClusNr::C1); //clusterRawEnergy[0]/scRawEnergy
228  inputVec[20] = subClusRawEnergyOverSCRawEnergy(SubClusNr::C2); //clusterRawEnergy[1]/scRawEnergy
229  inputVec[21] = subClusRawEnergyOverSCRawEnergy(SubClusNr::C3); //clusterRawEnergy[2]/scRawEnergy
230  inputVec[22] = subClusDPhi(SubClusNr::C1); //clusterDPhiToSeed[0]
231  inputVec[23] = subClusDPhi(SubClusNr::C2); //clusterDPhiToSeed[1]
232  inputVec[24] = subClusDPhi(SubClusNr::C3); //clusterDPhiToSeed[2]
233  inputVec[25] = subClusDEta(SubClusNr::C1); //clusterDEtaToSeed[0]
234  inputVec[26] = subClusDEta(SubClusNr::C2); //clusterDEtaToSeed[1]
235  inputVec[27] = subClusDEta(SubClusNr::C3); //clusterDEtaToSeed[2]
236  inputVec[28] = scPreShowerEnergyOverSCRawEnergy();
237  inputVec[29] = scCalibEnergy(); //scCalibratedEnergy
238 }

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().

◆ isEB()

bool EcalRegressionData::isEB ( ) const
inline

Definition at line 27 of file EcalRegressionData.h.

27 { return isEB_; }

References isEB_.

Referenced by Electron.Electron::absIsoWithFSR(), fill(), and fillVec().

◆ maxSubClusDR()

float EcalRegressionData::maxSubClusDR ( ) const
inline

Definition at line 52 of file EcalRegressionData.h.

52 { return std::sqrt(maxSubClusDR2_); }

References maxSubClusDR2_, and mathSSE::sqrt().

Referenced by fillVecEB_(), fillVecEE_(), and pat::PATPhotonProducer::produce().

◆ maxSubClusDRDEta()

float EcalRegressionData::maxSubClusDRDEta ( ) const
inline

Definition at line 54 of file EcalRegressionData.h.

54 { return maxSubClusDRDEta_; }

References maxSubClusDRDEta_.

Referenced by fillVecEB_(), fillVecEE_(), and pat::PATPhotonProducer::produce().

◆ maxSubClusDRDPhi()

float EcalRegressionData::maxSubClusDRDPhi ( ) const
inline

Definition at line 53 of file EcalRegressionData.h.

53 { return maxSubClusDRDPhi_; }

References maxSubClusDRDPhi_.

Referenced by fillVecEB_(), fillVecEE_(), and pat::PATPhotonProducer::produce().

◆ maxSubClusDRRawEnergy()

float EcalRegressionData::maxSubClusDRRawEnergy ( ) const
inline

◆ maxSubClusDRRawEnergyOverSCRawEnergy()

float EcalRegressionData::maxSubClusDRRawEnergyOverSCRawEnergy ( ) const
inline

Definition at line 69 of file EcalRegressionData.h.

References divideBySCRawEnergy_(), and maxSubClusDRRawEnergy().

Referenced by fillVecEB_(), and fillVecEE_().

◆ nrVtx()

int EcalRegressionData::nrVtx ( ) const
inline

Definition at line 59 of file EcalRegressionData.h.

59 { return nrVtx_; }

References nrVtx_.

Referenced by fillVecEB_(), and fillVecEE_().

◆ scCalibEnergy()

float EcalRegressionData::scCalibEnergy ( ) const
inline

Definition at line 29 of file EcalRegressionData.h.

29 { return scCalibEnergy_; }

References scCalibEnergy_.

Referenced by fillVecEB_(), and fillVecEE_().

◆ scEta()

float EcalRegressionData::scEta ( ) const
inline

Definition at line 31 of file EcalRegressionData.h.

31 { return scEta_; }

References scEta_.

Referenced by fillVecEB_(), and fillVecEE_().

◆ scEtaWidth()

float EcalRegressionData::scEtaWidth ( ) const
inline

Definition at line 33 of file EcalRegressionData.h.

33 { return scEtaWidth_; }

References scEtaWidth_.

Referenced by fillVecEB_(), and fillVecEE_().

◆ scNrAdditionalClusters()

int EcalRegressionData::scNrAdditionalClusters ( ) const
inline

Definition at line 35 of file EcalRegressionData.h.

35 { return scNrAdditionalClusters_; }

References scNrAdditionalClusters_.

Referenced by fillVecEB_(), and fillVecEE_().

◆ scPhi()

float EcalRegressionData::scPhi ( ) const
inline

Definition at line 32 of file EcalRegressionData.h.

32 { return scPhi_; }

References scPhi_.

Referenced by fillVecEB_(), and fillVecEE_().

◆ scPhiWidth()

float EcalRegressionData::scPhiWidth ( ) const
inline

Definition at line 34 of file EcalRegressionData.h.

34 { return scPhiWidth_; }

References scPhiWidth_.

Referenced by fillVecEB_(), and fillVecEE_().

◆ scPreShowerEnergy()

float EcalRegressionData::scPreShowerEnergy ( ) const
inline

Definition at line 30 of file EcalRegressionData.h.

30 { return scPreShowerEnergy_; }

References scPreShowerEnergy_.

Referenced by scPreShowerEnergyOverSCRawEnergy().

◆ scPreShowerEnergyOverSCRawEnergy()

float EcalRegressionData::scPreShowerEnergyOverSCRawEnergy ( ) const
inline

Definition at line 62 of file EcalRegressionData.h.

References divideBySCRawEnergy_(), and scPreShowerEnergy().

Referenced by fillVecEE_().

◆ scRawEnergy()

float EcalRegressionData::scRawEnergy ( ) const
inline

Definition at line 28 of file EcalRegressionData.h.

28 { return scRawEnergy_; }

References scRawEnergy_.

Referenced by divideBySCRawEnergy_().

◆ scSeedR9()

float EcalRegressionData::scSeedR9 ( ) const
inline

Definition at line 63 of file EcalRegressionData.h.

63 { return divideBySCRawEnergy_(e3x3()); }

References divideBySCRawEnergy_(), and e3x3().

Referenced by fillVecEB_(), and fillVecEE_().

◆ seedClusEnergy()

float EcalRegressionData::seedClusEnergy ( ) const
inline

Definition at line 36 of file EcalRegressionData.h.

36 { return seedClusEnergy_; }

References seedClusEnergy_.

Referenced by seedClusEnergyOverSCRawEnergy().

◆ seedClusEnergyOverSCRawEnergy()

float EcalRegressionData::seedClusEnergyOverSCRawEnergy ( ) const
inline

Definition at line 64 of file EcalRegressionData.h.

References divideBySCRawEnergy_(), and seedClusEnergy().

Referenced by fillVecEB_(), and fillVecEE_().

◆ seedCrysEtaOrX()

float EcalRegressionData::seedCrysEtaOrX ( ) const
inline

Definition at line 49 of file EcalRegressionData.h.

49 { return seedCrysEtaOrX_; }

References seedCrysEtaOrX_.

Referenced by fillVecEB_(), and pat::PATPhotonProducer::produce().

◆ seedCrysIEtaOrIX()

float EcalRegressionData::seedCrysIEtaOrIX ( ) const
inline

Definition at line 50 of file EcalRegressionData.h.

50 { return seedCrysIEtaOrIX_; }

References seedCrysIEtaOrIX_.

Referenced by fillVecEB_(), and pat::PATPhotonProducer::produce().

◆ seedCrysIPhiOrIY()

float EcalRegressionData::seedCrysIPhiOrIY ( ) const
inline

Definition at line 51 of file EcalRegressionData.h.

51 { return seedCrysIPhiOrIY_; }

References seedCrysIPhiOrIY_.

Referenced by fillVecEB_(), and pat::PATPhotonProducer::produce().

◆ seedCrysPhiOrY()

float EcalRegressionData::seedCrysPhiOrY ( ) const
inline

Definition at line 48 of file EcalRegressionData.h.

48 { return seedCrysPhiOrY_; }

References seedCrysPhiOrY_.

Referenced by fillVecEB_(), and pat::PATPhotonProducer::produce().

◆ seedLeftRightAsym()

float EcalRegressionData::seedLeftRightAsym ( ) const

Definition at line 16 of file EcalRegressionData.cc.

16  {
17  float eLeftRightSum = eLeft() + eRight();
18  float eLeftRightDiff = eLeft() - eRight();
19  return eLeftRightSum != 0 ? eLeftRightDiff / eLeftRightSum : 0.;
20 }

References eLeft(), and eRight().

Referenced by fillVecEB_(), and fillVecEE_().

◆ seedTopBottomAsym()

float EcalRegressionData::seedTopBottomAsym ( ) const

Definition at line 22 of file EcalRegressionData.cc.

22  {
23  float eTopBottomSum = eTop() + eBottom();
24  float eTopBottomDiff = eTop() - eBottom();
25  return eTopBottomSum != 0 ? eTopBottomDiff / eTopBottomSum : 0.;
26 }

References eBottom(), and eTop().

Referenced by fillVecEB_(), and fillVecEE_().

◆ sigmaIEtaIEta()

float EcalRegressionData::sigmaIEtaIEta ( ) const
inline

Definition at line 44 of file EcalRegressionData.h.

44 { return sigmaIEtaIEta_; }

References sigmaIEtaIEta_.

Referenced by fillVecEB_(), fillVecEE_(), and pat::PATPhotonProducer::produce().

◆ sigmaIEtaIPhi()

float EcalRegressionData::sigmaIEtaIPhi ( ) const
inline

Definition at line 45 of file EcalRegressionData.h.

45 { return sigmaIEtaIPhi_; }

References sigmaIEtaIPhi_.

Referenced by fillVecEB_(), fillVecEE_(), and pat::PATPhotonProducer::produce().

◆ sigmaIPhiIPhi()

float EcalRegressionData::sigmaIPhiIPhi ( ) const
inline

Definition at line 46 of file EcalRegressionData.h.

46 { return sigmaIPhiIPhi_; }

References sigmaIPhiIPhi_.

Referenced by fillVecEB_(), fillVecEE_(), and pat::PATPhotonProducer::produce().

◆ subClusDEta() [1/3]

const std::vector<float>& EcalRegressionData::subClusDEta ( ) const
inline

Definition at line 58 of file EcalRegressionData.h.

58 { return subClusDEta_; }

References subClusDEta_.

Referenced by fillVecEB_(), fillVecEE_(), and pat::PATPhotonProducer::produce().

◆ subClusDEta() [2/3]

float EcalRegressionData::subClusDEta ( size_t  clusNr) const

Definition at line 35 of file EcalRegressionData.cc.

35  {
36  if (clusNr < subClusDEta_.size())
37  return subClusDEta_[clusNr];
38  else
39  return 0.;
40 }

References subClusDEta_.

◆ subClusDEta() [3/3]

float EcalRegressionData::subClusDEta ( SubClusNr  clusNr) const
inline

Definition at line 79 of file EcalRegressionData.h.

79 { return subClusDEta(static_cast<int>(clusNr)); }

References subClusDEta().

Referenced by subClusDEta().

◆ subClusDPhi() [1/3]

const std::vector<float>& EcalRegressionData::subClusDPhi ( ) const
inline

Definition at line 57 of file EcalRegressionData.h.

57 { return subClusDPhi_; }

References subClusDPhi_.

Referenced by fillVecEB_(), fillVecEE_(), and pat::PATPhotonProducer::produce().

◆ subClusDPhi() [2/3]

float EcalRegressionData::subClusDPhi ( size_t  clusNr) const

Definition at line 42 of file EcalRegressionData.cc.

42  {
43  if (clusNr < subClusDPhi_.size())
44  return subClusDPhi_[clusNr];
45  else
46  return 0.;
47 }

References subClusDPhi_.

◆ subClusDPhi() [3/3]

float EcalRegressionData::subClusDPhi ( SubClusNr  clusNr) const
inline

Definition at line 78 of file EcalRegressionData.h.

78 { return subClusDPhi(static_cast<int>(clusNr)); }

References subClusDPhi().

Referenced by subClusDPhi().

◆ subClusRawEnergy() [1/3]

const std::vector<float>& EcalRegressionData::subClusRawEnergy ( ) const
inline

Definition at line 56 of file EcalRegressionData.h.

56 { return subClusRawEnergy_; }

References subClusRawEnergy_.

Referenced by pat::PATPhotonProducer::produce(), and subClusRawEnergyOverSCRawEnergy().

◆ subClusRawEnergy() [2/3]

float EcalRegressionData::subClusRawEnergy ( size_t  clusNr) const

Definition at line 28 of file EcalRegressionData.cc.

28  {
29  if (clusNr < subClusRawEnergy_.size())
30  return subClusRawEnergy_[clusNr];
31  else
32  return 0.;
33 }

References subClusRawEnergy_.

◆ subClusRawEnergy() [3/3]

float EcalRegressionData::subClusRawEnergy ( SubClusNr  clusNr) const
inline

Definition at line 77 of file EcalRegressionData.h.

77 { return subClusRawEnergy(static_cast<int>(clusNr)); }

References subClusRawEnergy().

Referenced by subClusRawEnergy().

◆ subClusRawEnergyOverSCRawEnergy() [1/2]

float EcalRegressionData::subClusRawEnergyOverSCRawEnergy ( size_t  clusNr) const
inline

◆ subClusRawEnergyOverSCRawEnergy() [2/2]

float EcalRegressionData::subClusRawEnergyOverSCRawEnergy ( SubClusNr  clusNr) const
inline

Definition at line 74 of file EcalRegressionData.h.

74  {
75  return subClusRawEnergyOverSCRawEnergy(static_cast<int>(clusNr));
76  }

References subClusRawEnergyOverSCRawEnergy().

Member Data Documentation

◆ e2nd_

float EcalRegressionData::e2nd_
private

Definition at line 123 of file EcalRegressionData.h.

Referenced by clear(), e2nd(), and fill().

◆ e3x3_

float EcalRegressionData::e3x3_
private

Definition at line 124 of file EcalRegressionData.h.

Referenced by clear(), e3x3(), and fill().

◆ eBottom_

float EcalRegressionData::eBottom_
private

Definition at line 126 of file EcalRegressionData.h.

Referenced by clear(), eBottom(), and fill().

◆ eLeft_

float EcalRegressionData::eLeft_
private

Definition at line 127 of file EcalRegressionData.h.

Referenced by clear(), eLeft(), and fill().

◆ eMax_

float EcalRegressionData::eMax_
private

Definition at line 122 of file EcalRegressionData.h.

Referenced by clear(), eMax(), and fill().

◆ eRight_

float EcalRegressionData::eRight_
private

Definition at line 128 of file EcalRegressionData.h.

Referenced by clear(), eRight(), and fill().

◆ eTop_

float EcalRegressionData::eTop_
private

Definition at line 125 of file EcalRegressionData.h.

Referenced by clear(), eTop(), and fill().

◆ isEB_

bool EcalRegressionData::isEB_
private

Definition at line 108 of file EcalRegressionData.h.

Referenced by clear(), fill(), and isEB().

◆ maxSubClusDR2_

float EcalRegressionData::maxSubClusDR2_
private

Definition at line 140 of file EcalRegressionData.h.

Referenced by clear(), fill(), and maxSubClusDR().

◆ maxSubClusDRDEta_

float EcalRegressionData::maxSubClusDRDEta_
private

Definition at line 142 of file EcalRegressionData.h.

Referenced by clear(), fill(), and maxSubClusDRDEta().

◆ maxSubClusDRDPhi_

float EcalRegressionData::maxSubClusDRDPhi_
private

Definition at line 141 of file EcalRegressionData.h.

Referenced by clear(), fill(), and maxSubClusDRDPhi().

◆ maxSubClusDRRawEnergy_

float EcalRegressionData::maxSubClusDRRawEnergy_
private

Definition at line 143 of file EcalRegressionData.h.

Referenced by clear(), fill(), and maxSubClusDRRawEnergy().

◆ nrVtx_

int EcalRegressionData::nrVtx_
private

Definition at line 149 of file EcalRegressionData.h.

Referenced by clear(), fill(), and nrVtx().

◆ scCalibEnergy_

float EcalRegressionData::scCalibEnergy_
private

Definition at line 112 of file EcalRegressionData.h.

Referenced by clear(), fill(), and scCalibEnergy().

◆ scEta_

float EcalRegressionData::scEta_
private

Definition at line 114 of file EcalRegressionData.h.

Referenced by clear(), fill(), and scEta().

◆ scEtaWidth_

float EcalRegressionData::scEtaWidth_
private

Definition at line 116 of file EcalRegressionData.h.

Referenced by clear(), fill(), and scEtaWidth().

◆ scNrAdditionalClusters_

int EcalRegressionData::scNrAdditionalClusters_
private

Definition at line 118 of file EcalRegressionData.h.

Referenced by clear(), fill(), and scNrAdditionalClusters().

◆ scPhi_

float EcalRegressionData::scPhi_
private

Definition at line 115 of file EcalRegressionData.h.

Referenced by clear(), fill(), and scPhi().

◆ scPhiWidth_

float EcalRegressionData::scPhiWidth_
private

Definition at line 117 of file EcalRegressionData.h.

Referenced by clear(), fill(), and scPhiWidth().

◆ scPreShowerEnergy_

float EcalRegressionData::scPreShowerEnergy_
private

Definition at line 113 of file EcalRegressionData.h.

Referenced by clear(), fill(), and scPreShowerEnergy().

◆ scRawEnergy_

float EcalRegressionData::scRawEnergy_
private

Definition at line 111 of file EcalRegressionData.h.

Referenced by clear(), fill(), and scRawEnergy().

◆ seedClusEnergy_

float EcalRegressionData::seedClusEnergy_
private

Definition at line 121 of file EcalRegressionData.h.

Referenced by clear(), fill(), and seedClusEnergy().

◆ seedCrysEtaOrX_

float EcalRegressionData::seedCrysEtaOrX_
private

Definition at line 135 of file EcalRegressionData.h.

Referenced by clear(), fill(), and seedCrysEtaOrX().

◆ seedCrysIEtaOrIX_

int EcalRegressionData::seedCrysIEtaOrIX_
private

Definition at line 136 of file EcalRegressionData.h.

Referenced by clear(), fill(), and seedCrysIEtaOrIX().

◆ seedCrysIPhiOrIY_

int EcalRegressionData::seedCrysIPhiOrIY_
private

Definition at line 137 of file EcalRegressionData.h.

Referenced by clear(), fill(), and seedCrysIPhiOrIY().

◆ seedCrysPhiOrY_

float EcalRegressionData::seedCrysPhiOrY_
private

Definition at line 134 of file EcalRegressionData.h.

Referenced by clear(), fill(), and seedCrysPhiOrY().

◆ sigmaIEtaIEta_

float EcalRegressionData::sigmaIEtaIEta_
private

Definition at line 129 of file EcalRegressionData.h.

Referenced by clear(), fill(), and sigmaIEtaIEta().

◆ sigmaIEtaIPhi_

float EcalRegressionData::sigmaIEtaIPhi_
private

Definition at line 130 of file EcalRegressionData.h.

Referenced by clear(), fill(), and sigmaIEtaIPhi().

◆ sigmaIPhiIPhi_

float EcalRegressionData::sigmaIPhiIPhi_
private

Definition at line 131 of file EcalRegressionData.h.

Referenced by clear(), fill(), and sigmaIPhiIPhi().

◆ subClusDEta_

std::vector<float> EcalRegressionData::subClusDEta_
private

Definition at line 146 of file EcalRegressionData.h.

Referenced by clear(), fill(), and subClusDEta().

◆ subClusDPhi_

std::vector<float> EcalRegressionData::subClusDPhi_
private

Definition at line 145 of file EcalRegressionData.h.

Referenced by clear(), fill(), and subClusDPhi().

◆ subClusRawEnergy_

std::vector<float> EcalRegressionData::subClusRawEnergy_
private

Definition at line 144 of file EcalRegressionData.h.

Referenced by clear(), fill(), and subClusRawEnergy().

reco::CaloCluster::phi
double phi() const
azimuthal angle of cluster centroid
Definition: CaloCluster.h:184
EcalRegressionData::seedCrysIPhiOrIY
float seedCrysIPhiOrIY() const
Definition: EcalRegressionData.h:51
EcalRegressionData::eMaxOverSCRawEnergy
float eMaxOverSCRawEnergy() const
Definition: EcalRegressionData.h:65
EcalRegressionData::eTop
float eTop() const
Definition: EcalRegressionData.h:40
EcalRegressionData::seedClusEnergy
float seedClusEnergy() const
Definition: EcalRegressionData.h:36
EcalRegressionData::eBottom_
float eBottom_
Definition: EcalRegressionData.h:126
EcalRegressionData::sigmaIEtaIEta
float sigmaIEtaIEta() const
Definition: EcalRegressionData.h:44
EcalRegressionData::eRight
float eRight() const
Definition: EcalRegressionData.h:43
EcalRegressionData::scRawEnergy
float scRawEnergy() const
Definition: EcalRegressionData.h:28
EcalTools::isHGCalDet
static bool isHGCalDet(DetId::Detector thedet)
identify HGCal cells
Definition: EcalTools.h:49
EcalRegressionData::seedCrysPhiOrY
float seedCrysPhiOrY() const
Definition: EcalRegressionData.h:48
EcalRegressionData::maxSubClusDRRawEnergy
float maxSubClusDRRawEnergy() const
Definition: EcalRegressionData.h:55
reco::SuperCluster::clustersSize
size_t clustersSize() const
number of BasicCluster constituents
Definition: SuperCluster.h:98
edm::isNotFinite
constexpr bool isNotFinite(T x)
Definition: isFinite.h:9
reco::deltaPhi
constexpr double deltaPhi(double phi1, double phi2)
Definition: deltaPhi.h:26
EcalRegressionData::eLeft_
float eLeft_
Definition: EcalRegressionData.h:127
EcalRegressionData::seedTopBottomAsym
float seedTopBottomAsym() const
Definition: EcalRegressionData.cc:22
DetId::det
constexpr Detector det() const
get the detector field from this detid
Definition: DetId.h:46
EcalRegressionData::fillVecEE_
void fillVecEE_(std::vector< float > &inputVec) const
Definition: EcalRegressionData.cc:205
EcalRegressionData::sigmaIEtaIEta_
float sigmaIEtaIEta_
Definition: EcalRegressionData.h:129
EcalRegressionData::clear
void clear()
Definition: EcalRegressionData.cc:118
edm::SortedCollection< EcalRecHit >
egammaTools::localEcalClusterCoordsEE
void localEcalClusterCoordsEE(const reco::CaloCluster &bclus, const CaloGeometry &geom, float &xcry, float &ycry, int &ix, int &iy, float &thetatilt, float &phitilt)
Definition: EcalClusterLocal.cc:88
EcalRegressionData::e2ndOverSCRawEnergy
float e2ndOverSCRawEnergy() const
Definition: EcalRegressionData.h:66
EcalRegressionData::seedLeftRightAsym
float seedLeftRightAsym() const
Definition: EcalRegressionData.cc:16
EcalRegressionData::maxSubClusDRDPhi
float maxSubClusDRDPhi() const
Definition: EcalRegressionData.h:53
HLT_FULL_cff.dPhi
dPhi
Definition: HLT_FULL_cff.py:13765
EcalRegressionData::maxSubClusDRDEta
float maxSubClusDRDEta() const
Definition: EcalRegressionData.h:54
EcalRegressionData::scCalibEnergy_
float scCalibEnergy_
Definition: EcalRegressionData.h:112
EcalRegressionData::maxSubClusDRDEta_
float maxSubClusDRDEta_
Definition: EcalRegressionData.h:142
EcalRegressionData::eLeft
float eLeft() const
Definition: EcalRegressionData.h:42
EcalRegressionData::SubClusNr::C1
EcalRegressionData::subClusDEta
const std::vector< float > & subClusDEta() const
Definition: EcalRegressionData.h:58
EcalRegressionData::e2nd
float e2nd() const
Definition: EcalRegressionData.h:38
EcalBarrel
Definition: EcalSubdetector.h:10
EcalRegressionData::seedCrysIEtaOrIX
float seedCrysIEtaOrIX() const
Definition: EcalRegressionData.h:50
EcalRegressionData::subClusDPhi_
std::vector< float > subClusDPhi_
Definition: EcalRegressionData.h:145
EcalRegressionData::seedCrysIEtaOrIX_
int seedCrysIEtaOrIX_
Definition: EcalRegressionData.h:136
EcalRegressionData::eRight_
float eRight_
Definition: EcalRegressionData.h:128
EcalRegressionData::eMax
float eMax() const
Definition: EcalRegressionData.h:37
EcalRegressionData::sigmaIPhiIPhi_
float sigmaIPhiIPhi_
Definition: EcalRegressionData.h:131
DetId
Definition: DetId.h:17
EcalRegressionData::fill
void fill(const reco::SuperCluster &superClus, const EcalRecHitCollection *ebRecHits, const EcalRecHitCollection *eeRecHits, const CaloGeometry *geom, const CaloTopology *topology, const reco::VertexCollection *vertices)
Definition: EcalRegressionData.h:82
reco::SuperCluster::phiWidth
double phiWidth() const
obtain phi and eta width of the Super Cluster
Definition: SuperCluster.h:66
EcalRegressionData::e3x3_
float e3x3_
Definition: EcalRegressionData.h:124
ecaldqm::topology
const CaloTopology * topology(nullptr)
EcalRegressionData::scPreShowerEnergy_
float scPreShowerEnergy_
Definition: EcalRegressionData.h:113
EcalRegressionData::isEB
bool isEB() const
Definition: EcalRegressionData.h:27
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
EcalRegressionData::seedCrysIPhiOrIY_
int seedCrysIPhiOrIY_
Definition: EcalRegressionData.h:137
EcalRegressionData::maxSubClusDRDPhi_
float maxSubClusDRDPhi_
Definition: EcalRegressionData.h:141
EcalRegressionData::SubClusNr::C3
relativeConstraints.geom
geom
Definition: relativeConstraints.py:72
EcalRegressionData::scPhiWidth_
float scPhiWidth_
Definition: EcalRegressionData.h:117
EcalRegressionData::sigmaIEtaIPhi_
float sigmaIEtaIPhi_
Definition: EcalRegressionData.h:130
EcalRegressionData::SubClusNr::C2
DetId::subdetId
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
Definition: DetId.h:48
FastTrackerRecHitMaskProducer_cfi.recHits
recHits
Definition: FastTrackerRecHitMaskProducer_cfi.py:8
egammaTools::localEcalClusterCoordsEB
void localEcalClusterCoordsEB(const reco::CaloCluster &bclus, const CaloGeometry &geom, float &etacry, float &phicry, int &ieta, int &iphi, float &thetatilt, float &phitilt)
Definition: EcalClusterLocal.cc:14
EcalRegressionData::scNrAdditionalClusters
int scNrAdditionalClusters() const
Definition: EcalRegressionData.h:35
reco::SuperCluster::seed
const CaloClusterPtr & seed() const
seed BasicCluster
Definition: SuperCluster.h:77
EcalRegressionData::maxSubClusDR
float maxSubClusDR() const
Definition: EcalRegressionData.h:52
reco::CaloCluster::eta
double eta() const
pseudorapidity of cluster centroid
Definition: CaloCluster.h:181
EcalRegressionData::nrVtx_
int nrVtx_
Definition: EcalRegressionData.h:149
cosmicPhotonAnalyzer_cfi.eMax
eMax
Definition: cosmicPhotonAnalyzer_cfi.py:10
EcalRegressionData::scEtaWidth_
float scEtaWidth_
Definition: EcalRegressionData.h:116
EcalRegressionData::scEtaWidth
float scEtaWidth() const
Definition: EcalRegressionData.h:33
EcalRegressionData::maxSubClusDR2_
float maxSubClusDR2_
Definition: EcalRegressionData.h:140
reco::SuperCluster::clustersBegin
CaloCluster_iterator clustersBegin() const
fist iterator over BasicCluster constituents
Definition: SuperCluster.h:86
EcalRegressionData::subClusDPhi
const std::vector< float > & subClusDPhi() const
Definition: EcalRegressionData.h:57
EcalRegressionData::e3x3
float e3x3() const
Definition: EcalRegressionData.h:39
EcalRegressionData::nrVtx
int nrVtx() const
Definition: EcalRegressionData.h:59
EcalRegressionData::seedCrysEtaOrX
float seedCrysEtaOrX() const
Definition: EcalRegressionData.h:49
EcalRegressionData::scCalibEnergy
float scCalibEnergy() const
Definition: EcalRegressionData.h:29
EcalRegressionData::scRawEnergy_
float scRawEnergy_
Definition: EcalRegressionData.h:111
EcalRegressionData::eTop_
float eTop_
Definition: EcalRegressionData.h:125
EcalRegressionData::seedCrysPhiOrY_
float seedCrysPhiOrY_
Definition: EcalRegressionData.h:134
EcalRegressionData::scPreShowerEnergy
float scPreShowerEnergy() const
Definition: EcalRegressionData.h:30
EcalRegressionData::eBottom
float eBottom() const
Definition: EcalRegressionData.h:41
EcalRegressionData::subClusRawEnergy
const std::vector< float > & subClusRawEnergy() const
Definition: EcalRegressionData.h:56
EcalRegressionData::eMax_
float eMax_
Definition: EcalRegressionData.h:122
EcalRegressionData::scSeedR9
float scSeedR9() const
Definition: EcalRegressionData.h:63
EcalRegressionData::maxSubClusDRRawEnergy_
float maxSubClusDRRawEnergy_
Definition: EcalRegressionData.h:143
reco::SuperCluster::preshowerEnergy
double preshowerEnergy() const
energy deposited in preshower
Definition: SuperCluster.h:61
EcalRegressionData::sigmaIEtaIPhi
float sigmaIEtaIPhi() const
Definition: EcalRegressionData.h:45
EcalRegressionData::scPhi
float scPhi() const
Definition: EcalRegressionData.h:32
HLT_FULL_cff.dEta
dEta
Definition: HLT_FULL_cff.py:13764
reco::SuperCluster::rawEnergy
double rawEnergy() const
raw uncorrected energy (sum of energies of component BasicClusters)
Definition: SuperCluster.h:58
EcalRegressionData::fillVecEB_
void fillVecEB_(std::vector< float > &inputVec) const
Definition: EcalRegressionData.cc:165
EcalRegressionData::seedClusEnergy_
float seedClusEnergy_
Definition: EcalRegressionData.h:121
EcalRegressionData::isEB_
bool isEB_
Definition: EcalRegressionData.h:108
EcalRegressionData::subClusDEta_
std::vector< float > subClusDEta_
Definition: EcalRegressionData.h:146
EcalRegressionData::scNrAdditionalClusters_
int scNrAdditionalClusters_
Definition: EcalRegressionData.h:118
EcalRegressionData::scPhiWidth
float scPhiWidth() const
Definition: EcalRegressionData.h:34
reco::SuperCluster::etaWidth
double etaWidth() const
Definition: SuperCluster.h:67
reco::CaloCluster::correctedEnergy
double correctedEnergy() const
Definition: CaloCluster.h:150
EcalRegressionData::seedCrysEtaOrX_
float seedCrysEtaOrX_
Definition: EcalRegressionData.h:135
dummy
Definition: DummySelector.h:38
EcalRegressionData::subClusRawEnergyOverSCRawEnergy
float subClusRawEnergyOverSCRawEnergy(size_t clusNr) const
Definition: EcalRegressionData.h:70
EcalRegressionData::scEta_
float scEta_
Definition: EcalRegressionData.h:114
reco::SuperCluster::clustersEnd
CaloCluster_iterator clustersEnd() const
last iterator over BasicCluster constituents
Definition: SuperCluster.h:89
EcalRegressionData::maxSubClusDRRawEnergyOverSCRawEnergy
float maxSubClusDRRawEnergyOverSCRawEnergy() const
Definition: EcalRegressionData.h:69
EcalRegressionData::scPreShowerEnergyOverSCRawEnergy
float scPreShowerEnergyOverSCRawEnergy() const
Definition: EcalRegressionData.h:62
EcalRegressionData::scEta
float scEta() const
Definition: EcalRegressionData.h:31
EcalRegressionData::e2nd_
float e2nd_
Definition: EcalRegressionData.h:123
EcalRegressionData::seedClusEnergyOverSCRawEnergy
float seedClusEnergyOverSCRawEnergy() const
Definition: EcalRegressionData.h:64
EcalRegressionData::subClusRawEnergy_
std::vector< float > subClusRawEnergy_
Definition: EcalRegressionData.h:144
EcalRegressionData::sigmaIPhiIPhi
float sigmaIPhiIPhi() const
Definition: EcalRegressionData.h:46
EcalRegressionData::scPhi_
float scPhi_
Definition: EcalRegressionData.h:115
pwdgSkimBPark_cfi.vertices
vertices
Definition: pwdgSkimBPark_cfi.py:7
EcalRegressionData::divideBySCRawEnergy_
float divideBySCRawEnergy_(float numer) const
Definition: EcalRegressionData.h:103