CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
MuonShowerInformationFiller::MagTransform Struct Reference

Public Member Functions

 MagTransform (const GlobalPoint &point)
 
double operator() (const GlobalPoint &p) const
 
double operator() (const MuonTransientTrackingRecHit::MuonRecHitPointer &hit) const
 

Public Attributes

GlobalPoint thePoint
 

Detailed Description

Definition at line 119 of file MuonShowerInformationFiller.h.

Constructor & Destructor Documentation

◆ MagTransform()

MuonShowerInformationFiller::MagTransform::MagTransform ( const GlobalPoint point)
inline

Definition at line 120 of file MuonShowerInformationFiller.h.

120 : thePoint(point) {}
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
Definition: invegas.h:5

Member Function Documentation

◆ operator()() [1/2]

double MuonShowerInformationFiller::MagTransform::operator() ( const GlobalPoint p) const
inline

◆ operator()() [2/2]

double MuonShowerInformationFiller::MagTransform::operator() ( const MuonTransientTrackingRecHit::MuonRecHitPointer hit) const
inline

Definition at line 122 of file MuonShowerInformationFiller.h.

References mag(), and thePoint.

122  {
123  return (hit->globalPosition() - thePoint).mag();
124  }
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())

Member Data Documentation

◆ thePoint

GlobalPoint MuonShowerInformationFiller::MagTransform::thePoint

Definition at line 125 of file MuonShowerInformationFiller.h.

Referenced by operator()().