CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Macros | Functions
global_angular.cc File Reference
#include "DetectorDescription/Base/interface/DDdebug.h"
#include "global_angular.h"
#include <cfloat>
#include "CLHEP/Units/GlobalSystemOfUnits.h"
#include <Math/RotationZ.h>

Go to the source code of this file.

Macros

#define MAX_DOUBLE   DBL_MAX
 

Functions

DD3Vector fUnitVector (double theta, double phi)
 

Macro Definition Documentation

#define MAX_DOUBLE   DBL_MAX

Definition at line 9 of file global_angular.cc.

Referenced by global_angular_Check::global_angular_Check().

Function Documentation

DD3Vector fUnitVector ( double  theta,
double  phi 
)

Definition at line 41 of file global_angular.cc.

References funct::cos(), and funct::sin().

Referenced by global_angular_0::checkParameters(), and global_angular_0::translation().

42 {
43  return DD3Vector(cos(phi)*sin(theta),
44  sin(phi)*sin(theta),
45  cos(theta));
46 }
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
Geom::Theta< T > theta() const
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DD3Vector
A DD Translation is currently implemented with Root Vector3D.
Definition: DDTranslation.h:6
Cos< T >::type cos(const T &t)
Definition: Cos.h:22
Definition: DDAxes.h:10