CMS 3D CMS Logo

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

#include <EgammaHLTPixelMatchParamObjects.h>

Public Member Functions

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

Public Attributes

float x
 
size_t y
 

Detailed Description

Definition at line 40 of file EgammaHLTPixelMatchParamObjects.h.

Constructor & Destructor Documentation

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

Definition at line 44 of file EgammaHLTPixelMatchParamObjects.h.

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

44  {
46  x = std::abs(scRef->eta());
47  y = scRef->clustersSize();
48  }
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::AbsEtaNrClus::pass ( float  absEtaMin,
float  absEtaMax,
size_t  nrClusMin,
size_t  nrClusMax 
) const
inline

Member Data Documentation

float egPM::AbsEtaNrClus::x
size_t egPM::AbsEtaNrClus::y