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 53 of file EgammaHLTPixelMatchParamObjects.h.

Constructor & Destructor Documentation

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

Definition at line 58 of file EgammaHLTPixelMatchParamObjects.h.

References funct::abs(), reco::ElectronSeed::caloCluster(), and edm::RefToBase< T >::castTo().

58  {
60  x = std::abs(scRef->eta());
61  y = scRef->clustersSize();
62  z = scRef->phi();
63  }
const CaloClusterRef & caloCluster() const
Definition: ElectronSeed.h:94
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
REF castTo() const
Definition: RefToBase.h:286

Member Function Documentation

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

Member Data Documentation

float egPM::AbsEtaNrClusPhi::x
size_t egPM::AbsEtaNrClusPhi::y
float egPM::AbsEtaNrClusPhi::z