CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
AreaSeededTrackingRegionsBuilder::Area Class Reference

#include <AreaSeededTrackingRegionsBuilder.h>

Public Member Functions

 Area ()
 
 Area (float rmin, float rmax, float phimin, float phimax, float zmin, float zmax)
 
float x_rmax_phimax () const
 
float x_rmax_phimin () const
 
float x_rmin_phimax () const
 
float x_rmin_phimin () const
 
float y_rmax_phimax () const
 
float y_rmax_phimin () const
 
float y_rmin_phimax () const
 
float y_rmin_phimin () const
 
float zmax () const
 
float zmin () const
 

Private Attributes

float m_x_rmax_phimax = 0
 
float m_x_rmax_phimin = 0
 
float m_x_rmin_phimax = 0
 
float m_x_rmin_phimin = 0
 
float m_y_rmax_phimax = 0
 
float m_y_rmax_phimin = 0
 
float m_y_rmin_phimax = 0
 
float m_y_rmin_phimin = 0
 
float m_zmax = 0
 
float m_zmin = 0
 

Detailed Description

Definition at line 21 of file AreaSeededTrackingRegionsBuilder.h.

Constructor & Destructor Documentation

AreaSeededTrackingRegionsBuilder::Area::Area ( )
inline

Definition at line 23 of file AreaSeededTrackingRegionsBuilder.h.

23 {}
AreaSeededTrackingRegionsBuilder::Area::Area ( float  rmin,
float  rmax,
float  phimin,
float  phimax,
float  zmin,
float  zmax 
)
inline

Definition at line 28 of file AreaSeededTrackingRegionsBuilder.h.

References funct::cos(), m_x_rmax_phimax, m_x_rmax_phimin, m_x_rmin_phimax, m_x_rmin_phimin, m_y_rmax_phimax, m_y_rmax_phimin, m_y_rmin_phimax, m_y_rmin_phimin, and funct::sin().

28  :
30  {
31  auto cosphimin = std::cos(phimin);
32  auto sinphimin = std::sin(phimin);
33  auto cosphimax = std::cos(phimax);
34  auto sinphimax = std::sin(phimax);
35 
36  m_x_rmin_phimin = rmin*cosphimin;
37  m_x_rmin_phimax = rmin*cosphimax;
38  m_x_rmax_phimin = rmax*cosphimin;
39  m_x_rmax_phimax = rmax*cosphimax;
40 
41  m_y_rmin_phimin = rmin*sinphimin;
42  m_y_rmin_phimax = rmin*sinphimax;
43  m_y_rmax_phimin = rmax*sinphimin;
44  m_y_rmax_phimax = rmax*sinphimax;
45  }
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
Cos< T >::type cos(const T &t)
Definition: Cos.h:22

Member Function Documentation

float AreaSeededTrackingRegionsBuilder::Area::x_rmax_phimax ( ) const
inline
float AreaSeededTrackingRegionsBuilder::Area::x_rmax_phimin ( ) const
inline
float AreaSeededTrackingRegionsBuilder::Area::x_rmin_phimax ( ) const
inline
float AreaSeededTrackingRegionsBuilder::Area::x_rmin_phimin ( ) const
inline
float AreaSeededTrackingRegionsBuilder::Area::y_rmax_phimax ( ) const
inline
float AreaSeededTrackingRegionsBuilder::Area::y_rmax_phimin ( ) const
inline
float AreaSeededTrackingRegionsBuilder::Area::y_rmin_phimax ( ) const
inline
float AreaSeededTrackingRegionsBuilder::Area::y_rmin_phimin ( ) const
inline
float AreaSeededTrackingRegionsBuilder::Area::zmax ( ) const
inline
float AreaSeededTrackingRegionsBuilder::Area::zmin ( ) const
inline

Member Data Documentation

float AreaSeededTrackingRegionsBuilder::Area::m_x_rmax_phimax = 0
private

Definition at line 64 of file AreaSeededTrackingRegionsBuilder.h.

Referenced by Area(), and x_rmax_phimax().

float AreaSeededTrackingRegionsBuilder::Area::m_x_rmax_phimin = 0
private

Definition at line 63 of file AreaSeededTrackingRegionsBuilder.h.

Referenced by Area(), and x_rmax_phimin().

float AreaSeededTrackingRegionsBuilder::Area::m_x_rmin_phimax = 0
private

Definition at line 62 of file AreaSeededTrackingRegionsBuilder.h.

Referenced by Area(), and x_rmin_phimax().

float AreaSeededTrackingRegionsBuilder::Area::m_x_rmin_phimin = 0
private

Definition at line 61 of file AreaSeededTrackingRegionsBuilder.h.

Referenced by Area(), and x_rmin_phimin().

float AreaSeededTrackingRegionsBuilder::Area::m_y_rmax_phimax = 0
private

Definition at line 69 of file AreaSeededTrackingRegionsBuilder.h.

Referenced by Area(), and y_rmax_phimax().

float AreaSeededTrackingRegionsBuilder::Area::m_y_rmax_phimin = 0
private

Definition at line 68 of file AreaSeededTrackingRegionsBuilder.h.

Referenced by Area(), and y_rmax_phimin().

float AreaSeededTrackingRegionsBuilder::Area::m_y_rmin_phimax = 0
private

Definition at line 67 of file AreaSeededTrackingRegionsBuilder.h.

Referenced by Area(), and y_rmin_phimax().

float AreaSeededTrackingRegionsBuilder::Area::m_y_rmin_phimin = 0
private

Definition at line 66 of file AreaSeededTrackingRegionsBuilder.h.

Referenced by Area(), and y_rmin_phimin().

float AreaSeededTrackingRegionsBuilder::Area::m_zmax = 0
private

Definition at line 72 of file AreaSeededTrackingRegionsBuilder.h.

Referenced by zmax().

float AreaSeededTrackingRegionsBuilder::Area::m_zmin = 0
private

Definition at line 71 of file AreaSeededTrackingRegionsBuilder.h.

Referenced by zmin().