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 35 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 36 of file PixelUnpackingRegions.h.

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

References atantheta, cosphi, sinphi, and v.

Member Data Documentation

◆ atantheta

float PixelUnpackingRegions::Region::atantheta

Definition at line 43 of file PixelUnpackingRegions.h.

Referenced by Region().

◆ cosphi

float PixelUnpackingRegions::Region::cosphi

Definition at line 43 of file PixelUnpackingRegions.h.

Referenced by Region().

◆ dPhi

float PixelUnpackingRegions::Region::dPhi

Definition at line 42 of file PixelUnpackingRegions.h.

◆ maxZ

float PixelUnpackingRegions::Region::maxZ

Definition at line 42 of file PixelUnpackingRegions.h.

◆ sinphi

float PixelUnpackingRegions::Region::sinphi

Definition at line 43 of file PixelUnpackingRegions.h.

Referenced by Region().

◆ v

math::XYZVector PixelUnpackingRegions::Region::v

Definition at line 41 of file PixelUnpackingRegions.h.

Referenced by Region().

PixelUnpackingRegions::Region::v
math::XYZVector v
Definition: PixelUnpackingRegions.h:41
PixelUnpackingRegions::Region::atantheta
float atantheta
Definition: PixelUnpackingRegions.h:43
PixelUnpackingRegions::Region::maxZ
float maxZ
Definition: PixelUnpackingRegions.h:42
PixelUnpackingRegions::Region::cosphi
float cosphi
Definition: PixelUnpackingRegions.h:43
PixelUnpackingRegions::Region::dPhi
float dPhi
Definition: PixelUnpackingRegions.h:42
PixelUnpackingRegions::Region::sinphi
float sinphi
Definition: PixelUnpackingRegions.h:43
DeadROC_duringRun.dir
dir
Definition: DeadROC_duringRun.py:23