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

Constructor & Destructor Documentation

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

Definition at line 46 of file EgammaHLTPixelMatchParamObjects.h.

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

46  {
48  x = std::abs(scRef->eta());
49  y = scRef->clustersSize();
50  }
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:257

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