CMS 3D CMS Logo

List of all members | Public Member Functions
EcalClusterLazyToolsT< ClusterTools > Class Template Reference

#include <EcalClusterLazyTools.h>

Inheritance diagram for EcalClusterLazyToolsT< ClusterTools >:
EcalClusterLazyToolsBase

Public Member Functions

std::array< float, 3 > covariances (const reco::BasicCluster &cluster, float w0=4.7) const
 
float e1x3 (const reco::BasicCluster &cluster) const
 
float e1x5 (const reco::BasicCluster &cluster) const
 
float e2nd (const reco::BasicCluster &cluster) const
 
float e2x2 (const reco::BasicCluster &cluster) const
 
float e2x5Bottom (const reco::BasicCluster &cluster) const
 
float e2x5Left (const reco::BasicCluster &cluster) const
 
float e2x5Max (const reco::BasicCluster &cluster) const
 
float e2x5Right (const reco::BasicCluster &cluster) const
 
float e2x5Top (const reco::BasicCluster &cluster) const
 
float e3x1 (const reco::BasicCluster &cluster) const
 
float e3x2 (const reco::BasicCluster &cluster) const
 
float e3x3 (const reco::BasicCluster &cluster) const
 
float e4x4 (const reco::BasicCluster &cluster) const
 
float e5x1 (const reco::BasicCluster &cluster) const
 
float e5x5 (const reco::BasicCluster &cluster) const
 
float eBottom (const reco::BasicCluster &cluster) const
 
 EcalClusterLazyToolsT (const edm::Event &ev, ESData const &esData, edm::EDGetTokenT< EcalRecHitCollection > token1, edm::EDGetTokenT< EcalRecHitCollection > token2)
 
 EcalClusterLazyToolsT (const edm::Event &ev, ESData const &esData, edm::EDGetTokenT< EcalRecHitCollection > token1, edm::EDGetTokenT< EcalRecHitCollection > token2, edm::EDGetTokenT< EcalRecHitCollection > token3)
 
float eLeft (const reco::BasicCluster &cluster) const
 
float eMax (const reco::BasicCluster &cluster) const
 
std::vector< float > energyBasketFractionEta (const reco::BasicCluster &cluster) const
 
std::vector< float > energyBasketFractionPhi (const reco::BasicCluster &cluster) const
 
std::vector< float > energyMatrix (reco::BasicCluster const &cluster, int size) const
 
float eRight (const reco::BasicCluster &cluster) const
 
float eTop (const reco::BasicCluster &cluster) const
 
std::pair< DetId, float > getMaximum (const reco::BasicCluster &cluster) const
 
std::vector< float > lat (const reco::BasicCluster &cluster, bool logW=true, float w0=4.7) const
 
std::array< float, 3 > localCovariances (const reco::BasicCluster &cluster, float w0=EgammaLocalCovParamDefaults::kRelEnCut, const EcalPFRecHitThresholds *rhthresholds=nullptr, float multEB=0.0, float multEE=0.0) const
 
int n5x5 (const reco::BasicCluster &cluster) const
 
std::array< float, 3 > scLocalCovariances (const reco::SuperCluster &cluster, float w0=4.7) const
 
double zernike20 (const reco::BasicCluster &cluster, double R0=6.6, bool logW=true, float w0=4.7) const
 
double zernike42 (const reco::BasicCluster &cluster, double R0=6.6, bool logW=true, float w0=4.7) const
 
- Public Member Functions inherited from EcalClusterLazyToolsBase
float BasicClusterSeedTime (const reco::BasicCluster &cluster)
 
float BasicClusterTime (const reco::BasicCluster &cluster, const edm::Event &ev)
 
 EcalClusterLazyToolsBase (const edm::Event &ev, ESData const &esData, edm::EDGetTokenT< EcalRecHitCollection > token1, edm::EDGetTokenT< EcalRecHitCollection > token2, std::optional< edm::EDGetTokenT< EcalRecHitCollection >> token3)
 
float eseffsirir (const reco::SuperCluster &cluster)
 
float eseffsixix (const reco::SuperCluster &cluster)
 
