CMS 3D CMS Logo

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

#include <SelectedElectronFEDListProducer.h>

Public Member Functions

 PixelRegion (math::XYZVector &momentum, float dphi=0.5, float deta=0.5, float maxz=24.0)
 

Public Attributes

float atantheta
 
float cosphi
 
float dEta
 
float dPhi
 
float maxZ
 
float sinphi
 
math::XYZVector vector
 

Detailed Description

Definition at line 48 of file SelectedElectronFEDListProducer.h.

Constructor & Destructor Documentation

◆ PixelRegion()

PixelRegion::PixelRegion ( math::XYZVector momentum,
float  dphi = 0.5,
float  deta = 0.5,
float  maxz = 24.0 
)
inline

Definition at line 50 of file SelectedElectronFEDListProducer.h.

References atantheta, cosphi, dEta, dPhi, maxZ, phase1PixelTopology::maxz, sinphi, and vector.

50  {
51  vector = momentum;
52  dPhi = dphi;
53  dEta = deta;
54  maxZ = maxz;
55  cosphi = vector.x() / vector.rho();
56  sinphi = vector.y() / vector.rho();
57  atantheta = vector.z() / vector.rho();
58  }
constexpr float maxz[nPairs]

Member Data Documentation

◆ atantheta

float PixelRegion::atantheta

Definition at line 62 of file SelectedElectronFEDListProducer.h.

Referenced by PixelRegion().

◆ cosphi

float PixelRegion::cosphi

Definition at line 62 of file SelectedElectronFEDListProducer.h.

Referenced by PixelRegion().

◆ dEta

float PixelRegion::dEta

Definition at line 61 of file SelectedElectronFEDListProducer.h.

Referenced by PixelRegion().

◆ dPhi

float PixelRegion::dPhi

Definition at line 61 of file SelectedElectronFEDListProducer.h.

Referenced by PixelRegion().

◆ maxZ

float PixelRegion::maxZ

Definition at line 61 of file SelectedElectronFEDListProducer.h.

Referenced by PixelRegion().

◆ sinphi

float PixelRegion::sinphi

Definition at line 62 of file SelectedElectronFEDListProducer.h.

Referenced by PixelRegion().

◆ vector

math::XYZVector PixelRegion::vector

Definition at line 60 of file SelectedElectronFEDListProducer.h.

Referenced by PixelRegion().