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

Constructor & Destructor Documentation

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

Definition at line 47 of file EgammaHLTPixelMatchParamObjects.h.

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

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