Project
Loading...
Searching...
No Matches
o2::iotof::Layer Class Reference

#include <Layer.h>

Inherited by o2::iotof::BTOFLayer, o2::iotof::FTOFLayer, o2::iotof::ITOFLayer, and o2::iotof::OTOFLayer.

Public Member Functions

 Layer ()=default
 
 Layer (std::string layerName, float rInn, float rOut, float zLength, float zOffset, float layerX2X0, int layout=kBarrel, int nStaves=0, float staveSize=0.0, double staveTiltAngle=0.0, int modulesPerStave=0)
 
 ~Layer ()=default
 
auto getInnerRadius () const
 
auto getOuterRadius () const
 
auto getZLength () const
 
auto getZOffset () const
 
auto getx2X0 () const
 
auto getChipThickness () const
 
auto getName () const
 
auto getLayout () const
 
auto getSegments () const
 
virtual void createLayer (TGeoVolume *motherVolume)
 

Static Public Attributes

static constexpr int kBarrel = 0
 
static constexpr int kDisk = 1
 
static constexpr int kBarrelSegmented = 2
 
static constexpr int kDiskSegmented = 3
 

Protected Attributes

std::string mLayerName
 
float mInnerRadius
 
float mOuterRadius
 
float mZLength
 
float mZOffset {0.f}
 
float mX2X0
 
float mChipThickness
 
int mLayout {kBarrel}
 
std::pair< int, float > mStaves {0, 0.0f}
 
int mModulesPerStave {0}
 
double mTiltAngle {0.0}
 

Detailed Description

Definition at line 24 of file Layer.h.

Constructor & Destructor Documentation

◆ Layer() [1/2]

o2::iotof::Layer::Layer ( )
default

◆ Layer() [2/2]

o2::iotof::Layer::Layer ( std::string  layerName,
float  rInn,
float  rOut,
float  zLength,
float  zOffset,
float  layerX2X0,
int  layout = kBarrel,
int  nStaves = 0,
float  staveSize = 0.0,
double  staveTiltAngle = 0.0,
int  modulesPerStave = 0 
)

Definition at line 30 of file Layer.cxx.

◆ ~Layer()

o2::iotof::Layer::~Layer ( )
default

Member Function Documentation

◆ createLayer()

virtual void o2::iotof::Layer::createLayer ( TGeoVolume *  motherVolume)
inlinevirtual

Reimplemented in o2::iotof::ITOFLayer, o2::iotof::OTOFLayer, o2::iotof::FTOFLayer, and o2::iotof::BTOFLayer.

Definition at line 46 of file Layer.h.

◆ getChipThickness()

auto o2::iotof::Layer::getChipThickness ( ) const
inline

Definition at line 37 of file Layer.h.

◆ getInnerRadius()

auto o2::iotof::Layer::getInnerRadius ( ) const
inline

Definition at line 32 of file Layer.h.

◆ getLayout()

auto o2::iotof::Layer::getLayout ( ) const
inline

Definition at line 39 of file Layer.h.

◆ getName()

auto o2::iotof::Layer::getName ( ) const
inline

Definition at line 38 of file Layer.h.

◆ getOuterRadius()

auto o2::iotof::Layer::getOuterRadius ( ) const
inline

Definition at line 33 of file Layer.h.

◆ getSegments()

auto o2::iotof::Layer::getSegments ( ) const
inline

Definition at line 40 of file Layer.h.

◆ getx2X0()

auto o2::iotof::Layer::getx2X0 ( ) const
inline

Definition at line 36 of file Layer.h.

◆ getZLength()

auto o2::iotof::Layer::getZLength ( ) const
inline

Definition at line 34 of file Layer.h.

◆ getZOffset()

auto o2::iotof::Layer::getZOffset ( ) const
inline

Definition at line 35 of file Layer.h.

Member Data Documentation

◆ kBarrel

constexpr int o2::iotof::Layer::kBarrel = 0
staticconstexpr

Definition at line 41 of file Layer.h.

◆ kBarrelSegmented

constexpr int o2::iotof::Layer::kBarrelSegmented = 2
staticconstexpr

Definition at line 43 of file Layer.h.

◆ kDisk

constexpr int o2::iotof::Layer::kDisk = 1
staticconstexpr

Definition at line 42 of file Layer.h.

◆ kDiskSegmented

constexpr int o2::iotof::Layer::kDiskSegmented = 3
staticconstexpr

Definition at line 44 of file Layer.h.

◆ mChipThickness

float o2::iotof::Layer::mChipThickness
protected

Definition at line 55 of file Layer.h.

◆ mInnerRadius

float o2::iotof::Layer::mInnerRadius
protected

Definition at line 50 of file Layer.h.

◆ mLayerName

std::string o2::iotof::Layer::mLayerName
protected

Definition at line 49 of file Layer.h.

◆ mLayout

int o2::iotof::Layer::mLayout {kBarrel}
protected

Definition at line 56 of file Layer.h.

◆ mModulesPerStave

int o2::iotof::Layer::mModulesPerStave {0}
protected

Definition at line 59 of file Layer.h.

◆ mOuterRadius

float o2::iotof::Layer::mOuterRadius
protected

Definition at line 51 of file Layer.h.

◆ mStaves

std::pair<int, float> o2::iotof::Layer::mStaves {0, 0.0f}
protected

Definition at line 58 of file Layer.h.

◆ mTiltAngle

double o2::iotof::Layer::mTiltAngle {0.0}
protected

Definition at line 60 of file Layer.h.

◆ mX2X0

float o2::iotof::Layer::mX2X0
protected

Definition at line 54 of file Layer.h.

◆ mZLength

float o2::iotof::Layer::mZLength
protected

Definition at line 52 of file Layer.h.

◆ mZOffset

float o2::iotof::Layer::mZOffset {0.f}
protected

Definition at line 53 of file Layer.h.


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