Project
Loading...
Searching...
No Matches
o2::emcal::ShishKebabTrd1Module Class Reference

Main class for TRD1 geometry of Shish-Kebab case. More...

#include <ShishKebabTrd1Module.h>

Public Member Functions

 ShishKebabTrd1Module (Double_t theta=0.0, Geometry *g=nullptr)
 Constructor.
 
 ShishKebabTrd1Module (ShishKebabTrd1Module &leftNeighbor)
 Constructor.
 
void Init (Double_t A, Double_t B)
 Init (add explanation)
 
void DefineAllStuff ()
 Define more things (add explanation)
 
 ShishKebabTrd1Module (const ShishKebabTrd1Module &mod)
 Copy Constructor.
 
ShishKebabTrd1Moduleoperator= (const ShishKebabTrd1Module &)
 
 ~ShishKebabTrd1Module ()=default
 
Bool_t SetParameters ()
 Recover module parameters stored in geometry.
 
void DefineFirstModule (const Int_t key=0)
 
Double_t GetTheta () const
 
const TVector2 & GetCenterOfModule () const
 
Double_t GetPosX () const
 
Double_t GetPosZ () const
 
Double_t GetPosXfromR () const
 
Double_t GetA () const
 
Double_t GetB () const
 
Double_t GetRadius () const
 
TVector2 GetORB () const
 
TVector2 GetORT () const
 
const TVector2 & GetCenterOfCellInLocalCoordinateofSM (Int_t ieta) const
 
void GetCenterOfCellInLocalCoordinateofSM (Int_t ieta, Double_t &xr, Double_t &zr) const
 
void GetCenterOfCellInLocalCoordinateofSM3X3 (Int_t ieta, Double_t &xr, Double_t &zr) const
 
void GetCenterOfCellInLocalCoordinateofSM1X1 (Double_t &xr, Double_t &zr) const
 
const TVector2 & GetCenterOfModuleFace () const
 
const TVector2 & GetCenterOfModuleFace (Int_t ieta) const
 
void GetPositionAtCenterCellLine (Int_t ieta, Double_t dist, TVector2 &v) const
 
Double_t GetTanBetta () const
 
Double_t Getb () const
 
void PrintShish (Int_t pri=1) const
 
Double_t GetThetaInDegree () const
 
Double_t GetEtaOfCenterOfModule () const
 
Double_t GetMaxEtaOfModule () const
 

Static Public Member Functions

static Double_t ThetaToEta (Double_t theta)
 

Protected Attributes

GeometrymGeometry
 ! pointer to geometry info
 
TVector2 mOK
 position the module center in ALICE system; x->y; z->x;
 
Double_t mA {0.}
 parameters of right line : y = A*z + B
 
Double_t mB {0.}
 system where zero point is IP.
 
Double_t mThetaA {0.}
 angle coresponding fA - for convinience
 
Double_t mTheta
 theta angle of perpendicular to SK module
 
TVector2 mOK1
 ieta=1
 
TVector2 mOK2
 ieta=0
 
TVector2 mOB
 module
 
TVector2 mOB1
 ieta=1
 
TVector2 mOB2
 ieta=0
 
Double_t mThetaOB1 {0.}
 theta of cell center line (go through OB1)
 
Double_t mThetaOB2 {0.}
 theta of cell center line (go through OB2)
 
TVector2 mOK3X3 [3]
 
TVector2 mORB
 position of right/bottom point of module
 
TVector2 mORT
 position of right/top point of module
 

Static Protected Attributes

static Double_t sa = 0.
 2*dx1=2*dy1
 
static Double_t sa2 = 0.
 2*dx2
 
static Double_t sb = 0.
 2*dz1
 
static Double_t sangle = 0.
 in rad (1.5 degree)
 
static Double_t stanBetta = 0
 tan(fgangle/2.)
 
static Double_t sr = 0.
 radius to IP
 

Detailed Description

Main class for TRD1 geometry of Shish-Kebab case.

Sep 20004 - Nov 2006; Apr 2010 See web page with description of Shish-Kebab geometries: http://pdsfweb01.nersc.gov/~pavlinov/ALICE/SHISHKEBAB/RES/shishkebabALICE.html Nov 9,2006 - added case of 3X3

Author
: Alexei Pavlinov (WSU).

Definition at line 40 of file ShishKebabTrd1Module.h.

Constructor & Destructor Documentation

◆ ShishKebabTrd1Module() [1/3]

ShishKebabTrd1Module::ShishKebabTrd1Module ( Double_t  theta = 0.0,
Geometry g = nullptr 
)

Constructor.

Definition at line 28 of file ShishKebabTrd1Module.cxx.

◆ ShishKebabTrd1Module() [2/3]

ShishKebabTrd1Module::ShishKebabTrd1Module ( ShishKebabTrd1Module leftNeighbor)

Constructor.

Definition at line 56 of file ShishKebabTrd1Module.cxx.

◆ ShishKebabTrd1Module() [3/3]

ShishKebabTrd1Module::ShishKebabTrd1Module ( const ShishKebabTrd1Module mod)

Copy Constructor.

Definition at line 74 of file ShishKebabTrd1Module.cxx.

◆ ~ShishKebabTrd1Module()

o2::emcal::ShishKebabTrd1Module::~ShishKebabTrd1Module ( )
default

Member Function Documentation

◆ DefineAllStuff()

void ShishKebabTrd1Module::DefineAllStuff ( )

Define more things (add explanation)

Definition at line 125 of file ShishKebabTrd1Module.cxx.

◆ DefineFirstModule()

void ShishKebabTrd1Module::DefineFirstModule ( const Int_t  key = 0)

This is what we have in produced SM. (add explanation) Oct 23-25, 2010 key=0 - zero tilt of first module; key=1 - angle=fgangle/2 = 0.75 degree.

Definition at line 173 of file ShishKebabTrd1Module.cxx.

◆ GetA()

Double_t o2::emcal::ShishKebabTrd1Module::GetA ( ) const
inline

Definition at line 82 of file ShishKebabTrd1Module.h.

◆ GetB()

Double_t o2::emcal::ShishKebabTrd1Module::GetB ( ) const
inline

Definition at line 83 of file ShishKebabTrd1Module.h.

◆ Getb()

Double_t o2::emcal::ShishKebabTrd1Module::Getb ( ) const
inline

Definition at line 146 of file ShishKebabTrd1Module.h.

◆ GetCenterOfCellInLocalCoordinateofSM() [1/2]

const TVector2 & o2::emcal::ShishKebabTrd1Module::GetCenterOfCellInLocalCoordinateofSM ( Int_t  ieta) const
inline

Definition at line 90 of file ShishKebabTrd1Module.h.

◆ GetCenterOfCellInLocalCoordinateofSM() [2/2]

void o2::emcal::ShishKebabTrd1Module::GetCenterOfCellInLocalCoordinateofSM ( Int_t  ieta,
Double_t &  xr,
Double_t &  zr 
) const
inline

Definition at line 99 of file ShishKebabTrd1Module.h.

◆ GetCenterOfCellInLocalCoordinateofSM1X1()

void o2::emcal::ShishKebabTrd1Module::GetCenterOfCellInLocalCoordinateofSM1X1 ( Double_t &  xr,
Double_t &  zr 
) const
inline

Definition at line 124 of file ShishKebabTrd1Module.h.

◆ GetCenterOfCellInLocalCoordinateofSM3X3()

void o2::emcal::ShishKebabTrd1Module::GetCenterOfCellInLocalCoordinateofSM3X3 ( Int_t  ieta,
Double_t &  xr,
Double_t &  zr 
) const
inline

Definition at line 112 of file ShishKebabTrd1Module.h.

◆ GetCenterOfModule()

const TVector2 & o2::emcal::ShishKebabTrd1Module::GetCenterOfModule ( ) const
inline

Definition at line 78 of file ShishKebabTrd1Module.h.

◆ GetCenterOfModuleFace() [1/2]

