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::ExtractPhiGluedModuleMirror Struct Reference

#include <CmsTrackerLevelBuilder.h>

Inheritance diagram for CmsTrackerLevelBuilder::ExtractPhiGluedModuleMirror:

Public Member Functions

double operator() (const GeometricDet *a) const
 

Detailed Description

Definition at line 153 of file CmsTrackerLevelBuilder.h.

Member Function Documentation

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

Definition at line 154 of file CmsTrackerLevelBuilder.h.

References a, phi, and pi.

154  {
155  const double pi = 3.141592653592;
156  double phi = ExtractPhiGluedModule()(a); // [0,2pi)
157  phi = ( phi <= pi ? phi : phi-2*pi ); // (-pi,pi]
158  return (pi-phi);
159  }
double a
Definition: hdecay.h:121
double pi
Definition: DDAxes.h:10