ATLAS Offline Software
Loading...
Searching...
No Matches
ROIPhiRZ Class Reference

#include <ROIPhiRZContainer.h>

Inheritance diagram for ROIPhiRZ:
Collaboration diagram for ROIPhiRZ:

Public Types

enum  ERoiParameters { kPhi , kR , kZ }

Public Member Functions

double eta () const
double theta () const
float phi () const
float r () const
float z () const

Public Attributes

elements
 STL member.

Detailed Description

Definition at line 18 of file ROIPhiRZContainer.h.

Member Enumeration Documentation

◆ ERoiParameters

Enumerator
kPhi 
kR 
kZ 

Definition at line 21 of file ROIPhiRZContainer.h.

Member Function Documentation

◆ eta()

double ROIPhiRZ::eta ( ) const
inline

Definition at line 22 of file ROIPhiRZContainer.h.

22 {
23 const double R = r();
24 const double Z = z();
25 return std::atanh( Z / std::sqrt( R*R + Z*Z ) );
26 }
float r() const
float z() const
double R(const INavigable4Momentum *p1, const double v_eta, const double v_phi)

◆ phi()

float ROIPhiRZ::phi ( ) const
inline

Definition at line 32 of file ROIPhiRZContainer.h.

32 {
33 return (*this)[kPhi];
34 }

◆ r()

float ROIPhiRZ::r ( ) const
inline

Definition at line 35 of file ROIPhiRZContainer.h.

35 {
36 return (*this)[kR];
37 }

◆ theta()

double ROIPhiRZ::theta ( ) const
inline

Definition at line 27 of file ROIPhiRZContainer.h.

27 {
28 double Z = z();
29 double R = r();
30 return std::atan2(1., Z / R);
31 }

◆ z()

float ROIPhiRZ::z ( ) const
inline

Definition at line 38 of file ROIPhiRZContainer.h.

38 {
39 return (*this)[kZ];
40 }

Member Data Documentation

◆ elements

T std::array< T >::elements
inherited

STL member.


The documentation for this class was generated from the following file: