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

◆ Region()

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

Definition at line 39 of file PixelUnpackingRegions.h.

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

References atantheta, cosphi, sinphi, and v.

Member Data Documentation

◆ atantheta

float PixelUnpackingRegions::Region::atantheta

Definition at line 46 of file PixelUnpackingRegions.h.

Referenced by Region().

◆ cosphi

float PixelUnpackingRegions::Region::cosphi

Definition at line 46 of file PixelUnpackingRegions.h.

Referenced by Region().

◆ dPhi

float PixelUnpackingRegions::Region::dPhi

Definition at line 45 of file PixelUnpackingRegions.h.

◆ maxZ

float PixelUnpackingRegions::Region::maxZ

Definition at line 45 of file PixelUnpackingRegions.h.

◆ sinphi

float PixelUnpackingRegions::Region::sinphi

Definition at line 46 of file PixelUnpackingRegions.h.

Referenced by Region().

◆ v

math::XYZVector PixelUnpackingRegions::Region::v

Definition at line 44 of file PixelUnpackingRegions.h.

Referenced by Region().

PixelUnpackingRegions::Region::v
math::XYZVector v
Definition: PixelUnpackingRegions.h:44
gpuPixelDoublets::maxz
__constant__ const float maxz[nPairs]
Definition: gpuPixelDoublets.h:55
PixelUnpackingRegions::Region::atantheta
float atantheta
Definition: PixelUnpackingRegions.h:46
PixelUnpackingRegions::Region::maxZ
float maxZ
Definition: PixelUnpackingRegions.h:45
PixelUnpackingRegions::Region::cosphi
float cosphi
Definition: PixelUnpackingRegions.h:46
PixelUnpackingRegions::Region::dPhi
float dPhi
Definition: PixelUnpackingRegions.h:45
PixelUnpackingRegions::Region::sinphi
float sinphi
Definition: PixelUnpackingRegions.h:46
DeadROC_duringRun.dir
dir
Definition: DeadROC_duringRun.py:23