CMS 3D CMS Logo

List of all members | Public Member Functions
CmsMTDLevelBuilder::ExtractPhi Struct Reference

#include <CmsMTDLevelBuilder.h>

Inheritance diagram for CmsMTDLevelBuilder::ExtractPhi:

Public Member Functions

double operator() (const GeometricTimingDet *a) const
 

Detailed Description

Definition at line 62 of file CmsMTDLevelBuilder.h.

Member Function Documentation

double CmsMTDLevelBuilder::ExtractPhi::operator() ( const GeometricTimingDet a) const
inline

Definition at line 63 of file CmsMTDLevelBuilder.h.

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

63  {
64  const double pi = 3.141592653592;
65  double phi = a->phi();
66  return( phi>= 0 ? phi:phi+2*pi);
67  }
const Double_t pi