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 54 of file SelectedElectronFEDListProducer.h.

Constructor & Destructor Documentation

◆ PixelModule() [1/2]

PixelModule::PixelModule ( )
inline

Definition at line 56 of file SelectedElectronFEDListProducer.h.

56 {}

◆ PixelModule() [2/2]

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

Definition at line 57 of file SelectedElectronFEDListProducer.h.

57 : Phi(phi), Eta(eta), x(0.), y(0.), z(0.), DetId(0), Fed(0) {}

Member Function Documentation

◆ operator<()

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

Definition at line 58 of file SelectedElectronFEDListProducer.h.

58  {
59  if (Phi < m.Phi)
60  return true;
61  if (Phi == m.Phi && Eta < m.Eta)
62  return true;
63  if (Phi == m.Phi && Eta == m.Eta && DetId < m.DetId)
64  return true;
65  return false;
66  }

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

Member Data Documentation

◆ DetId

unsigned int PixelModule::DetId

Definition at line 70 of file SelectedElectronFEDListProducer.h.

◆ Eta

float PixelModule::Eta

Definition at line 68 of file SelectedElectronFEDListProducer.h.

Referenced by operator<().

◆ Fed

unsigned int PixelModule::Fed

Definition at line 71 of file SelectedElectronFEDListProducer.h.

◆ Phi

float PixelModule::Phi

Definition at line 68 of file SelectedElectronFEDListProducer.h.

Referenced by operator<().

◆ x

float PixelModule::x

◆ y

float PixelModule::y

◆ z

float PixelModule::z
PixelModule::DetId
unsigned int DetId
Definition: SelectedElectronFEDListProducer.h:70
PixelModule::Phi
float Phi
Definition: SelectedElectronFEDListProducer.h:68
DetId
Definition: DetId.h:17
PVValHelper::eta
Definition: PVValidationHelpers.h:69
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:72
PixelModule::x
float x
Definition: SelectedElectronFEDListProducer.h:69
PixelModule::y
float y
Definition: SelectedElectronFEDListProducer.h:69
DDAxes::phi
PixelModule::z
float z
Definition: SelectedElectronFEDListProducer.h:69
PixelModule::Eta
float Eta
Definition: SelectedElectronFEDListProducer.h:68
PixelModule::Fed
unsigned int Fed
Definition: SelectedElectronFEDListProducer.h:71