test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
EtaPhiRegion Class Reference

#include <HLTCaloObjInRegionsProducer.h>

Public Member Functions

 EtaPhiRegion (float iEta, float iPhi, float iDR, float iDEta, float iDPhi)
 
bool operator() (float eta, float phi) const
 
 ~EtaPhiRegion ()
 

Private Attributes

float centreEta_
 
float centrePhi_
 
float maxDeltaR2_
 
float maxDEta_
 
float maxDPhi_
 

Detailed Description

Definition at line 56 of file HLTCaloObjInRegionsProducer.h.

Constructor & Destructor Documentation

EtaPhiRegion::EtaPhiRegion ( float  iEta,
float  iPhi,
float  iDR,
float  iDEta,
float  iDPhi 
)
inline
EtaPhiRegion::~EtaPhiRegion ( )
inline

Definition at line 67 of file HLTCaloObjInRegionsProducer.h.

67 {}

Member Function Documentation

bool EtaPhiRegion::operator() ( float  eta,
float  phi 
) const
inline

Definition at line 68 of file HLTCaloObjInRegionsProducer.h.

References funct::abs(), centreEta_, centrePhi_, reco::deltaPhi(), reco::deltaR2(), maxDeltaR2_, maxDEta_, and maxDPhi_.

68  {
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
double deltaPhi(double phi1, double phi2)
Definition: deltaPhi.h:22
T1 deltaR2(T1 eta1, T2 phi1, T3 eta2, T4 phi2)
Definition: deltaR.h:36

Member Data Documentation

float EtaPhiRegion::centreEta_
private

Definition at line 58 of file HLTCaloObjInRegionsProducer.h.

Referenced by operator()().

float EtaPhiRegion::centrePhi_
private

Definition at line 59 of file HLTCaloObjInRegionsProducer.h.

Referenced by operator()().

float EtaPhiRegion::maxDeltaR2_
private

Definition at line 60 of file HLTCaloObjInRegionsProducer.h.

Referenced by operator()().

float EtaPhiRegion::maxDEta_
private

Definition at line 61 of file HLTCaloObjInRegionsProducer.h.

Referenced by operator()().

float EtaPhiRegion::maxDPhi_
private

Definition at line 62 of file HLTCaloObjInRegionsProducer.h.

Referenced by operator()().