Ugli.h File Reference

#include "TVector3.h"
#include "Conventions/Detector.h"

Go to the source code of this file.

Namespaces

namespace  Ugli

Typedefs

typedef enum Ugli::ESMRegion Ugli::SMRegion_t
 identify z region
typedef enum Ugli::EXYRegion Ugli::XYRegion_t
 identify x-y region

Enumerations

enum  Ugli::EModifyMode { Ugli::kModifiable, Ugli::kFrozen, Ugli::kUseGlobal }
 

Choose which list in the loan pool list UgliGeomHandle search.

More...
enum  Ugli::ESMRegion {
  Ugli::kUpstream = -1, Ugli::kDownstream = -2, Ugli::kSMGap = 0, Ugli::kInSM1 = 1,
  Ugli::kInSM2 = 2
}
 

identify z region

More...
enum  Ugli::EXYRegion {
  Ugli::kCoil = 0, Ugli::kThroat = 1, Ugli::kNeck = 2, Ugli::kHole = 3,
  Ugli::kFlange = 4, Ugli::kBypass = 5, Ugli::kSteel = 6, Ugli::kHall = 7,
  Ugli::kRock = 8
}
 

identify x-y region

More...

Functions

void Ugli::SetDefaultModifyMode (EModifyMode mmode=kFrozen)
EModifyMode Ugli::GetDefaultModifyMode ()
const Char_t * Ugli::AsString (EModifyMode mmode)
const Char_t * Ugli::AsString (ESMRegion smregion)
const Char_t * Ugli::AsString (EXYRegion xyregion)
bool Ugli::XYisUV (Detector::Detector_t det)
void Ugli::uv2xy (Detector::Detector_t det, Double_t u, Double_t v, Double_t &x, Double_t &y)
void Ugli::uv2xy (Detector::Detector_t det, Float_t u, Float_t v, Float_t &x, Float_t &y)
void Ugli::xy2uv (Detector::Detector_t det, Double_t x, Double_t y, Double_t &u, Double_t &v)
void Ugli::xy2uv (Detector::Detector_t det, Float_t x, Float_t y, Float_t &u, Float_t &v)
TVector3 Ugli::uvz2xyz (Detector::Detector_t det, const TVector3 &uvz)
TVector3 Ugli::xyz2uvz (Detector::Detector_t det, const TVector3 &xyz)

Variables

static EModifyMode Ugli::fDefaultModifyMode = Ugli::kFrozen
static const Double_t Ugli::pi = 3.14159265358979323846
static const Double_t Ugli::rad2deg = 180. / pi
static const Double_t Ugli::deg2rad = pi / 180.
static const Double_t Ugli::r_sqrt2 = 7.07106781186547462e-01

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1