CMS 3D CMS Logo

Public Member Functions

CmsTrackerLevelBuilder::ExtractPhiGluedModuleMirror Struct Reference

#include <CmsTrackerLevelBuilder.h>

List of all members.

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.

                                                 {
      const double pi = 3.141592653592;
      double phi = ExtractPhiGluedModule()(a); // [0,2pi)
      phi = ( phi <= pi ? phi : phi-2*pi );   // (-pi,pi]   
      return (pi-phi);
    }