#include <Geometry.h>
|
| 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.
◆ Geometry() [1/3]
| o2::phos::Geometry::Geometry |
( |
| ) |
|
|
default |
Default constructor. It must be kept public for root persistency purposes, but should never be called by the outside world
◆ Geometry() [2/3]
| Geometry::Geometry |
( |
const std::string_view |
name | ) |
|
Constructor for normal use.
- Parameters
-
| name | geometry name: PHOS (see main class description for definition) |
Definition at line 36 of file Geometry.cxx.
◆ Geometry() [3/3]
| o2::phos::Geometry::Geometry |
( |
const Geometry & |
geom | ) |
|
◆ ~Geometry()
| o2::phos::Geometry::~Geometry |
( |
| ) |
|
|
default |
◆ absIdToModule()
| char Geometry::absIdToModule |
( |
short |
absId | ) |
|
|
static |
◆ absIdToRelPosInModule()
| void Geometry::absIdToRelPosInModule |
( |
short |
absId, |
|
|
float & |
x, |
|
|
float & |
z |
|
) |
| |
|
static |
◆ absToRelNumbering()
| bool Geometry::absToRelNumbering |
( |
short |
absId, |
|
|
char * |
relid |
|
) |
| |
|
static |
◆ areNeighbours()
| int Geometry::areNeighbours |
( |
short |
absId1, |
|
|
short |
absId2 |
|
) |
| |
|
static |
\breif Checks if two channels have common side
- Parameters
-
| absId1 | absId of first channel, order important! |
| absId2 | absId of secont channel, order important! |
- Returns
- 0 are not neighbour but continue searching
Definition at line 159 of file Geometry.cxx.
◆ getAlignmentMatrix()
| const TGeoHMatrix * o2::phos::Geometry::getAlignmentMatrix |
( |
int |
mod | ) |
const |
|
inline |
◆ GetInstance() [1/2]
| static Geometry * o2::phos::Geometry::GetInstance |
( |
| ) |
|
|
inlinestatic |
- Returns
- the pointer of the existing unique instance of the geometry It should have been set before with GetInstance(name) method
Definition at line 63 of file Geometry.h.
◆ GetInstance() [2/2]
| static Geometry * o2::phos::Geometry::GetInstance |
( |
const std::string_view |
name | ) |
|
|
inlinestatic |
- Returns
- (newly created) pointer of the unique instance of the geometry. Previous instance is destroied.
- Parameters
-
| name | geometry name: PHOS (see main class description for definition) |
| title | |
Definition at line 73 of file Geometry.h.
◆ GetName()
| const std::string & o2::phos::Geometry::GetName |
( |
| ) |
const |
|
inline |
◆ getTotalNCells()
| static int o2::phos::Geometry::getTotalNCells |
( |
| ) |
|
|
inlinestatic |
◆ impactOnPHOS()
| bool Geometry::impactOnPHOS |
( |
const TVector3 & |
vtx, |
|
|
const TVector3 & |
p, |
|
|
short & |
module, |
|
|
float & |
z, |
|
|
float & |
x |
|
) |
| const |
◆ isCellExists()
| static bool o2::phos::Geometry::isCellExists |
( |
short |
absId | ) |
|
|
inlinestatic |
◆ local2Global()
| void Geometry::local2Global |
( |
char |
module, |
|
|
float |
x, |
|
|
float |
z, |
|
|
TVector3 & |
globaPos |
|
) |
| const |
◆ operator=()
◆ relPosToAbsId()
| void Geometry::relPosToAbsId |
( |
char |
module, |
|
|
float |
x, |
|
|
float |
z, |
|
|
short & |
absId |
|
) |
| |
|
static |
◆ relPosToRelId()
| void Geometry::relPosToRelId |
( |
short |
module, |
|
|
float |
x, |
|
|
float |
z, |
|
|
char * |
relId |
|
) |
| |
|
static |
◆ relPosToTruId()
| short Geometry::relPosToTruId |
( |
char |
mod, |
|
|
float |
x, |
|
|
float |
z, |
|
|
short |
trigType |
|
) |
| |
|
static |
◆ relToAbsId()
| short Geometry::relToAbsId |
( |
char |
moduleNumber, |
|
|
int |
strip, |
|
|
int |
cell |
|
) |
| |
|
static |
\breif Converts Geant volume numbers to absId
- Returns
- AbsId index of the PHOS cell
- Parameters
-
| moduleNumber | module number |
| strip | strip number |
Definition at line 49 of file Geometry.cxx.
◆ relToAbsNumbering()
| bool Geometry::relToAbsNumbering |
( |
const char * |
RelId, |
|
|
short & |
AbsId |
|
) |
| |
|
static |
◆ truAbsToRelNumbering()
| bool Geometry::truAbsToRelNumbering |
( |
short |
truId, |
|
|
short |
trigType, |
|
|
char * |
relid |
|
) |
| |
|
static |
◆ truRelToAbsNumbering()
| short Geometry::truRelToAbsNumbering |
( |
const char * |
relId, |
|
|
short |
trigType |
|
) |
| |
|
static |
The documentation for this class was generated from the following files:
- /home/runner/work/AliceO2/AliceO2/Detectors/PHOS/base/include/PHOSBase/Geometry.h
- /home/runner/work/AliceO2/AliceO2/Detectors/PHOS/base/src/Geometry.cxx