ATLAS Offline Software
List of all members
TrigVSI::Coordinate::Pseudo Class Reference

Cordinate policy for perp, eta, phi. More...

#include <Coordinate.h>

Collaboration diagram for TrigVSI::Coordinate::Pseudo:

Static Public Member Functions

Converter functions
static TVector3 X123toXYZ (double x1, double x2, double x3)
 
static TVector3 X123toXYZ (const KDPoint< double, 3 > &p)
 
static KDPoint< double, 3 > XYZtoX123 (const TVector3 &v)
 
Projection functions
static KDPoint< double, 3 > Proj (const KDPoint< double, 3 > &p)
 
Projection functions with ibin
static KDPoint< int, 3 > ProjBin (const KDPoint< int, 3 > &ibin, const std::unique_ptr< TH3D > &map)
 

Detailed Description

Cordinate policy for perp, eta, phi.

Definition at line 71 of file TrigTools/TrigVrtSecInclusive/TrigVrtSecInclusive/Coordinate.h.

Member Function Documentation

◆ Proj()

static KDPoint<double,3> TrigVSI::Coordinate::Pseudo::Proj ( const KDPoint< double, 3 > &  p)
inlinestatic

Definition at line 94 of file TrigTools/TrigVrtSecInclusive/TrigVrtSecInclusive/Coordinate.h.

94  {
95  KDPoint<double,3> tmp = p;
96  tmp[2] = std::fmod( p[2] + TMath::Pi(), 2. * TMath::Pi() ) - TMath::Pi();
97  return tmp;
98  };

◆ ProjBin()

static KDPoint<int,3> TrigVSI::Coordinate::Pseudo::ProjBin ( const KDPoint< int, 3 > &  ibin,
const std::unique_ptr< TH3D > &  map 
)
inlinestatic

Definition at line 103 of file TrigTools/TrigVrtSecInclusive/TrigVrtSecInclusive/Coordinate.h.

103  {
104  KDPoint<int,3> tmp = ibin;
105  tmp[2] = (ibin[2] - 1) % (map->GetNbinsZ() - 1 + 1) + 1;
106  return tmp;
107  };

◆ X123toXYZ() [1/2]

static TVector3 TrigVSI::Coordinate::Pseudo::X123toXYZ ( const KDPoint< double, 3 > &  p)
inlinestatic

Definition at line 81 of file TrigTools/TrigVrtSecInclusive/TrigVrtSecInclusive/Coordinate.h.

81  {
82  TVector3 tmp;
83  tmp.SetPtEtaPhi(p.at(0),p.at(1),p.at(2));
84  return tmp;
85  };

◆ X123toXYZ() [2/2]

static TVector3 TrigVSI::Coordinate::Pseudo::X123toXYZ ( double  x1,
double  x2,
double  x3 
)
inlinestatic

Definition at line 75 of file TrigTools/TrigVrtSecInclusive/TrigVrtSecInclusive/Coordinate.h.

75  {
76  TVector3 tmp;
77  tmp.SetPtEtaPhi(x1,x2,x3);
78  return tmp;
79  };

◆ XYZtoX123()

static KDPoint<double,3> TrigVSI::Coordinate::Pseudo::XYZtoX123 ( const TVector3 &  v)
inlinestatic

Definition at line 87 of file TrigTools/TrigVrtSecInclusive/TrigVrtSecInclusive/Coordinate.h.

87  {
88  return KDPoint<double,3>({v.Perp(), v.Eta(), v.Phi()});
89  };

The documentation for this class was generated from the following file:
plotBeamSpotCompare.x1
x1
Definition: plotBeamSpotCompare.py:216
plotBeamSpotCompare.x2
x2
Definition: plotBeamSpotCompare.py:218
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
DeMoUpdate.tmp
string tmp
Definition: DeMoUpdate.py:1167
python.PyAthena.v
v
Definition: PyAthena.py:154