CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
egPM::AbsEtaNrClusPhi Struct Reference

#include <EgammaHLTPixelMatchParamObjects.h>

Public Member Functions

 AbsEtaNrClusPhi (const reco::ElectronSeed &seed)
 
bool pass (float absEtaMin, float absEtaMax, size_t nrClusMin, size_t nrClusMax, float phiMin, float phiMax) const
 

Public Attributes

float x
 
size_t y
 
float z
 

Detailed Description

Definition at line 55 of file EgammaHLTPixelMatchParamObjects.h.

Constructor & Destructor Documentation

◆ AbsEtaNrClusPhi()

egPM::AbsEtaNrClusPhi::AbsEtaNrClusPhi ( const reco::ElectronSeed seed)
inline

Definition at line 60 of file EgammaHLTPixelMatchParamObjects.h.

References funct::abs(), fileCollector::seed, x, y, and z.

60  {
61  reco::SuperClusterRef scRef = seed.caloCluster().castTo<reco::SuperClusterRef>();
62  x = std::abs(scRef->eta());
63  y = scRef->clustersSize();
64  z = scRef->phi();
65  }
Abs< T >::type abs(const T &t)
Definition: Abs.h:22

Member Function Documentation

◆ pass()

bool egPM::AbsEtaNrClusPhi::pass ( float  absEtaMin,
float  absEtaMax,
size_t  nrClusMin,
size_t  nrClusMax,
float  phiMin,
float  phiMax 
) const
inline

Member Data Documentation

◆ x

float egPM::AbsEtaNrClusPhi::x

◆ y

size_t egPM::AbsEtaNrClusPhi::y

◆ z

float egPM::AbsEtaNrClusPhi::z