float eseffsiyiy (const reco::SuperCluster &cluster)
 
std::vector< float > getESHits (double X, double Y, double Z, const std::map< DetId, EcalRecHit > &rechits_map, const CaloGeometry *geometry, CaloSubdetectorTopology const *topology_p, int row=0, int plane=1)
 
float getESShape (const std::vector< float > &ESHits0)
 
float SuperClusterSeedTime (const reco::SuperCluster &cluster)
 
float SuperClusterTime (const reco::SuperCluster &cluster, const edm::Event &ev)
 

Additional Inherited Members

- Public Attributes inherited from EcalClusterLazyToolsBase
std::map< DetId, EcalRecHitrechits_map_
 
- Protected Member Functions inherited from EcalClusterLazyToolsBase
EcalRecHitCollection const * getEcalRecHitCollection (const reco::BasicCluster &cluster) const
 
- Protected Attributes inherited from EcalClusterLazyToolsBase
EcalADCToGeVConstant const * agc = nullptr
 
const EcalRecHitCollectionebRecHits_
 
std::unique_ptr< CaloSubdetectorTopology const > ecalPS_topology_ = nullptr
 
const EcalRecHitCollectioneeRecHits_
 
const EcalRecHitCollectionesRecHits_
 
const CaloGeometrygeometry_
 
EcalIntercalibConstants const * ical = nullptr
 
EcalIntercalibConstantMap const * icalMap = nullptr
 
EcalLaserDbService const * laser = nullptr
 
const CaloTopologytopology_
 

Detailed Description

template<class ClusterTools>
class EcalClusterLazyToolsT< ClusterTools >

Definition at line 137 of file EcalClusterLazyTools.h.

Constructor & Destructor Documentation

◆ EcalClusterLazyToolsT() [1/2]

template<class ClusterTools >
EcalClusterLazyToolsT< ClusterTools >::EcalClusterLazyToolsT ( const edm::Event ev,
ESData const &  esData,
edm::EDGetTokenT< EcalRecHitCollection token1,
edm::EDGetTokenT< EcalRecHitCollection token2 
)
inline

Definition at line 139 of file EcalClusterLazyTools.h.

143  : EcalClusterLazyToolsBase(ev, esData, token1, token2, std::nullopt) {}
EcalClusterLazyToolsBase(const edm::Event &ev, ESData const &esData, edm::EDGetTokenT< EcalRecHitCollection > token1, edm::EDGetTokenT< EcalRecHitCollection > token2, std::optional< edm::EDGetTokenT< EcalRecHitCollection >> token3)

◆ EcalClusterLazyToolsT() [2/2]

template<class ClusterTools >
EcalClusterLazyToolsT< ClusterTools >::EcalClusterLazyToolsT ( const edm::Event ev,
ESData const &  esData,
edm::EDGetTokenT< EcalRecHitCollection token1,
edm::EDGetTokenT< EcalRecHitCollection token2,
edm::EDGetTokenT< EcalRecHitCollection token3 
)
inline

Definition at line 145 of file EcalClusterLazyTools.h.

150  : EcalClusterLazyToolsBase(ev, esData, token1, token2, token3) {}
EcalClusterLazyToolsBase(const edm::Event &ev, ESData const &esData, edm::EDGetTokenT< EcalRecHitCollection > token1, edm::EDGetTokenT< EcalRecHitCollection > token2, std::optional< edm::EDGetTokenT< EcalRecHitCollection >> token3)

Member Function Documentation

◆ covariances()

template<class ClusterTools >
std::array<float, 3> EcalClusterLazyToolsT< ClusterTools >::covariances ( const reco::BasicCluster cluster,
float  w0 = 4.7 
) const
inline

Definition at line 271 of file EcalClusterLazyTools.h.

References EcalClusterLazyToolsBase::geometry_, EcalClusterLazyToolsBase::getEcalRecHitCollection(), and EcalClusterLazyToolsBase::topology_.

