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

#include <CmsTrackerLevelBuilder.h>

Inheritance diagram for CmsTrackerLevelBuilder::ExtractPhiModuleMirror:

Public Member Functions

double operator() (const GeometricDet *a) const
 

Detailed Description

Definition at line 144 of file CmsTrackerLevelBuilder.h.

Member Function Documentation

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

Definition at line 145 of file CmsTrackerLevelBuilder.h.

References a, phi, and pi.

145  {
146  const double pi = 3.141592653592;
147  double phi = ExtractPhiModule()(a); // [0,2pi)
148  phi = ( phi <= pi ? phi : phi-2*pi ); // (-pi,pi]
149  return (pi-phi);
150  }
const Double_t pi
double a
Definition: hdecay.h:121
Definition: DDAxes.h:10