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

Constructor & Destructor Documentation

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

Definition at line 61 of file EgammaHLTPixelMatchParamObjects.h.

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

61  {
63  x = std::abs(scRef->eta());
64  y = scRef->clustersSize();
65  z = scRef->phi();
66  }
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:289

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