271  {
272  return ClusterTools::covariances(cluster, getEcalRecHitCollection(cluster), topology_, geometry_, w0);
273  }
const CaloGeometry * geometry_
EcalRecHitCollection const * getEcalRecHitCollection(const reco::BasicCluster &cluster) const
const CaloTopology * topology_

◆ e1x3()

template<class ClusterTools >
float EcalClusterLazyToolsT< ClusterTools >::e1x3 ( const reco::BasicCluster cluster) const
inline

Definition at line 177 of file EcalClusterLazyTools.h.

References EcalClusterLazyToolsBase::getEcalRecHitCollection(), and EcalClusterLazyToolsBase::topology_.

177  {
178  return ClusterTools::e1x3(cluster, getEcalRecHitCollection(cluster), topology_);
179  }
EcalRecHitCollection const * getEcalRecHitCollection(const reco::BasicCluster &cluster) const
const CaloTopology * topology_

◆ e1x5()

template<class ClusterTools >
float EcalClusterLazyToolsT< ClusterTools >::e1x5 ( const reco::BasicCluster cluster) const
inline

Definition at line 183 of file EcalClusterLazyTools.h.

References EgHLTOffHistBins_cfi::e1x5, EcalClusterLazyToolsBase::getEcalRecHitCollection(), and EcalClusterLazyToolsBase::topology_.

Referenced by EGammaMvaEleEstimatorCSA14::mvaValue().

183  {
184  return ClusterTools::e1x5(cluster, getEcalRecHitCollection(cluster), topology_);
185  }
EcalRecHitCollection const * getEcalRecHitCollection(const reco::BasicCluster &cluster) const
const CaloTopology * topology_

◆ e2nd()

template<class ClusterTools >
float EcalClusterLazyToolsT< ClusterTools >::e2nd ( const reco::BasicCluster cluster) const
inline

Definition at line 250 of file EcalClusterLazyTools.h.

References EcalClusterLazyToolsBase::getEcalRecHitCollection().

250  {
251  return ClusterTools::e2nd(cluster, getEcalRecHitCollection(cluster));
252  }
EcalRecHitCollection const * getEcalRecHitCollection(const reco::BasicCluster &cluster) const

◆ e2x2()

template<class ClusterTools >
float EcalClusterLazyToolsT< ClusterTools >::e2x2 ( const reco::BasicCluster cluster) const
inline

Definition at line 189 of file EcalClusterLazyTools.h.

References EcalClusterLazyToolsBase::getEcalRecHitCollection(), and EcalClusterLazyToolsBase::topology_.

189  {
190  return ClusterTools::e2x2(cluster, getEcalRecHitCollection(cluster), topology_);
191  }
EcalRecHitCollection const * getEcalRecHitCollection(const reco::BasicCluster &cluster) const
const CaloTopology * topology_

◆ e2x5Bottom()

template<class ClusterTools >
float EcalClusterLazyToolsT< ClusterTools >::e2x5Bottom ( const reco::BasicCluster cluster) const
inline

Definition at line 223 of file EcalClusterLazyTools.h.

References EcalClusterLazyToolsBase::getEcalRecHitCollection(), and EcalClusterLazyToolsBase::topology_.

223  {
224  return ClusterTools::e2x5Bottom(cluster, getEcalRecHitCollection(cluster), topology_);
225  }
EcalRecHitCollection const * getEcalRecHitCollection(const reco::BasicCluster &cluster) const
const CaloTopology * topology_

◆ e2x5Left()

template<class ClusterTools >
float EcalClusterLazyToolsT< ClusterTools >::e2x5Left ( const reco::BasicCluster cluster) const
inline

Definition at line 213 of file EcalClusterLazyTools.h.

References EcalClusterLazyToolsBase::getEcalRecHitCollection(), and EcalClusterLazyToolsBase::topology_.

213  {
214  return ClusterTools::e2x5Left(cluster, getEcalRecHitCollection(cluster), topology_);
215  }
EcalRecHitCollection const * getEcalRecHitCollection(const reco::BasicCluster &cluster) const
const CaloTopology * topology_

◆ e2x5Max()

template<class ClusterTools >
float EcalClusterLazyToolsT< ClusterTools >::e2x5Max ( const reco::BasicCluster cluster) const
inline