const TVector2 & o2::emcal::ShishKebabTrd1Module::GetCenterOfModuleFace ( ) const
inline

Definition at line 131 of file ShishKebabTrd1Module.h.

◆ GetCenterOfModuleFace() [2/2]

const TVector2 & o2::emcal::ShishKebabTrd1Module::GetCenterOfModuleFace ( Int_t  ieta) const
inline

Definition at line 132 of file ShishKebabTrd1Module.h.

◆ GetEtaOfCenterOfModule()

Double_t ShishKebabTrd1Module::GetEtaOfCenterOfModule ( ) const

Definition at line 268 of file ShishKebabTrd1Module.cxx.

◆ GetMaxEtaOfModule()

Double_t ShishKebabTrd1Module::GetMaxEtaOfModule ( ) const

Definition at line 291 of file ShishKebabTrd1Module.cxx.

◆ GetORB()

TVector2 o2::emcal::ShishKebabTrd1Module::GetORB ( ) const
inline

Definition at line 85 of file ShishKebabTrd1Module.h.

◆ GetORT()

TVector2 o2::emcal::ShishKebabTrd1Module::GetORT ( ) const
inline

Definition at line 86 of file ShishKebabTrd1Module.h.

◆ GetPositionAtCenterCellLine()

void ShishKebabTrd1Module::GetPositionAtCenterCellLine ( Int_t  ieta,
Double_t  dist,
TVector2 &  v 
) const

Definition at line 270 of file ShishKebabTrd1Module.cxx.

◆ GetPosX()

Double_t o2::emcal::ShishKebabTrd1Module::GetPosX ( ) const
inline

Definition at line 79 of file ShishKebabTrd1Module.h.

◆ GetPosXfromR()

Double_t o2::emcal::ShishKebabTrd1Module::GetPosXfromR ( ) const
inline

Definition at line 81 of file ShishKebabTrd1Module.h.

◆ GetPosZ()

Double_t o2::emcal::ShishKebabTrd1Module::GetPosZ ( ) const
inline

Definition at line 80 of file ShishKebabTrd1Module.h.

◆ GetRadius()

Double_t o2::emcal::ShishKebabTrd1Module::GetRadius ( ) const
inline

Definition at line 84 of file ShishKebabTrd1Module.h.

◆ GetTanBetta()

Double_t o2::emcal::ShishKebabTrd1Module::GetTanBetta ( ) const
inline

Definition at line 145 of file ShishKebabTrd1Module.h.

◆ GetTheta()

Double_t o2::emcal::ShishKebabTrd1Module::GetTheta ( ) const
inline

Definition at line 77 of file ShishKebabTrd1Module.h.

◆ GetThetaInDegree()

Double_t ShishKebabTrd1Module::GetThetaInDegree ( ) const

Definition at line 266 of file ShishKebabTrd1Module.cxx.

◆ Init()

void ShishKebabTrd1Module::Init ( Double_t  A,
Double_t  B 
)

Init (add explanation)

Definition at line 96 of file ShishKebabTrd1Module.cxx.

◆ operator=()

ShishKebabTrd1Module & o2::emcal::ShishKebabTrd1Module::operator= ( const ShishKebabTrd1Module )
inline

Definition at line 58 of file ShishKebabTrd1Module.h.

◆ PrintShish()

void ShishKebabTrd1Module::PrintShish ( Int_t  pri = 1) const

Definition at line 235 of file ShishKebabTrd1Module.cxx.

◆ SetParameters()

Bool_t ShishKebabTrd1Module::SetParameters ( )

Recover module parameters stored in geometry.

Definition at line 208 of file ShishKebabTrd1Module.cxx.

◆ ThetaToEta()

static Double_t o2::emcal::ShishKebabTrd1Module::ThetaToEta ( Double_t  theta)
inlinestatic

Definition at line 153 of file ShishKebabTrd1Module.h.

Member Data Documentation

◆ mA

Double_t o2::emcal::ShishKebabTrd1Module::mA {0.}
protected

parameters of right line : y = A*z + B

Definition at line 166 of file ShishKebabTrd1Module.h.

◆ mB

