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

References dPhi(), and CosmicsPD_Skims::maxZ.

100  {
101  vector = momentum;
102  dPhi = dphi ;
103  dEta = deta ;
104  maxZ = maxz ;
105  cosphi = vector.x()/vector.rho();
106  sinphi = vector.y()/vector.rho();
107  atantheta = vector.z()/vector.rho();
108  }

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