CMS 3D CMS Logo

global_angular.cc File Reference

#include "DetectorDescription/Base/interface/DDdebug.h"
#include "global_angular.h"
#include <cfloat>
#include "CLHEP/Units/SystemOfUnits.h"
#include <Math/RotationZ.h>

Go to the source code of this file.

Defines

#define MAX_DOUBLE   DBL_MAX

Functions

DD3Vector fUnitVector (double theta, double phi)


Define Documentation

#define MAX_DOUBLE   DBL_MAX

Definition at line 9 of file global_angular.cc.

Referenced by global_angular_Check::global_angular_Check(), global_linear_Check::global_linear_Check(), and global_simpleAngular_Check::global_simpleAngular_Check().


Function Documentation

DD3Vector fUnitVector ( double  theta,
double  phi 
)

Definition at line 33 of file global_angular.cc.

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

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

00034 {
00035   return DD3Vector(cos(phi)*sin(theta),
00036                      sin(phi)*sin(theta),
00037                      cos(theta));
00038 }


Generated on Tue Jun 9 17:52:18 2009 for CMSSW by  doxygen 1.5.4