CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
PixelModule Class Reference

#include <SelectedElectronFEDListProducer.h>

Public Member Functions

bool operator< (const PixelModule &m) const
 
 PixelModule ()
 
 PixelModule (float phi, float eta)
 

Public Attributes

unsigned int DetId
 
float Eta
 
unsigned int Fed
 
float Phi
 
float x
 
float y
 
float z
 

Detailed Description

Definition at line 66 of file SelectedElectronFEDListProducer.h.

Constructor & Destructor Documentation

◆ PixelModule() [1/2]

PixelModule::PixelModule ( )
inline

Definition at line 68 of file SelectedElectronFEDListProducer.h.

68 {}

◆ PixelModule() [2/2]

PixelModule::PixelModule ( float  phi,
float  eta 
)
inline

Member Function Documentation

◆ operator<()

bool PixelModule::operator< ( const PixelModule m) const
inline

Definition at line 70 of file SelectedElectronFEDListProducer.h.

References Eta, visualization-live-secondInstance_cfg::m, and Phi.

70  {
71  if (Phi < m.Phi)
72  return true;
73  if (Phi == m.Phi && Eta < m.Eta)
74  return true;
75  if (Phi == m.Phi && Eta == m.Eta && DetId < m.DetId)
76  return true;
77  return false;
78  }
Definition: DetId.h:17

Member Data Documentation

◆ DetId

unsigned int PixelModule::DetId

Definition at line 82 of file SelectedElectronFEDListProducer.h.

◆ Eta

float PixelModule::Eta

Definition at line 80 of file SelectedElectronFEDListProducer.h.

Referenced by operator<().

◆ Fed

unsigned int PixelModule::Fed

Definition at line 83 of file SelectedElectronFEDListProducer.h.

◆ Phi

float PixelModule::Phi

Definition at line 80 of file SelectedElectronFEDListProducer.h.

Referenced by operator<().

◆ x

float PixelModule::x

◆ y

float PixelModule::y

◆ z

float PixelModule::z