CMS 3D CMS Logo

Public Member Functions | Public Attributes

PixelUnpackingRegions::Region Struct Reference

#include <PixelUnpackingRegions.h>

List of all members.

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.

                                                                          :
      v(dir), dPhi(dphi), maxZ(maxz)
    {
      cosphi = v.x()/v.rho();
      sinphi = v.y()/v.rho();
      atantheta = v.z()/v.rho();
    }

Member Data Documentation

Definition at line 46 of file PixelUnpackingRegions.h.

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

Definition at line 46 of file PixelUnpackingRegions.h.

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

Definition at line 45 of file PixelUnpackingRegions.h.

Referenced by PixelUnpackingRegions::addRegion().

Definition at line 45 of file PixelUnpackingRegions.h.

Referenced by PixelUnpackingRegions::gatherFromRange().

Definition at line 46 of file PixelUnpackingRegions.h.

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

Definition at line 44 of file PixelUnpackingRegions.h.

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