ATLAS Offline Software
Public Types | Public Member Functions | Public Attributes | List of all members
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. More...
 

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.

21 {kPhi,kR, kZ};

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  }

◆ 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:
Monitored::Z
@ Z
Definition: HistogramFillerUtils.h:24
ROIPhiRZ::r
float r() const
Definition: ROIPhiRZContainer.h:35
AnalysisUtils::Delta::R
double R(const INavigable4Momentum *p1, const double v_eta, const double v_phi)
Definition: AnalysisMisc.h:49
ROIPhiRZ::kZ
@ kZ
Definition: ROIPhiRZContainer.h:21
ROIPhiRZ::z
float z() const
Definition: ROIPhiRZContainer.h:38
ROIPhiRZ::kR
@ kR
Definition: ROIPhiRZContainer.h:21
ROIPhiRZ::kPhi
@ kPhi
Definition: ROIPhiRZContainer.h:21