CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 38 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 40 of file SelectedElectronFEDListProducer.h.

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

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

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