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  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.
 
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 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
 

Detailed Description

The TPCFastTransformGeo class contains TPC geometry needed for the TPCFastTransform

Definition at line 35 of file TPCFastTransformGeo.h.

Constructor & Destructor Documentation

◆ TPCFastTransformGeo() [1/2]

TPCFastTransformGeo::TPCFastTransformGeo ( )

_____________ Constructors / destructors __________________________

Default constructor: creates an empty uninitialized object

Definition at line 26 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

◆ ClassDefNV()

o2::gpu::TPCFastTransformGeo::ClassDefNV ( TPCFastTransformGeo  ,
 
)

◆ 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 94 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 87 of file TPCFastTransformGeo.h.

◆ getMaxNumberOfRows()

static constexpr int o2::gpu::TPCFastTransformGeo::getMaxNumberOfRows ( )
inlinestaticconstexpr

Gives number of TPC rows.

Definition at line 120 of file TPCFastTransformGeo.h.

◆ getNumberOfSectors()

static constexpr int32_t o2::gpu::TPCFastTransformGeo::getNumberOfSectors ( )
inlinestaticconstexpr

_______________ Getters _________________________________

Gives number of TPC sectors

Definition at line 111 of file TPCFastTransformGeo.h.

◆ getNumberOfSectorsA()

static constexpr int32_t o2::gpu::TPCFastTransformGeo::getNumberOfSectorsA ( )
inlinestaticconstexpr

Gives number of TPC sectors on the A side.

Definition at line 114 of file TPCFastTransformGeo.h.

◆ GPUd() [1/9]

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

Gives TPC row info.

◆ GPUd() [2/9]

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

Gives sector info.

◆ GPUd() [3/9]

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

convert DriftLength -> Local c.s.

◆ GPUd() [4/9]

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

convert Z to DriftLength

◆ GPUd() [5/9]

GPUdi() std o2::gpu::TPCFastTransformGeo::GPUd ( ) const

Gives Z range for the corresponding TPC side.

◆ GPUd() [6/9]

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

convert Global->Local c.s.

◆ GPUd() [7/9]

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

_______________ Conversion of coordinate systems __________

convert Local -> Global c.s.

◆ GPUd() [8/9]

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

convert Local c.s. -> Pad, DriftLength

◆ GPUd() [9/9]

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

convert Pad, DriftLength -> Local c.s.

◆ GPUdi() [1/2]

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

Gives Z length of the TPC, one Z side.

Definition at line 129 of file TPCFastTransformGeo.h.

◆ GPUdi() [2/2]

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

Gives number of TPC rows.

Definition at line 117 of file TPCFastTransformGeo.h.

◆ isConstructed()

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

Is the object constructed.

Definition at line 106 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 108 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 69 of file TPCFastTransformGeo.cxx.

◆ setTPCzLength()

void TPCFastTransformGeo::setTPCzLength ( float  tpcZlength)

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.

◆ startConstruction()

void TPCFastTransformGeo::startConstruction ( int32_t  numberOfRows)

_______________ Construction interface ________________________

Starts the initialization psectoredure, reserves temporary memory

Starts the construction procedure

Definition at line 41 of file TPCFastTransformGeo.cxx.

◆ test() [1/2]

int32_t TPCFastTransformGeo::test ( ) const

Method for testing consistency.

Check consistency of the class

Definition at line 160 of file TPCFastTransformGeo.cxx.

◆ test() [2/2]

int32_t TPCFastTransformGeo::test ( int32_t  sector,
int32_t  row,
float  ly,
float  lz 
) const

Method for testing consistency.

Check consistency of the class

Definition at line 120 of file TPCFastTransformGeo.cxx.

Member Data Documentation

◆ const [1/6]

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

Definition at line 149 of file TPCFastTransformGeo.h.

◆ const [2/6]

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

Definition at line 152 of file TPCFastTransformGeo.h.

◆ const [3/6]

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

Definition at line 155 of file TPCFastTransformGeo.h.

◆ const [4/6]

float driftLength o2::gpu::TPCFastTransformGeo::const

Definition at line 158 of file TPCFastTransformGeo.h.

◆ const [5/6]

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

Definition at line 161 of file TPCFastTransformGeo.h.

◆ const [6/6]

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

Definition at line 164 of file TPCFastTransformGeo.h.

◆ driftLength

int32_t float float o2::gpu::TPCFastTransformGeo::driftLength

Definition at line 155 of file TPCFastTransformGeo.h.

◆ gx [1/2]

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

Definition at line 149 of file TPCFastTransformGeo.h.

◆ gx [2/2]

float o2::gpu::TPCFastTransformGeo::gx

Definition at line 152 of file TPCFastTransformGeo.h.

◆ gy [1/2]

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

Definition at line 149 of file TPCFastTransformGeo.h.

◆ gy [2/2]

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

Definition at line 152 of file TPCFastTransformGeo.h.

◆ gz

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

Definition at line 152 of file TPCFastTransformGeo.h.

◆ lx [1/2]

float o2::gpu::TPCFastTransformGeo::lx

Definition at line 149 of file TPCFastTransformGeo.h.

◆ lx [2/2]

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

Definition at line 152 of file TPCFastTransformGeo.h.

◆ ly [1/2]

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

Definition at line 149 of file TPCFastTransformGeo.h.

◆ ly [2/2]

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

Definition at line 152 of file TPCFastTransformGeo.h.

◆ lz

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

Definition at line 149 of file TPCFastTransformGeo.h.

◆ pad [1/2]

int32_t float o2::gpu::TPCFastTransformGeo::pad

Definition at line 155 of file TPCFastTransformGeo.h.

◆ pad [2/2]

int32_t float float float& o2::gpu::TPCFastTransformGeo::pad

Definition at line 164 of file TPCFastTransformGeo.h.

◆ row

int32_t o2::gpu::TPCFastTransformGeo::row

Definition at line 155 of file TPCFastTransformGeo.h.

◆ y [1/2]

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

Definition at line 155 of file TPCFastTransformGeo.h.

◆ y [2/2]

int32_t float o2::gpu::TPCFastTransformGeo::y

Definition at line 164 of file TPCFastTransformGeo.h.

◆ z

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

Definition at line 164 of file TPCFastTransformGeo.h.


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