![]() |
Project
|
#include <TPCFastTransformGeo.h>
Classes | |
struct | RowInfo |
The struct contains necessary info about TPC padrow. More... | |
struct | SliceInfo |
The struct contains necessary info for TPC slice. More... | |
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 tpcZlengthSideA, float tpcZlengthSideC) |
void | setTPCalignmentZ (float tpcAlignmentZ) |
void | finishConstruction () |
Finishes initialization: puts everything to the flat buffer, releases temporary memory. | |
bool | isConstructed () const |
Is the object constructed. | |
GPUd () static const expr int32_t getNumberOfSlices() | |
_______________ Getters _________________________________ | |
GPUd () static const expr int32_t getNumberOfSlicesA() | |
Gives number of TPC slices in A side. | |
GPUd () int32_t getNumberOfRows() const | |
Gives number of TPC rows. | |
GPUd () const SliceInfo &getSliceInfo(int32_t slice) const | |
Gives slice info. | |
GPUd () const RowInfo &getRowInfo(int32_t row) const | |
Gives TPC row info. | |
GPUd () float getTPCzLengthA() const | |
Gives Z length of the TPC, side A. | |
GPUd () float getTPCzLengthC() const | |
Gives Z length of the TPC, side C. | |
GPUd () float getTPCzLength(int32_t slice) const | |
Gives Z length of the TPC, depending on the slice. | |
GPUd () float getTPCalignmentZ() const | |
Gives TPC alignment in Z. | |
GPUd () void convLocalToGlobal(int32_t slice | |
_______________ Conversion of coordinate systems __________ | |
GPUd () void convGlobalToLocal(int32_t slice | |
convert Global->Local c.s. | |
GPUd () void convUVtoLocal(int32_t slice | |
convert UV -> Local c.s. | |
GPUd () void convVtoLocal(int32_t slice | |
GPUd () void convLocalToUV(int32_t slice | |
convert Local-> UV c.s. | |
GPUd () void convUVtoScaledUV(int32_t slice | |
convert UV -> Scaled UV | |
GPUd () void convScaledUVtoUV(int32_t slice | |
convert Scaled UV -> UV | |
GPUd () void convScaledUVtoLocal(int32_t slice | |
convert Scaled UV -> Local c.s. | |
GPUd () float convPadToU(int32_t row | |
convert Pad coordinate -> U | |
GPUd () float convUtoPad(int32_t row | |
convert U -> Pad coordinate | |
void | print () const |
Print method. | |
int32_t | test (int32_t slice, int32_t row, float ly, float lz) const |
Method for testing consistency. | |
int32_t | test () const |
Method for testing consistency. | |
Static Public Member Functions | |
static constexpr size_t | getClassAlignmentBytes () |
_____________ FlatObject functionality, see FlatObject class for description ____________ | |
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 |
float | u |
float float | v |
float float float & | y |
float float float float &z | const |
float | v |
float float &z | const |
float | y |
float float | z |
float float float & | u |
float float float float &v | const |
int32_t | row |
int32_t float | u |
int32_t float float | v |
int32_t float float float & | su |
int32_t float float float float &sv | const |
int32_t float | su |
int32_t float float | sv |
int32_t float float float & | u |
int32_t float float float float &v | const |
int32_t float float float & | ly |
int32_t float float float float &lz | const |
float pad | const |
float u | const |
The TPCFastTransformGeo class contains TPC geometry needed for the TPCFastTransform
Definition at line 34 of file TPCFastTransformGeo.h.
TPCFastTransformGeo::TPCFastTransformGeo | ( | ) |
_____________ Constructors / destructors __________________________
Default constructor: creates an empty uninitialized object
Definition at line 28 of file TPCFastTransformGeo.cxx.
|
default |
Copy constructor: disabled to avoid ambiguity. Use cloneFromObject() instead.
|
default |
Destructor.
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 120 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 75 of file TPCFastTransformGeo.h.
o2::gpu::TPCFastTransformGeo::GPUd | ( | ) | const & |
Gives TPC row info.
o2::gpu::TPCFastTransformGeo::GPUd | ( | ) | const & |
Gives slice info.
o2::gpu::TPCFastTransformGeo::GPUd | ( | ) |
convert Pad coordinate -> U
o2::gpu::TPCFastTransformGeo::GPUd | ( | ) |
convert U -> Pad coordinate
|
inline |
Gives TPC alignment in Z.
Definition at line 133 of file TPCFastTransformGeo.h.
|
inline |
Gives Z length of the TPC, depending on the slice.
Definition at line 126 of file TPCFastTransformGeo.h.
|
inline |
Gives Z length of the TPC, side A.
Definition at line 120 of file TPCFastTransformGeo.h.
|
inline |
Gives Z length of the TPC, side C.
Definition at line 123 of file TPCFastTransformGeo.h.
|
inline |
Gives number of TPC rows.
Definition at line 111 of file TPCFastTransformGeo.h.
|
inline |
_______________ Getters _________________________________
Gives number of TPC slices
Definition at line 105 of file TPCFastTransformGeo.h.
|
inline |
Gives number of TPC slices in A side.
Definition at line 108 of file TPCFastTransformGeo.h.
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-> UV c.s.
o2::gpu::TPCFastTransformGeo::GPUd | ( | ) |
convert Scaled UV -> Local c.s.
o2::gpu::TPCFastTransformGeo::GPUd | ( | ) |
convert Scaled UV -> UV
o2::gpu::TPCFastTransformGeo::GPUd | ( | ) |
convert UV -> Local c.s.
o2::gpu::TPCFastTransformGeo::GPUd | ( | ) |
convert UV -> Scaled UV
o2::gpu::TPCFastTransformGeo::GPUd | ( | ) |
|
inline |
Is the object constructed.
Definition at line 100 of file TPCFastTransformGeo.h.
|
default |
Assignment operator: disabled to avoid ambiguity. Use cloneFromObject() instead.
void TPCFastTransformGeo::print | ( | ) | const |
void TPCFastTransformGeo::setTPCalignmentZ | ( | float | tpcAlignmentZ | ) |
Sets all drift calibration parameters and the time stamp
It must be called once during construction, but also may be called afterwards to reset these parameters.
Sets the TPC alignment
Definition at line 84 of file TPCFastTransformGeo.cxx.
void TPCFastTransformGeo::setTPCrow | ( | int32_t | iRow, |
float | x, | ||
int32_t | nPads, | ||
float | padWidth | ||
) |
void TPCFastTransformGeo::setTPCzLength | ( | float | tpcZlengthSideA, |
float | tpcZlengthSideC | ||
) |
Sets TPC geometry
It must be called once during initialization
Sets TPC z length for both sides
Definition at line 67 of file TPCFastTransformGeo.cxx.
void TPCFastTransformGeo::startConstruction | ( | int32_t | numberOfRows | ) |
_______________ Construction interface ________________________
Starts the initialization procedure, reserves temporary memory
Starts the construction procedure
Definition at line 45 of file TPCFastTransformGeo.cxx.
int32_t TPCFastTransformGeo::test | ( | ) | const |
Method for testing consistency.
Check consistency of the class
Definition at line 216 of file TPCFastTransformGeo.cxx.
int32_t TPCFastTransformGeo::test | ( | int32_t | slice, |
int32_t | row, | ||
float | ly, | ||
float | lz | ||
) | const |
Method for testing consistency.
Check consistency of the class
Definition at line 151 of file TPCFastTransformGeo.cxx.
float float float float float float& gz o2::gpu::TPCFastTransformGeo::const |
Definition at line 138 of file TPCFastTransformGeo.h.
float float float float float float& lz o2::gpu::TPCFastTransformGeo::const |
Definition at line 141 of file TPCFastTransformGeo.h.
float float float float& z o2::gpu::TPCFastTransformGeo::const |
Definition at line 144 of file TPCFastTransformGeo.h.
float float& z o2::gpu::TPCFastTransformGeo::const |
Definition at line 145 of file TPCFastTransformGeo.h.
float float float float& v o2::gpu::TPCFastTransformGeo::const |
Definition at line 148 of file TPCFastTransformGeo.h.
int32_t float float float float& sv o2::gpu::TPCFastTransformGeo::const |
Definition at line 151 of file TPCFastTransformGeo.h.
int32_t float float float float& v o2::gpu::TPCFastTransformGeo::const |
Definition at line 154 of file TPCFastTransformGeo.h.
int32_t float float float float& lz o2::gpu::TPCFastTransformGeo::const |
Definition at line 157 of file TPCFastTransformGeo.h.
float pad o2::gpu::TPCFastTransformGeo::const |
Definition at line 160 of file TPCFastTransformGeo.h.
float u o2::gpu::TPCFastTransformGeo::const |
Definition at line 163 of file TPCFastTransformGeo.h.
float float float float& o2::gpu::TPCFastTransformGeo::gx |
Definition at line 138 of file TPCFastTransformGeo.h.
float o2::gpu::TPCFastTransformGeo::gx |
Definition at line 141 of file TPCFastTransformGeo.h.
float float float float float& o2::gpu::TPCFastTransformGeo::gy |
Definition at line 138 of file TPCFastTransformGeo.h.
float float o2::gpu::TPCFastTransformGeo::gy |
Definition at line 141 of file TPCFastTransformGeo.h.
float float float o2::gpu::TPCFastTransformGeo::gz |
Definition at line 141 of file TPCFastTransformGeo.h.
float o2::gpu::TPCFastTransformGeo::lx |
Definition at line 138 of file TPCFastTransformGeo.h.
float float float float& o2::gpu::TPCFastTransformGeo::lx |
Definition at line 141 of file TPCFastTransformGeo.h.
float float o2::gpu::TPCFastTransformGeo::ly |
Definition at line 138 of file TPCFastTransformGeo.h.
float float float float float& o2::gpu::TPCFastTransformGeo::ly |
Definition at line 141 of file TPCFastTransformGeo.h.
int32_t float float float& o2::gpu::TPCFastTransformGeo::ly |
Definition at line 157 of file TPCFastTransformGeo.h.
float float float o2::gpu::TPCFastTransformGeo::lz |
Definition at line 138 of file TPCFastTransformGeo.h.
int32_t o2::gpu::TPCFastTransformGeo::row |
Definition at line 151 of file TPCFastTransformGeo.h.
int32_t float o2::gpu::TPCFastTransformGeo::su |
Definition at line 151 of file TPCFastTransformGeo.h.
int32_t float o2::gpu::TPCFastTransformGeo::su |
Definition at line 154 of file TPCFastTransformGeo.h.
int32_t float float o2::gpu::TPCFastTransformGeo::sv |
Definition at line 154 of file TPCFastTransformGeo.h.
float o2::gpu::TPCFastTransformGeo::u |
Definition at line 144 of file TPCFastTransformGeo.h.
float float float& o2::gpu::TPCFastTransformGeo::u |
Definition at line 148 of file TPCFastTransformGeo.h.
int32_t float o2::gpu::TPCFastTransformGeo::u |
Definition at line 151 of file TPCFastTransformGeo.h.
int32_t float float float& o2::gpu::TPCFastTransformGeo::u |
Definition at line 154 of file TPCFastTransformGeo.h.
float float o2::gpu::TPCFastTransformGeo::v |
Definition at line 144 of file TPCFastTransformGeo.h.
float o2::gpu::TPCFastTransformGeo::v |
Definition at line 145 of file TPCFastTransformGeo.h.
int32_t float float o2::gpu::TPCFastTransformGeo::v |
Definition at line 151 of file TPCFastTransformGeo.h.
float float float& o2::gpu::TPCFastTransformGeo::y |
Definition at line 144 of file TPCFastTransformGeo.h.
float o2::gpu::TPCFastTransformGeo::y |
Definition at line 148 of file TPCFastTransformGeo.h.
float float o2::gpu::TPCFastTransformGeo::z |
Definition at line 148 of file TPCFastTransformGeo.h.