Definition at line 229 of file EcalClusterLazyTools.h.

References EcalClusterLazyToolsBase::getEcalRecHitCollection(), and EcalClusterLazyToolsBase::topology_.

229  {
230  return ClusterTools::e2x5Max(cluster, getEcalRecHitCollection(cluster), topology_);
231  }
EcalRecHitCollection const * getEcalRecHitCollection(const reco::BasicCluster &cluster) const
const CaloTopology * topology_

◆ e2x5Right()

template<class ClusterTools >
float EcalClusterLazyToolsT< ClusterTools >::e2x5Right ( const reco::BasicCluster cluster) const
inline

Definition at line 209 of file EcalClusterLazyTools.h.

References EcalClusterLazyToolsBase::getEcalRecHitCollection(), and EcalClusterLazyToolsBase::topology_.

209  {
210  return ClusterTools::e2x5Right(cluster, getEcalRecHitCollection(cluster), topology_);
211  }
EcalRecHitCollection const * getEcalRecHitCollection(const reco::BasicCluster &cluster) const
const CaloTopology * topology_

◆ e2x5Top()

template<class ClusterTools >
float EcalClusterLazyToolsT< ClusterTools >::e2x5Top ( const reco::BasicCluster cluster) const
inline

Definition at line 218 of file EcalClusterLazyTools.h.

References EcalClusterLazyToolsBase::getEcalRecHitCollection(), and EcalClusterLazyToolsBase::topology_.

218  {
219  return ClusterTools::e2x5Top(cluster, getEcalRecHitCollection(cluster), topology_);
220  }
EcalRecHitCollection const * getEcalRecHitCollection(const reco::BasicCluster &cluster) const
const CaloTopology * topology_

◆ e3x1()

template<class ClusterTools >
float EcalClusterLazyToolsT< ClusterTools >::e3x1 ( const reco::BasicCluster cluster) const
inline

Definition at line 180 of file EcalClusterLazyTools.h.

References EcalClusterLazyToolsBase::getEcalRecHitCollection(), and EcalClusterLazyToolsBase::topology_.

180  {
181  return ClusterTools::e3x1(cluster, getEcalRecHitCollection(cluster), topology_);
182  }
EcalRecHitCollection const * getEcalRecHitCollection(const reco::BasicCluster &cluster) const
const CaloTopology * topology_

◆ e3x2()

template<class ClusterTools >
float EcalClusterLazyToolsT< ClusterTools >::e3x2 ( const reco::BasicCluster cluster) const
inline

Definition at line 192 of file EcalClusterLazyTools.h.

References EcalClusterLazyToolsBase::getEcalRecHitCollection(), and EcalClusterLazyToolsBase::topology_.

192  {
193  return ClusterTools::e3x2(cluster, getEcalRecHitCollection(cluster), topology_);
194  }
EcalRecHitCollection const * getEcalRecHitCollection(const reco::BasicCluster &cluster) const
const CaloTopology * topology_

◆ e3x3()

template<class ClusterTools >
float EcalClusterLazyToolsT< ClusterTools >::e3x3 ( const reco::BasicCluster cluster) const
inline

Definition at line 195 of file EcalClusterLazyTools.h.

References EcalClusterLazyToolsBase::getEcalRecHitCollection(), and EcalClusterLazyToolsBase::topology_.

Referenced by EGammaMvaEleEstimatorCSA14::mvaValue(), and EgammaHLTR9IDProducer::produce().

195  {
196  return ClusterTools::e3x3(cluster, getEcalRecHitCollection(cluster), topology_);
197  }
EcalRecHitCollection const * getEcalRecHitCollection(const reco::BasicCluster &cluster) const
const CaloTopology * topology_

◆ e4x4()

template<class ClusterTools >
float EcalClusterLazyToolsT< ClusterTools >::e4x4 ( const reco::BasicCluster cluster) const
inline

Definition at line 198 of file EcalClusterLazyTools.h.

References EcalClusterLazyToolsBase::getEcalRecHitCollection(), and EcalClusterLazyToolsBase::topology_.

198  {
199  return ClusterTools::e4x4(cluster, getEcalRecHitCollection(cluster), topology_);
200  }
EcalRecHitCollection const * getEcalRecHitCollection(const reco::BasicCluster &cluster) const
const CaloTopology * topology_

◆ e5x1()

template<class ClusterTools >
float EcalClusterLazyToolsT< ClusterTools >::e5x1 ( const reco::BasicCluster cluster) const
inline

Definition at line 186 of file EcalClusterLazyTools.h.

References EcalClusterLazyToolsBase::getEcalRecHitCollection(), and EcalClusterLazyToolsBase::topology_.

186  {
187  return ClusterTools::e5x1(cluster, getEcalRecHitCollection(cluster), topology_);
188  }
EcalRecHitCollection const * getEcalRecHitCollection(const reco::BasicCluster &cluster) const
const CaloTopology * topology_

◆ e5x5()

template<class ClusterTools >
float EcalClusterLazyToolsT< ClusterTools >::e5x5 ( const reco::BasicCluster cluster) const
inline

Definition at line 201 of file EcalClusterLazyTools.h.

References EcalClusterLazyToolsBase::getEcalRecHitCollection(), and EcalClusterLazyToolsBase::topology_.

Referenced by EGammaMvaEleEstimatorCSA14::mvaValue().

201  {
202  return ClusterTools::e5x5(cluster, getEcalRecHitCollection(cluster), topology_);
203  }
EcalRecHitCollection const * getEcalRecHitCollection(const reco::BasicCluster &cluster) const
const CaloTopology * topology_

◆ eBottom()

template<class ClusterTools >
float EcalClusterLazyToolsT< ClusterTools >::eBottom ( const reco::BasicCluster cluster) const
inline

Definition at line 242 of file EcalClusterLazyTools.h.

References EcalClusterLazyToolsBase::getEcalRecHitCollection(), and EcalClusterLazyToolsBase::topology_.

242  {
243  return ClusterTools::eBottom(cluster, getEcalRecHitCollection(cluster), topology_);
244  }
EcalRecHitCollection const * getEcalRecHitCollection(const reco::BasicCluster &cluster) const
const CaloTopology * topology_

◆ eLeft()

template<class ClusterTools >
float EcalClusterLazyToolsT< ClusterTools >::eLeft ( const reco::BasicCluster cluster) const
inline

Definition at line 233 of file EcalClusterLazyTools.h.

References EcalClusterLazyToolsBase::getEcalRecHitCollection(), and EcalClusterLazyToolsBase::topology_.

233  {
234  return ClusterTools::eLeft(cluster, getEcalRecHitCollection(cluster), topology_);
235  }
EcalRecHitCollection const * getEcalRecHitCollection(const reco::BasicCluster &cluster) const
const CaloTopology * topology_

◆ eMax()

template<class ClusterTools >
float EcalClusterLazyToolsT< ClusterTools >::eMax ( const reco::BasicCluster cluster) const
inline

Definition at line 246 of file EcalClusterLazyTools.h.

References cosmicPhotonAnalyzer_cfi::eMax, and EcalClusterLazyToolsBase::getEcalRecHitCollection().

246  {
247  return ClusterTools::eMax(cluster, getEcalRecHitCollection(cluster));
248  }
EcalRecHitCollection const * getEcalRecHitCollection(const reco::BasicCluster &cluster) const

◆ energyBasketFractionEta()

template<class ClusterTools >
std::vector<float> EcalClusterLazyToolsT< ClusterTools >::energyBasketFractionEta ( const reco::BasicCluster cluster) const
inline

Definition at line 258 of file EcalClusterLazyTools.h.

References EcalClusterLazyToolsBase::getEcalRecHitCollection().

258  {
259  return ClusterTools::energyBasketFractionEta(cluster, getEcalRecHitCollection(cluster));
260  }
EcalRecHitCollection const * getEcalRecHitCollection(const reco::BasicCluster &cluster) const

◆ energyBasketFractionPhi()

template<class ClusterTools >
std::vector<float> EcalClusterLazyToolsT< ClusterTools >::energyBasketFractionPhi ( const reco::BasicCluster cluster) const
inline

Definition at line 261 of file EcalClusterLazyTools.h.

References EcalClusterLazyToolsBase::getEcalRecHitCollection().

261  {
262  return ClusterTools::energyBasketFractionPhi(cluster, getEcalRecHitCollection(cluster));
263  }
EcalRecHitCollection const * getEcalRecHitCollection(const reco::BasicCluster &cluster) const

◆ energyMatrix()

template<class ClusterTools >
std::vector<float> EcalClusterLazyToolsT< ClusterTools >::energyMatrix ( reco::BasicCluster const &  cluster,
int  size 
) const
inline

Definition at line 153 of file EcalClusterLazyTools.h.

References EcalClusterLazyToolsBase::getEcalRecHitCollection(), SiStripPI::getMaximum(), FastTrackerRecHitMaskProducer_cfi::recHits, findQualityFiles::size, and EcalClusterLazyToolsBase::topology_.

153  {
154  auto recHits = getEcalRecHitCollection(cluster);
155  DetId maxId = ClusterTools::getMaximum(cluster, recHits).first;
156 
157  std::vector<float> energies;
158  for (auto const &detId : CaloRectangleRange(size, maxId, *topology_)) {
159  energies.push_back(ClusterTools::recHitEnergy(detId, recHits));
160  }
161 
162  return energies;
163  }
size
Write out results.
EcalRecHitCollection const * getEcalRecHitCollection(const reco::BasicCluster &cluster) const
double getMaximum(TObjArray *array)
Definition: DetId.h:17
const CaloTopology * topology_

◆ eRight()

template<class ClusterTools >
float EcalClusterLazyToolsT< ClusterTools >::eRight ( const reco::BasicCluster cluster) const
inline

Definition at line 236 of file EcalClusterLazyTools.h.

References EcalClusterLazyToolsBase::getEcalRecHitCollection(), and EcalClusterLazyToolsBase::topology_.

236  {
237  return ClusterTools::eRight(cluster, getEcalRecHitCollection(cluster), topology_);
238  }
EcalRecHitCollection const * getEcalRecHitCollection(const reco::BasicCluster &cluster) const
const CaloTopology * topology_

◆ eTop()

template<class ClusterTools >
float EcalClusterLazyToolsT< ClusterTools >::eTop ( const reco::BasicCluster cluster) const
inline

Definition at line 239 of file EcalClusterLazyTools.h.

References EcalClusterLazyToolsBase::getEcalRecHitCollection(), and EcalClusterLazyToolsBase::topology_.

239  {
240  return ClusterTools::eTop(cluster, getEcalRecHitCollection(cluster), topology_);
241  }
EcalRecHitCollection const * getEcalRecHitCollection(const reco::BasicCluster &cluster) const
const CaloTopology * topology_

◆ getMaximum()

template<class ClusterTools >
std::pair<DetId, float> EcalClusterLazyToolsT< ClusterTools >::getMaximum ( const reco::BasicCluster cluster) const
inline

Definition at line 255 of file EcalClusterLazyTools.h.

References EcalClusterLazyToolsBase::getEcalRecHitCollection(), and SiStripPI::getMaximum().

255  {
256  return ClusterTools::getMaximum(cluster, getEcalRecHitCollection(cluster));
257  }
EcalRecHitCollection const * getEcalRecHitCollection(const reco::BasicCluster &cluster) const
double getMaximum(TObjArray *array)

◆ lat()

template<class ClusterTools >
std::vector<float> EcalClusterLazyToolsT< ClusterTools >::lat ( const reco::BasicCluster cluster,
bool  logW = true,
float  w0 = 4.7 
) const
inline

Definition at line 266 of file EcalClusterLazyTools.h.

References EcalClusterLazyToolsBase::geometry_, and EcalClusterLazyToolsBase::getEcalRecHitCollection().

