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

Constructor & Destructor Documentation

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

Definition at line 38 of file SelectedElectronFEDListProducer.h.

References atantheta, cosphi, dEta, dPhi, maxZ, sinphi, and vector.

38  {
39  vector = momentum;
40  dPhi = dphi;
41  dEta = deta;
42  maxZ = maxz;
43  cosphi = vector.x() / vector.rho();
44  sinphi = vector.y() / vector.rho();
45  atantheta = vector.z() / vector.rho();
46  }

Member Data Documentation

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