CMS 3D CMS Logo

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 49 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 60 of file HLTCaloObjInRegionsProducer.h.

60 {}

Member Function Documentation

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

Definition at line 61 of file HLTCaloObjInRegionsProducer.h.

References funct::abs(), reco::deltaPhi(), reco::deltaR2(), and maxDPhi_.

61  {
constexpr double deltaPhi(double phi1, double phi2)
Definition: deltaPhi.h:22
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
constexpr auto deltaR2(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
Definition: deltaR.h:16

Member Data Documentation

float EtaPhiRegion::centreEta_
private

Definition at line 51 of file HLTCaloObjInRegionsProducer.h.

float EtaPhiRegion::centrePhi_
private

Definition at line 52 of file HLTCaloObjInRegionsProducer.h.

float EtaPhiRegion::maxDeltaR2_
private

Definition at line 53 of file HLTCaloObjInRegionsProducer.h.

float EtaPhiRegion::maxDEta_
private
float EtaPhiRegion::maxDPhi_
private