CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
PixelUnpackingRegions::Module Struct Reference

#include <PixelUnpackingRegions.h>

Public Member Functions

 Module ()
 
 Module (float ph)
 
bool operator< (const Module &m) const
 

Public Attributes

unsigned int fed
 
unsigned int id
 
float phi
 
float x
 
float y
 
float z
 

Detailed Description

Definition at line 72 of file PixelUnpackingRegions.h.

Constructor & Destructor Documentation

◆ Module() [1/2]

PixelUnpackingRegions::Module::Module ( )
inline

Definition at line 78 of file PixelUnpackingRegions.h.

78 {}

◆ Module() [2/2]

PixelUnpackingRegions::Module::Module ( float  ph)
inline

Member Function Documentation

◆ operator<()

bool PixelUnpackingRegions::Module::operator< ( const Module m) const
inline

Definition at line 81 of file PixelUnpackingRegions.h.

References visualization-live-secondInstance_cfg::m, and phi.

81  {
82  if (phi < m.phi)
83  return true;
84  if (phi == m.phi && id < m.id)
85  return true;
86  return false;
87  }

Member Data Documentation

◆ fed

unsigned int PixelUnpackingRegions::Module::fed

Definition at line 76 of file PixelUnpackingRegions.h.

◆ id

unsigned int PixelUnpackingRegions::Module::id

Definition at line 75 of file PixelUnpackingRegions.h.

◆ phi

float PixelUnpackingRegions::Module::phi

◆ x

float PixelUnpackingRegions::Module::x

◆ y

float PixelUnpackingRegions::Module::y

◆ z

float PixelUnpackingRegions::Module::z