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
PixelUnpackingRegions::Region Struct Reference

#include <PixelUnpackingRegions.h>

Public Member Functions

 Region (const math::XYZVector &dir, float dphi=0.5f, float maxz=24.f)
 

Public Attributes

float atantheta
 
float cosphi
 
float dPhi
 
float maxZ
 
float sinphi
 
math::XYZVector v
 

Detailed Description

container to define regions for objects of interest in each event by: object direction dphi max distance from region direction to center of a pixel module maxZ max projected z of a pixel module (when projecting along region direction onto beamline)

Definition at line 35 of file PixelUnpackingRegions.h.

Constructor & Destructor Documentation

PixelUnpackingRegions::Region::Region ( const math::XYZVector dir,
float  dphi = 0.5f,
float  maxz = 24.f 
)
inline

Definition at line 37 of file PixelUnpackingRegions.h.

References atantheta, cosphi, sinphi, and v.

37  :
38  v(dir), dPhi(dphi), maxZ(maxz)
39  {
40  cosphi = v.x()/v.rho();
41  sinphi = v.y()/v.rho();
42  atantheta = v.z()/v.rho();
43  }
dbl *** dir
Definition: mlp_gen.cc:35

Member Data Documentation

float PixelUnpackingRegions::Region::atantheta

Definition at line 46 of file PixelUnpackingRegions.h.

Referenced by PixelUnpackingRegions::gatherFromRange(), and Region().

float PixelUnpackingRegions::Region::cosphi

Definition at line 46 of file PixelUnpackingRegions.h.

Referenced by PixelUnpackingRegions::gatherFromRange(), and Region().

float PixelUnpackingRegions::Region::dPhi

Definition at line 45 of file PixelUnpackingRegions.h.

Referenced by PixelUnpackingRegions::addRegion().

float PixelUnpackingRegions::Region::maxZ

Definition at line 45 of file PixelUnpackingRegions.h.

Referenced by PixelUnpackingRegions::gatherFromRange().

float PixelUnpackingRegions::Region::sinphi

Definition at line 46 of file PixelUnpackingRegions.h.

Referenced by PixelUnpackingRegions::gatherFromRange(), and Region().

math::XYZVector PixelUnpackingRegions::Region::v

Definition at line 44 of file PixelUnpackingRegions.h.

Referenced by PixelUnpackingRegions::addRegion(), and Region().