CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
HBHELinearMap::HBHEChannelId Class Reference

Public Member Functions

unsigned depth () const
 
 HBHEChannelId ()
 
 HBHEChannelId (const unsigned i_depth, const int i_ieta, const unsigned i_iphi)
 
int ieta () const
 
unsigned iphi () const
 
bool operator!= (const HBHEChannelId &r) const
 
bool operator< (const HBHEChannelId &r) const
 
bool operator== (const HBHEChannelId &r) const
 

Private Attributes

unsigned depth_
 
int ieta_
 
unsigned iphi_
 

Detailed Description

Definition at line 41 of file HBHELinearMap.h.

Constructor & Destructor Documentation

◆ HBHEChannelId() [1/2]

HBHELinearMap::HBHEChannelId::HBHEChannelId ( )
inline

Definition at line 43 of file HBHELinearMap.h.

43 : depth_(1000U), ieta_(1000), iphi_(1000U) {}

◆ HBHEChannelId() [2/2]

HBHELinearMap::HBHEChannelId::HBHEChannelId ( const unsigned  i_depth,
const int  i_ieta,
const unsigned  i_iphi 
)
inline

Definition at line 45 of file HBHELinearMap.h.

46  : depth_(i_depth), ieta_(i_ieta), iphi_(i_iphi) {}

Member Function Documentation

◆ depth()

unsigned HBHELinearMap::HBHEChannelId::depth ( ) const
inline

Definition at line 49 of file HBHELinearMap.h.

49 { return depth_; }

References depth_.

◆ ieta()

int HBHELinearMap::HBHEChannelId::ieta ( ) const
inline

Definition at line 50 of file HBHELinearMap.h.

50 { return ieta_; }

References ieta_.

◆ iphi()

unsigned HBHELinearMap::HBHEChannelId::iphi ( ) const
inline

Definition at line 51 of file HBHELinearMap.h.

51 { return iphi_; }

References iphi_.

◆ operator!=()

bool HBHELinearMap::HBHEChannelId::operator!= ( const HBHEChannelId r) const
inline

Definition at line 69 of file HBHELinearMap.h.

69 { return !(*this == r); }

References alignCSCRings::r.

◆ operator<()

bool HBHELinearMap::HBHEChannelId::operator< ( const HBHEChannelId r) const
inline

Definition at line 53 of file HBHELinearMap.h.

53  {
54  if (depth_ < r.depth_)
55  return true;
56  if (r.depth_ < depth_)
57  return false;
58  if (ieta_ < r.ieta_)
59  return true;
60  if (r.ieta_ < ieta_)
61  return false;
62  return iphi_ < r.iphi_;
63  }

References depth_, ieta_, iphi_, and alignCSCRings::r.

◆ operator==()

bool HBHELinearMap::HBHEChannelId::operator== ( const HBHEChannelId r) const
inline

Definition at line 65 of file HBHELinearMap.h.

65  {
66  return depth_ == r.depth_ && ieta_ == r.ieta_ && iphi_ == r.iphi_;
67  }

References depth_, ieta_, iphi_, and alignCSCRings::r.

Member Data Documentation

◆ depth_

unsigned HBHELinearMap::HBHEChannelId::depth_
private

Definition at line 72 of file HBHELinearMap.h.

Referenced by depth(), operator<(), and operator==().

◆ ieta_

int HBHELinearMap::HBHEChannelId::ieta_
private

Definition at line 73 of file HBHELinearMap.h.

Referenced by ieta(), operator<(), and operator==().

◆ iphi_

unsigned HBHELinearMap::HBHEChannelId::iphi_
private

Definition at line 74 of file HBHELinearMap.h.

Referenced by iphi(), operator<(), and operator==().

HBHELinearMap::HBHEChannelId::iphi_
unsigned iphi_
Definition: HBHELinearMap.h:74
HBHELinearMap::HBHEChannelId::ieta_
int ieta_
Definition: HBHELinearMap.h:73
mitigatedMETSequence_cff.U
U
Definition: mitigatedMETSequence_cff.py:36
alignCSCRings.r
r
Definition: alignCSCRings.py:93
HBHELinearMap::HBHEChannelId::depth_
unsigned depth_
Definition: HBHELinearMap.h:72