CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
BinSearch Struct Reference

#include <RntStructs.h>

Public Member Functions

 BinSearch ()=default
 
bool nan_check ()
 
BinSearchoperator= (const BinSearch &)=default
 

Public Attributes

float dphi
 
float dq
 
bool has_nans = false
 
short unsigned int p1
 
short unsigned int p2
 
float phi
 
float q
 
short unsigned int q1
 
short unsigned int q2
 
short int wsr
 
bool wsr_in_gap
 

Detailed Description

Definition at line 60 of file RntStructs.h.

Constructor & Destructor Documentation

◆ BinSearch()

BinSearch::BinSearch ( )
default

Member Function Documentation

◆ nan_check()

bool BinSearch::nan_check ( )

Definition at line 35 of file RntStructs.cc.

References dphi, dq, has_nans, phi, and q.

Referenced by CandInfo::nan_check().

35  {
36  has_nans = ngr(phi);
37  has_nans |= ngr(dphi);
38  has_nans |= ngr(q);
39  has_nans |= ngr(dq);
40  return has_nans;
41 }
float dq
Definition: RntStructs.h:61
float phi
Definition: RntStructs.h:61
float q
Definition: RntStructs.h:61
bool has_nans
Definition: RntStructs.h:65
float dphi
Definition: RntStructs.h:61

◆ operator=()

BinSearch& BinSearch::operator= ( const BinSearch )
default

Member Data Documentation

◆ dphi

float BinSearch::dphi

Definition at line 61 of file RntStructs.h.

Referenced by nan_check().

◆ dq

float BinSearch::dq

Definition at line 61 of file RntStructs.h.

Referenced by nan_check().

◆ has_nans

bool BinSearch::has_nans = false

Definition at line 65 of file RntStructs.h.

Referenced by nan_check().

◆ p1

short unsigned int BinSearch::p1

Definition at line 62 of file RntStructs.h.

◆ p2

short unsigned int BinSearch::p2

Definition at line 62 of file RntStructs.h.

◆ phi

float BinSearch::phi

◆ q

float BinSearch::q

Definition at line 61 of file RntStructs.h.

Referenced by nan_check().

◆ q1

short unsigned int BinSearch::q1

Definition at line 62 of file RntStructs.h.

◆ q2

short unsigned int BinSearch::q2

Definition at line 62 of file RntStructs.h.

◆ wsr

short int BinSearch::wsr

Definition at line 63 of file RntStructs.h.

◆ wsr_in_gap

bool BinSearch::wsr_in_gap

Definition at line 64 of file RntStructs.h.