CMS 3D CMS Logo

List of all members | Public Member Functions
TrackingLayer::eqfct Struct Reference

#include <TrackingLayer.h>

Public Member Functions

 eqfct ()
 
bool operator() (const TrackingLayer &l1, const TrackingLayer &l2) const
 

Detailed Description

Definition at line 19 of file TrackingLayer.h.

Constructor & Destructor Documentation

◆ eqfct()

TrackingLayer::eqfct::eqfct ( )
inline

Definition at line 20 of file TrackingLayer.h.

20 {};

Member Function Documentation

◆ operator()()

bool TrackingLayer::eqfct::operator() ( const TrackingLayer l1,
const TrackingLayer l2 
) const
inline

Definition at line 22 of file TrackingLayer.h.

References TrackingLayer::getLayerNumber(), TrackingLayer::getSideNumber(), and TrackingLayer::getSubDetNumber().

22  {
23  return (l1.getSubDetNumber() == l2.getSubDetNumber() && l1.getLayerNumber() == l2.getLayerNumber() &&
24  l1.getSideNumber() == l2.getSideNumber());
25  }
unsigned int getLayerNumber() const
Definition: TrackingLayer.h:59
unsigned int getSubDetNumber() const
Definition: TrackingLayer.h:55
unsigned int getSideNumber() const
Definition: TrackingLayer.h:57