CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
CmsTrackerLevelBuilder::ExtractPhi Struct Reference

#include <CmsTrackerLevelBuilder.h>

Inheritance diagram for CmsTrackerLevelBuilder::ExtractPhi:

Public Member Functions

double operator() (const GeometricDet *a) const
 

Detailed Description

Definition at line 42 of file CmsTrackerLevelBuilder.h.

Member Function Documentation

double CmsTrackerLevelBuilder::ExtractPhi::operator() ( const GeometricDet a) const
inline

Definition at line 43 of file CmsTrackerLevelBuilder.h.

References phi, GeometricDet::phi(), and pi.

43  {
44  const double pi = 3.141592653592;
45  double phi = a->phi();
46  return( phi>= 0 ? phi:phi+2*pi);
47  }
double phi() const
Definition: GeometricDet.h:116
double pi
Definition: DDAxes.h:10