![]() |
Project
|
#include <TPCFastTransformGeo.h>
Classes | |
| struct | RowInfo |
| The struct contains necessary info about TPC padrow. More... | |
| struct | SectorInfo |
| The struct contains necessary info for TPC sector. More... | |
| struct | SliceInfo |
Public Member Functions | |
| TPCFastTransformGeo () | |
| _____________ Constructors / destructors __________________________ | |
| TPCFastTransformGeo (const TPCFastTransformGeo &)=default | |
| Copy constructor: disabled to avoid ambiguity. Use cloneFromObject() instead. | |
| TPCFastTransformGeo & | operator= (const TPCFastTransformGeo &)=default |
| Assignment operator: disabled to avoid ambiguity. Use cloneFromObject() instead. | |
| ~TPCFastTransformGeo ()=default | |
| Destructor. | |
| void | startConstruction (int32_t numberOfRows) |
| _______________ Construction interface ________________________ | |
| void | setTPCrow (int32_t iRow, float x, int32_t nPads, float padWidth) |
| Initializes a TPC row. | |
| void | setTPCzLength (float tpcZlength) |
| void | finishConstruction () |
| Finishes initialization: puts everything to the flat buffer, releases temporary memory. | |
| bool | isConstructed () const |
| Is the object constructed. | |
| GPUdi () int32_t getNumberOfRows() const | |
| Gives number of TPC rows. | |
| GPUd () const SectorInfo &getSectorInfo(int32_t sector) const | |
| Gives sector info. | |
| GPUd () const RowInfo &getRowInfo(int32_t row) const | |
| Gives TPC row info. | |
| GPUdi () float getTPCzLength() const | |
| Gives Z length of the TPC, one Z side. | |
| GPUdi() std | GPUd () float getZmax(int32_t sector) const |
| Gives Z range for the corresponding TPC side. | |
| GPUd () void convLocalToGlobal(int32_t sector | |
| _______________ Conversion of coordinate systems __________ | |
| GPUd () void convGlobalToLocal(int32_t sector | |
| convert Global->Local c.s. | |
| GPUd () void convPadDriftLengthToLocal(int32_t sector | |
| convert Pad, DriftLength -> Local c.s. | |
| GPUd () float convDriftLengthToZ(int32_t sector | |
| convert DriftLength -> Local c.s. | |
| GPUd () float convZtoDriftLength(int32_t sector | |
| convert Z to DriftLength | |
| GPUd () void convLocalToPadDriftLength(int32_t sector | |
| convert Local c.s. -> Pad, DriftLength | |
| void | print () const |
| Print method. | |
| int32_t | test (int32_t sector, int32_t row, float ly, float lz) const |
| Method for testing consistency. | |
| int32_t | test () const |
| Method for testing consistency. | |
| ClassDefNV (TPCFastTransformGeo, 3) | |
Static Public Member Functions | |
| static constexpr size_t | getClassAlignmentBytes () |
| _____________ FlatObject functionality, see FlatObject class for description ____________ | |
| static constexpr int32_t | getNumberOfSectors () |
| _______________ Getters _________________________________ | |
| static constexpr int32_t | getNumberOfSectorsA () |
| Gives number of TPC sectors on the A side. | |
| static constexpr int | getMaxNumberOfRows () |
| Gives number of TPC rows. | |
Public Attributes | |
| float | lx |
| float float | ly |
| float float float | lz |
| float float float float & | gx |
| float float float float float & | gy |
| float float float float float float &gz | const |
| float | gx |
| float float | gy |
| float float float | gz |
| float float float float & | lx |
| float float float float float & | ly |
| float float float float float float &lz | const |
| int32_t | row |
| int32_t float | pad |
| int32_t float float | driftLength |
| int32_t float float float & | y |
| int32_t float float float float &z | const |
| float driftLength | const |
| float z | const |
| int32_t float | y |
| int32_t float float | z |
| int32_t float float float & | pad |
| int32_t float float float float &l | const |
The TPCFastTransformGeo class contains TPC geometry needed for the TPCFastTransform
Definition at line 35 of file TPCFastTransformGeo.h.
| TPCFastTransformGeo::TPCFastTransformGeo | ( | ) |
_____________ Constructors / destructors __________________________
Default constructor: creates an empty uninitialized object
Definition at line 26 of file TPCFastTransformGeo.cxx.
|
default |
Copy constructor: disabled to avoid ambiguity. Use cloneFromObject() instead.
|
default |
Destructor.
| o2::gpu::TPCFastTransformGeo::ClassDefNV | ( | TPCFastTransformGeo | , |
| 3 | |||
| ) |
| void TPCFastTransformGeo::finishConstruction | ( | ) |
Finishes initialization: puts everything to the flat buffer, releases temporary memory.
Finishes initialization: puts everything to the flat buffer, releases temporary memory
Definition at line 94 of file TPCFastTransformGeo.cxx.
|
inlinestaticconstexpr |
_____________ FlatObject functionality, see FlatObject class for description ____________
Gives minimal alignment in bytes required for an object of the class
Definition at line 87 of file TPCFastTransformGeo.h.
|
inlinestaticconstexpr |
Gives number of TPC rows.
Definition at line 120 of file TPCFastTransformGeo.h.
|
inlinestaticconstexpr |
_______________ Getters _________________________________
Gives number of TPC sectors
Definition at line 111 of file TPCFastTransformGeo.h.
|
inlinestaticconstexpr |
Gives number of TPC sectors on the A side.
Definition at line 114 of file TPCFastTransformGeo.h.
| o2::gpu::TPCFastTransformGeo::GPUd | ( | ) | const & |
Gives TPC row info.
| o2::gpu::TPCFastTransformGeo::GPUd | ( | ) | const & |
Gives sector info.
| o2::gpu::TPCFastTransformGeo::GPUd | ( | ) |
convert DriftLength -> Local c.s.
| o2::gpu::TPCFastTransformGeo::GPUd | ( | ) |
convert Z to DriftLength
| GPUdi() std o2::gpu::TPCFastTransformGeo::GPUd | ( | ) | const |
Gives Z range for the corresponding TPC side.
| o2::gpu::TPCFastTransformGeo::GPUd | ( | ) |
convert Global->Local c.s.
| o2::gpu::TPCFastTransformGeo::GPUd | ( | ) |
_______________ Conversion of coordinate systems __________
convert Local -> Global c.s.
| o2::gpu::TPCFastTransformGeo::GPUd | ( | ) |
convert Local c.s. -> Pad, DriftLength
| o2::gpu::TPCFastTransformGeo::GPUd | ( | ) |
convert Pad, DriftLength -> Local c.s.
|
inline |
Gives Z length of the TPC, one Z side.
Definition at line 129 of file TPCFastTransformGeo.h.
|
inline |
Gives number of TPC rows.
Definition at line 117 of file TPCFastTransformGeo.h.
|
inline |
Is the object constructed.
Definition at line 106 of file TPCFastTransformGeo.h.
|
default |
Assignment operator: disabled to avoid ambiguity. Use cloneFromObject() instead.
| void TPCFastTransformGeo::print | ( | ) | const |
Sets TPC geometry
It must be called once during initialization
Sets TPC z length for both sides
Definition at line 57 of file TPCFastTransformGeo.cxx.
_______________ Construction interface ________________________
Starts the initialization psectoredure, reserves temporary memory
Starts the construction procedure
Definition at line 41 of file TPCFastTransformGeo.cxx.
| int32_t TPCFastTransformGeo::test | ( | ) | const |
Method for testing consistency.
Check consistency of the class
Definition at line 160 of file TPCFastTransformGeo.cxx.
Method for testing consistency.
Check consistency of the class
Definition at line 120 of file TPCFastTransformGeo.cxx.
Definition at line 149 of file TPCFastTransformGeo.h.
Definition at line 152 of file TPCFastTransformGeo.h.
Definition at line 155 of file TPCFastTransformGeo.h.
| float driftLength o2::gpu::TPCFastTransformGeo::const |
Definition at line 158 of file TPCFastTransformGeo.h.
Definition at line 161 of file TPCFastTransformGeo.h.
Definition at line 164 of file TPCFastTransformGeo.h.
Definition at line 155 of file TPCFastTransformGeo.h.
Definition at line 149 of file TPCFastTransformGeo.h.
| float o2::gpu::TPCFastTransformGeo::gx |
Definition at line 152 of file TPCFastTransformGeo.h.
Definition at line 149 of file TPCFastTransformGeo.h.
Definition at line 152 of file TPCFastTransformGeo.h.
Definition at line 152 of file TPCFastTransformGeo.h.
| float o2::gpu::TPCFastTransformGeo::lx |
Definition at line 149 of file TPCFastTransformGeo.h.
Definition at line 152 of file TPCFastTransformGeo.h.
Definition at line 149 of file TPCFastTransformGeo.h.
Definition at line 152 of file TPCFastTransformGeo.h.
Definition at line 149 of file TPCFastTransformGeo.h.
Definition at line 155 of file TPCFastTransformGeo.h.
Definition at line 164 of file TPCFastTransformGeo.h.
| int32_t o2::gpu::TPCFastTransformGeo::row |
Definition at line 155 of file TPCFastTransformGeo.h.
Definition at line 155 of file TPCFastTransformGeo.h.
Definition at line 164 of file TPCFastTransformGeo.h.
Definition at line 164 of file TPCFastTransformGeo.h.