CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
DeltaPhiMinPairSelector Struct Reference

#include <DeltaPhiMinPairSelector.h>

Public Member Functions

 DeltaPhiMinPairSelector (double deltaPhiMin)
 
template<typename T1 , typename T2 >
bool operator() (const T1 &t1, const T2 &t2) const
 

Private Attributes

double deltaPhiMin_
 

Detailed Description

Definition at line 11 of file DeltaPhiMinPairSelector.h.

Constructor & Destructor Documentation

◆ DeltaPhiMinPairSelector()

DeltaPhiMinPairSelector::DeltaPhiMinPairSelector ( double  deltaPhiMin)
inline

Definition at line 12 of file DeltaPhiMinPairSelector.h.

12 : deltaPhiMin_(deltaPhiMin) {}

Member Function Documentation

◆ operator()()

template<typename T1 , typename T2 >
bool DeltaPhiMinPairSelector::operator() ( const T1 &  t1,
const T2 &  t2 
) const
inline

Definition at line 14 of file DeltaPhiMinPairSelector.h.

14  {
15  return deltaPhi(t1.phi(), t2.phi()) > deltaPhiMin_;
16  }

References SiPixelRawToDigiRegional_cfi::deltaPhi, deltaPhiMin_, RandomServiceHelper::t1, and RandomServiceHelper::t2.

Member Data Documentation

◆ deltaPhiMin_

double DeltaPhiMinPairSelector::deltaPhiMin_
private

Definition at line 19 of file DeltaPhiMinPairSelector.h.

Referenced by operator()().

RandomServiceHelper.t2
t2
Definition: RandomServiceHelper.py:257
DeltaPhiMinPairSelector::deltaPhiMin_
double deltaPhiMin_
Definition: DeltaPhiMinPairSelector.h:19
RandomServiceHelper.t1
t1
Definition: RandomServiceHelper.py:256
SiPixelRawToDigiRegional_cfi.deltaPhi
deltaPhi
Definition: SiPixelRawToDigiRegional_cfi.py:9