CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 27 of file AreaSeededTrackingRegionsBuilder.h.

Constructor & Destructor Documentation

AreaSeededTrackingRegionsBuilder::Area::Area ( )
inline

Definition at line 29 of file AreaSeededTrackingRegionsBuilder.h.

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

Definition at line 34 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().

34  : m_zmin(zmin), m_zmax(zmax) {
35  auto cosphimin = std::cos(phimin);
36  auto sinphimin = std::sin(phimin);
37  auto cosphimax = std::cos(phimax);
38  auto sinphimax = std::sin(phimax);
39 
40  m_x_rmin_phimin = rmin * cosphimin;
41  m_x_rmin_phimax = rmin * cosphimax;
42  m_x_rmax_phimin = rmax * cosphimin;
43  m_x_rmax_phimax = rmax * cosphimax;
44 
45  m_y_rmin_phimin = rmin * sinphimin;
46  m_y_rmin_phimax = rmin * sinphimax;
47  m_y_rmax_phimin = rmax * sinphimin;
48  m_y_rmax_phimax = rmax * sinphimax;
49  }
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 68 of file AreaSeededTrackingRegionsBuilder.h.

Referenced by Area(), and x_rmax_phimax().

float AreaSeededTrackingRegionsBuilder::Area::m_x_rmax_phimin = 0
private

Definition at line 67 of file AreaSeededTrackingRegionsBuilder.h.

Referenced by Area(), and x_rmax_phimin().

float AreaSeededTrackingRegionsBuilder::Area::m_x_rmin_phimax = 0
private

Definition at line 66 of file AreaSeededTrackingRegionsBuilder.h.

Referenced by Area(), and x_rmin_phimax().

float AreaSeededTrackingRegionsBuilder::Area::m_x_rmin_phimin = 0
private

Definition at line 65 of file AreaSeededTrackingRegionsBuilder.h.

Referenced by Area(), and x_rmin_phimin().

float AreaSeededTrackingRegionsBuilder::Area::m_y_rmax_phimax = 0
private

Definition at line 73 of file AreaSeededTrackingRegionsBuilder.h.

Referenced by Area(), and y_rmax_phimax().

float AreaSeededTrackingRegionsBuilder::Area::m_y_rmax_phimin = 0
private

Definition at line 72 of file AreaSeededTrackingRegionsBuilder.h.

Referenced by Area(), and y_rmax_phimin().

float AreaSeededTrackingRegionsBuilder::Area::m_y_rmin_phimax = 0
private

Definition at line 71 of file AreaSeededTrackingRegionsBuilder.h.

Referenced by Area(), and y_rmin_phimax().

float AreaSeededTrackingRegionsBuilder::Area::m_y_rmin_phimin = 0
private

Definition at line 70 of file AreaSeededTrackingRegionsBuilder.h.

Referenced by Area(), and y_rmin_phimin().

float AreaSeededTrackingRegionsBuilder::Area::m_zmax = 0
private

Definition at line 76 of file AreaSeededTrackingRegionsBuilder.h.

Referenced by zmax().

float AreaSeededTrackingRegionsBuilder::Area::m_zmin = 0
private

Definition at line 75 of file AreaSeededTrackingRegionsBuilder.h.

Referenced by zmin().