CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 55 of file EgammaHLTPixelMatchParamObjects.h.

Constructor & Destructor Documentation

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

Definition at line 60 of file EgammaHLTPixelMatchParamObjects.h.

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

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

Member Function Documentation

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

Definition at line 66 of file EgammaHLTPixelMatchParamObjects.h.

References L1TMuonDQMOffline_cfi::phiMax, x, and z.

66  {
67  return x >= absEtaMin && x < absEtaMax && y >= nrClusMin && y <= nrClusMax && z >= phiMin && z < phiMax;
68  }

Member Data Documentation

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