Double_t o2::emcal::ShishKebabTrd1Module::mB {0.}
protected

system where zero point is IP.

Definition at line 167 of file ShishKebabTrd1Module.h.

◆ mGeometry

Geometry* o2::emcal::ShishKebabTrd1Module::mGeometry
protected

! pointer to geometry info

Definition at line 157 of file ShishKebabTrd1Module.h.

◆ mOB

TVector2 o2::emcal::ShishKebabTrd1Module::mOB
protected

module

Definition at line 177 of file ShishKebabTrd1Module.h.

◆ mOB1

TVector2 o2::emcal::ShishKebabTrd1Module::mOB1
protected

ieta=1

Definition at line 178 of file ShishKebabTrd1Module.h.

◆ mOB2

TVector2 o2::emcal::ShishKebabTrd1Module::mOB2
protected

ieta=0

Definition at line 179 of file ShishKebabTrd1Module.h.

◆ mOK

TVector2 o2::emcal::ShishKebabTrd1Module::mOK
protected

position the module center in ALICE system; x->y; z->x;

Definition at line 165 of file ShishKebabTrd1Module.h.

◆ mOK1

TVector2 o2::emcal::ShishKebabTrd1Module::mOK1
protected

ieta=1

Definition at line 173 of file ShishKebabTrd1Module.h.

◆ mOK2

TVector2 o2::emcal::ShishKebabTrd1Module::mOK2
protected

ieta=0

Definition at line 174 of file ShishKebabTrd1Module.h.

◆ mOK3X3

TVector2 o2::emcal::ShishKebabTrd1Module::mOK3X3[3]
protected

Definition at line 186 of file ShishKebabTrd1Module.h.

◆ mORB

TVector2 o2::emcal::ShishKebabTrd1Module::mORB
protected

position of right/bottom point of module

Definition at line 189 of file ShishKebabTrd1Module.h.

◆ mORT

TVector2 o2::emcal::ShishKebabTrd1Module::mORT
protected

position of right/top point of module

Definition at line 190 of file ShishKebabTrd1Module.h.

◆ mTheta

Double_t o2::emcal::ShishKebabTrd1Module::mTheta
protected

theta angle of perpendicular to SK module

Definition at line 169 of file ShishKebabTrd1Module.h.

◆ mThetaA

Double_t o2::emcal::ShishKebabTrd1Module::mThetaA {0.}
protected

angle coresponding fA - for convinience

Definition at line 168 of file ShishKebabTrd1Module.h.

◆ mThetaOB1

Double_t o2::emcal::ShishKebabTrd1Module::mThetaOB1 {0.}
protected

theta of cell center line (go through OB1)

Definition at line 182 of file ShishKebabTrd1Module.h.

◆ mThetaOB2

Double_t o2::emcal::ShishKebabTrd1Module::mThetaOB2 {0.}
protected

theta of cell center line (go through OB2)

Definition at line 183 of file ShishKebabTrd1Module.h.

◆ sa

Double_t ShishKebabTrd1Module::sa = 0.
staticprotected

2*dx1=2*dy1

Definition at line 158 of file ShishKebabTrd1Module.h.

◆ sa2

Double_t ShishKebabTrd1Module::sa2 = 0.
staticprotected

2*dx2

Definition at line 159 of file ShishKebabTrd1Module.h.

◆ sangle

Double_t ShishKebabTrd1Module::sangle = 0.
staticprotected

in rad (1.5 degree)

Definition at line 161 of file ShishKebabTrd1Module.h.

◆ sb

Double_t ShishKebabTrd1Module::sb = 0.
staticprotected

2*dz1

Definition at line 160 of file ShishKebabTrd1Module.h.

◆ sr

Double_t ShishKebabTrd1Module::sr = 0.
staticprotected

radius to IP

Definition at line 163 of file ShishKebabTrd1Module.h.

◆ stanBetta

Double_t ShishKebabTrd1Module::stanBetta = 0
staticprotected

tan(fgangle/2.)

Definition at line 162 of file ShishKebabTrd1Module.h.


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