266  {
267  return ClusterTools::lat(cluster, getEcalRecHitCollection(cluster), geometry_, logW, w0);
268  }
const CaloGeometry * geometry_
EcalRecHitCollection const * getEcalRecHitCollection(const reco::BasicCluster &cluster) const

◆ localCovariances()

template<class ClusterTools >
std::array<float, 3> EcalClusterLazyToolsT< ClusterTools >::localCovariances ( const reco::BasicCluster cluster,
float  w0 = EgammaLocalCovParamDefaults::kRelEnCut,
const EcalPFRecHitThresholds rhthresholds = nullptr,
float  multEB = 0.0,
float  multEE = 0.0 
) const
inline

Definition at line 284 of file EcalClusterLazyTools.h.

References EcalClusterLazyToolsBase::getEcalRecHitCollection(), and EcalClusterLazyToolsBase::topology_.

Referenced by EGammaMvaEleEstimatorCSA14::mvaValue(), and EgammaHLTClusterShapeProducer::produce().

288  {
289  return ClusterTools::localCovariances(
290  cluster, getEcalRecHitCollection(cluster), topology_, w0, rhthresholds, multEB, multEE);
291  }
EcalRecHitCollection const * getEcalRecHitCollection(const reco::BasicCluster &cluster) const
const CaloTopology * topology_

◆ n5x5()

template<class ClusterTools >
int EcalClusterLazyToolsT< ClusterTools >::n5x5 ( const reco::BasicCluster cluster) const
inline

Definition at line 204 of file EcalClusterLazyTools.h.

References EcalClusterLazyToolsBase::getEcalRecHitCollection(), and EcalClusterLazyToolsBase::topology_.

204  {
205  return ClusterTools::n5x5(cluster, getEcalRecHitCollection(cluster), topology_);
206  }
EcalRecHitCollection const * getEcalRecHitCollection(const reco::BasicCluster &cluster) const
const CaloTopology * topology_

◆ scLocalCovariances()

template<class ClusterTools >
std::array<float, 3> EcalClusterLazyToolsT< ClusterTools >::scLocalCovariances ( const reco::SuperCluster cluster,
float  w0 = 4.7 
) const
inline

Definition at line 292 of file EcalClusterLazyTools.h.

References EcalClusterLazyToolsBase::getEcalRecHitCollection(), and EcalClusterLazyToolsBase::topology_.

292  {
293  return ClusterTools::scLocalCovariances(cluster, getEcalRecHitCollection(cluster), topology_, w0);
294  }
EcalRecHitCollection const * getEcalRecHitCollection(const reco::BasicCluster &cluster) const
const CaloTopology * topology_

◆ zernike20()

template<class ClusterTools >
double EcalClusterLazyToolsT< ClusterTools >::zernike20 ( const reco::BasicCluster cluster,
double  R0 = 6.6,
bool  logW = true,
float  w0 = 4.7 
) const
inline

Definition at line 295 of file EcalClusterLazyTools.h.

References EcalClusterLazyToolsBase::geometry_, EcalClusterLazyToolsBase::getEcalRecHitCollection(), and HLT_2022v12_cff::R0.

295  {
296  return ClusterTools::zernike20(cluster, getEcalRecHitCollection(cluster), geometry_, R0, logW, w0);
297  }
const CaloGeometry * geometry_
EcalRecHitCollection const * getEcalRecHitCollection(const reco::BasicCluster &cluster) const

◆ zernike42()

template<class ClusterTools >
double EcalClusterLazyToolsT< ClusterTools >::zernike42 ( const reco::BasicCluster cluster,
double  R0 = 6.6,
bool  logW = true,
float  w0 = 4.7 
) const
inline

Definition at line 298 of file EcalClusterLazyTools.h.

References EcalClusterLazyToolsBase::geometry_, EcalClusterLazyToolsBase::getEcalRecHitCollection(), and HLT_2022v12_cff::R0.

298  {
299  return ClusterTools::zernike42(cluster, getEcalRecHitCollection(cluster), geometry_, R0, logW, w0);
300  }
const CaloGeometry * geometry_
EcalRecHitCollection const * getEcalRecHitCollection(const reco::BasicCluster &cluster) const