CMS 3D CMS Logo

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 38 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 40 of file PixelUnpackingRegions.h.

References atantheta, cosphi, sinphi, and v.

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

Member Data Documentation

float PixelUnpackingRegions::Region::atantheta

Definition at line 49 of file PixelUnpackingRegions.h.

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

float PixelUnpackingRegions::Region::cosphi

Definition at line 49 of file PixelUnpackingRegions.h.

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

float PixelUnpackingRegions::Region::dPhi

Definition at line 48 of file PixelUnpackingRegions.h.

Referenced by PixelUnpackingRegions::addRegion().

float PixelUnpackingRegions::Region::maxZ

Definition at line 48 of file PixelUnpackingRegions.h.

Referenced by PixelUnpackingRegions::gatherFromRange().

float PixelUnpackingRegions::Region::sinphi

Definition at line 49 of file PixelUnpackingRegions.h.

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

math::XYZVector PixelUnpackingRegions::Region::v

Definition at line 47 of file PixelUnpackingRegions.h.

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