Project
Loading...
Searching...
No Matches
o2::gpu::TPCFastTransformGeo Class Reference

#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.
 
TPCFastTransformGeooperator= (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
 

Detailed Description

The TPCFastTransformGeo class contains TPC geometry needed for the TPCFastTransform

Definition at line 34 of file TPCFastTransformGeo.h.

Constructor & Destructor Documentation

◆ TPCFastTransformGeo() [1/2]

TPCFastTransformGeo::TPCFastTransformGeo ( )

_____________ Constructors / destructors __________________________

Default constructor: creates an empty uninitialized object

Definition at line 28 of file TPCFastTransformGeo.cxx.

◆ TPCFastTransformGeo() [2/2]

o2::gpu::TPCFastTransformGeo::TPCFastTransformGeo ( const TPCFastTransformGeo )
default

Copy constructor: disabled to avoid ambiguity. Use cloneFromObject() instead.

◆ ~TPCFastTransformGeo()

o2::gpu::TPCFastTransformGeo::~TPCFastTransformGeo ( )
default

Destructor.

Member Function Documentation

◆ finishConstruction()

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.

◆ getClassAlignmentBytes()

static constexpr size_t o2::gpu::TPCFastTransformGeo::getClassAlignmentBytes ( )
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.

◆ GPUd() [1/19]

o2::gpu::TPCFastTransformGeo::GPUd ( ) const &

Gives TPC row info.

◆ GPUd() [2/19]

o2::gpu::TPCFastTransformGeo::GPUd ( ) const &

Gives slice info.

◆ GPUd() [3/19]

o2::gpu::TPCFastTransformGeo::GPUd ( )

convert Pad coordinate -> U

◆ GPUd() [4/19]

o2::gpu::TPCFastTransformGeo::GPUd ( )

convert U -> Pad coordinate

◆ GPUd() [5/19]

o2::gpu::TPCFastTransformGeo::GPUd ( ) const
inline

Gives TPC alignment in Z.

Definition at line 133 of file TPCFastTransformGeo.h.

◆ GPUd() [6/19]

o2::gpu::TPCFastTransformGeo::GPUd ( ) const
inline

Gives Z length of the TPC, depending on the slice.

Definition at line 126 of file TPCFastTransformGeo.h.

◆ GPUd() [7/19]

o2::gpu::TPCFastTransformGeo::GPUd ( ) const
inline

Gives Z length of the TPC, side A.

Definition at line 120 of file TPCFastTransformGeo.h.

◆ GPUd() [8/19]

o2::gpu::TPCFastTransformGeo::GPUd ( ) const
inline

Gives Z length of the TPC, side C.

Definition at line 123 of file TPCFastTransformGeo.h.

◆ GPUd() [9/19]

o2::gpu::TPCFastTransformGeo::GPUd ( ) const
inline

Gives number of TPC rows.

Definition at line 111 of file TPCFastTransformGeo.h.

◆ GPUd() [10/19]

o2::gpu::TPCFastTransformGeo::GPUd ( ) const
inline

_______________ Getters _________________________________

Gives number of TPC slices

Definition at line 105 of file TPCFastTransformGeo.h.

◆ GPUd() [11/19]

o2::gpu::TPCFastTransformGeo::GPUd ( ) const
inline

Gives number of TPC slices in A side.

Definition at line 108 of file TPCFastTransformGeo.h.

◆ GPUd() [12/19]

o2::gpu::TPCFastTransformGeo::GPUd ( )

convert Global->Local c.s.

◆ GPUd() [13/19]

o2::gpu::TPCFastTransformGeo::GPUd ( )

_______________ Conversion of coordinate systems __________

convert Local -> Global c.s.

◆ GPUd() [14/19]

o2::gpu::TPCFastTransformGeo::GPUd ( )

convert Local-> UV c.s.

◆ GPUd() [15/19]

o2::gpu::TPCFastTransformGeo::GPUd ( )

convert Scaled UV -> Local c.s.

◆ GPUd() [16/19]

o2::gpu::TPCFastTransformGeo::GPUd ( )

convert Scaled UV -> UV

◆ GPUd() [17/19]

o2::gpu::TPCFastTransformGeo::GPUd ( )

convert UV -> Local c.s.

◆ GPUd() [18/19]

o2::gpu::TPCFastTransformGeo::GPUd ( )

convert UV -> Scaled UV

◆ GPUd() [19/19]

o2::gpu::TPCFastTransformGeo::GPUd ( )

◆ isConstructed()

bool o2::gpu::TPCFastTransformGeo::isConstructed ( ) const
inline

Is the object constructed.

Definition at line 100 of file TPCFastTransformGeo.h.

◆ operator=()

TPCFastTransformGeo & o2::gpu::TPCFastTransformGeo::operator= ( const TPCFastTransformGeo )
default

Assignment operator: disabled to avoid ambiguity. Use cloneFromObject() instead.

◆ print()

void TPCFastTransformGeo::print ( ) const

Print method.

Prints the geometry

Definition at line 135 of file TPCFastTransformGeo.cxx.

◆ setTPCalignmentZ()

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.

◆ setTPCrow()

void TPCFastTransformGeo::setTPCrow ( int32_t  iRow,
float  x,
int32_t  nPads,
float  padWidth 
)

Initializes a TPC row.

Initializes a TPC row

Definition at line 93 of file TPCFastTransformGeo.cxx.

◆ setTPCzLength()

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.

◆ startConstruction()

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.

◆ test() [1/2]

int32_t TPCFastTransformGeo::test ( ) const

Method for testing consistency.

Check consistency of the class

Definition at line 216 of file TPCFastTransformGeo.cxx.

◆ test() [2/2]

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.

Member Data Documentation

◆ const [1/10]

float float float float float float& gz o2::gpu::TPCFastTransformGeo::const

Definition at line 138 of file TPCFastTransformGeo.h.

◆ const [2/10]

float float float float float float& lz o2::gpu::TPCFastTransformGeo::const

Definition at line 141 of file TPCFastTransformGeo.h.

◆ const [3/10]

float float float float& z o2::gpu::TPCFastTransformGeo::const

Definition at line 144 of file TPCFastTransformGeo.h.

◆ const [4/10]

float float& z o2::gpu::TPCFastTransformGeo::const

Definition at line 145 of file TPCFastTransformGeo.h.

◆ const [5/10]

float float float float& v o2::gpu::TPCFastTransformGeo::const

Definition at line 148 of file TPCFastTransformGeo.h.

◆ const [6/10]

int32_t float float float float& sv o2::gpu::TPCFastTransformGeo::const

Definition at line 151 of file TPCFastTransformGeo.h.

◆ const [7/10]

int32_t float float float float& v o2::gpu::TPCFastTransformGeo::const

Definition at line 154 of file TPCFastTransformGeo.h.

◆ const [8/10]

int32_t float float float float& lz o2::gpu::TPCFastTransformGeo::const

Definition at line 157 of file TPCFastTransformGeo.h.

◆ const [9/10]

float pad o2::gpu::TPCFastTransformGeo::const

Definition at line 160 of file TPCFastTransformGeo.h.

◆ const [10/10]

float u o2::gpu::TPCFastTransformGeo::const

Definition at line 163 of file TPCFastTransformGeo.h.

◆ gx [1/2]

float float float float& o2::gpu::TPCFastTransformGeo::gx

Definition at line 138 of file TPCFastTransformGeo.h.

◆ gx [2/2]

float o2::gpu::TPCFastTransformGeo::gx

Definition at line 141 of file TPCFastTransformGeo.h.

◆ gy [1/2]

float float float float float& o2::gpu::TPCFastTransformGeo::gy

Definition at line 138 of file TPCFastTransformGeo.h.

◆ gy [2/2]

float float o2::gpu::TPCFastTransformGeo::gy

Definition at line 141 of file TPCFastTransformGeo.h.

◆ gz

float float float o2::gpu::TPCFastTransformGeo::gz

Definition at line 141 of file TPCFastTransformGeo.h.

◆ lx [1/2]

float o2::gpu::TPCFastTransformGeo::lx

Definition at line 138 of file TPCFastTransformGeo.h.

◆ lx [2/2]

float float float float& o2::gpu::TPCFastTransformGeo::lx

Definition at line 141 of file TPCFastTransformGeo.h.

◆ ly [1/3]

float float o2::gpu::TPCFastTransformGeo::ly

Definition at line 138 of file TPCFastTransformGeo.h.

◆ ly [2/3]

float float float float float& o2::gpu::TPCFastTransformGeo::ly

Definition at line 141 of file TPCFastTransformGeo.h.

◆ ly [3/3]

int32_t float float float& o2::gpu::TPCFastTransformGeo::ly

Definition at line 157 of file TPCFastTransformGeo.h.

◆ lz

float float float o2::gpu::TPCFastTransformGeo::lz

Definition at line 138 of file TPCFastTransformGeo.h.

◆ row

int32_t o2::gpu::TPCFastTransformGeo::row

Definition at line 151 of file TPCFastTransformGeo.h.

◆ su [1/2]

int32_t float o2::gpu::TPCFastTransformGeo::su

Definition at line 151 of file TPCFastTransformGeo.h.

◆ su [2/2]

int32_t float o2::gpu::TPCFastTransformGeo::su

Definition at line 154 of file TPCFastTransformGeo.h.

◆ sv

int32_t float float o2::gpu::TPCFastTransformGeo::sv

Definition at line 154 of file TPCFastTransformGeo.h.

◆ u [1/4]

float o2::gpu::TPCFastTransformGeo::u

Definition at line 144 of file TPCFastTransformGeo.h.

◆ u [2/4]

float float float& o2::gpu::TPCFastTransformGeo::u

Definition at line 148 of file TPCFastTransformGeo.h.

◆ u [3/4]

int32_t float o2::gpu::TPCFastTransformGeo::u

Definition at line 151 of file TPCFastTransformGeo.h.

◆ u [4/4]

int32_t float float float& o2::gpu::TPCFastTransformGeo::u

Definition at line 154 of file TPCFastTransformGeo.h.

◆ v [1/3]

float float o2::gpu::TPCFastTransformGeo::v

Definition at line 144 of file TPCFastTransformGeo.h.

◆ v [2/3]

float o2::gpu::TPCFastTransformGeo::v

Definition at line 145 of file TPCFastTransformGeo.h.

◆ v [3/3]

int32_t float float o2::gpu::TPCFastTransformGeo::v

Definition at line 151 of file TPCFastTransformGeo.h.

◆ y [1/2]

float float float& o2::gpu::TPCFastTransformGeo::y

Definition at line 144 of file TPCFastTransformGeo.h.

◆ y [2/2]

float o2::gpu::TPCFastTransformGeo::y

Definition at line 148 of file TPCFastTransformGeo.h.

◆ z

float float o2::gpu::TPCFastTransformGeo::z

Definition at line 148 of file TPCFastTransformGeo.h.


The documentation for this class was generated from the following files: