![]() |
Project
|
#include <Geometry.h>
Public Member Functions | |
Geometry ()=default | |
Geometry (const std::string_view name) | |
Geometry (const Geometry &geom) | |
~Geometry ()=default | |
Geometry & | operator= (const Geometry &rvalue) |
void | local2Global (char module, float x, float z, TVector3 &globaPos) const |
bool | impactOnPHOS (const TVector3 &vtx, const TVector3 &p, short &module, float &z, float &x) const |
const std::string & | GetName () const |
const TGeoHMatrix * | getAlignmentMatrix (int mod) const |
Static Public Member Functions | |
static Geometry * | GetInstance () |
static Geometry * | GetInstance (const std::string_view name) |
static int | areNeighbours (short absId1, short absId2) |
static short | relToAbsId (char moduleNumber, int strip, int cell) |
static bool | absToRelNumbering (short absId, char *relid) |
static char | absIdToModule (short absId) |
static void | absIdToRelPosInModule (short absId, float &x, float &z) |
static void | relPosToRelId (short module, float x, float z, char *relId) |
static bool | relToAbsNumbering (const char *RelId, short &AbsId) |
static bool | truAbsToRelNumbering (short truId, short trigType, char *relid) |
static short | truRelToAbsNumbering (const char *relId, short trigType) |
static short | relPosToTruId (char mod, float x, float z, short trigType) |
static void | relPosToAbsId (char module, float x, float z, short &absId) |
static int | getTotalNCells () |
static bool | isCellExists (short absId) |
Definition at line 29 of file Geometry.h.
|
default |
Default constructor. It must be kept public for root persistency purposes, but should never be called by the outside world
Geometry::Geometry | ( | const std::string_view | name | ) |
Constructor for normal use.
name | geometry name: PHOS (see main class description for definition) |
Definition at line 36 of file Geometry.cxx.
o2::phos::Geometry::Geometry | ( | const Geometry & | geom | ) |
Copy constructor.
|
default |
Destructor.
Definition at line 151 of file Geometry.cxx.
Definition at line 198 of file Geometry.cxx.
Definition at line 65 of file Geometry.cxx.
\breif Checks if two channels have common side
absId1 | absId of first channel, order important! |
absId2 | absId of secont channel, order important! |
Definition at line 159 of file Geometry.cxx.
|
inline |
Definition at line 134 of file Geometry.h.
|
inlinestatic |
Definition at line 63 of file Geometry.h.
|
inlinestatic |
name | geometry name: PHOS (see main class description for definition) |
title |
Definition at line 73 of file Geometry.h.
|
inline |
Definition at line 132 of file Geometry.h.
|
inlinestatic |
Definition at line 126 of file Geometry.h.
bool Geometry::impactOnPHOS | ( | const TVector3 & | vtx, |
const TVector3 & | p, | ||
short & | module, | ||
float & | z, | ||
float & | x | ||
) | const |
Definition at line 244 of file Geometry.cxx.
|
inlinestatic |
Definition at line 127 of file Geometry.h.
Definition at line 234 of file Geometry.cxx.
Definition at line 220 of file Geometry.cxx.
Definition at line 226 of file Geometry.cxx.
Definition at line 144 of file Geometry.cxx.
\breif Converts Geant volume numbers to absId
moduleNumber | module number |
strip | strip number |
Definition at line 49 of file Geometry.cxx.
Definition at line 207 of file Geometry.cxx.
Definition at line 83 of file Geometry.cxx.
Definition at line 118 of file Geometry.cxx.