Project
Loading...
Searching...
No Matches
o2::ecal::Geometry Class Reference

#include <Geometry.h>

Public Member Functions

int getNcols () const
 
int getNrows () const
 
std::pair< int, intgetSectorChamber (int cellId) const
 
std::pair< int, intgetSectorChamber (int iphi, int iz) const
 
void fillFrontFaceCenterCoordinates ()
 
int getCellID (int moduleId, int sectorId, bool isCrystal)
 
void detIdToRelIndex (int cellId, int &chamber, int &sector, int &iphi, int &iz) const
 
void detIdToGlobalPosition (int detId, double &x, double &y, double &z)
 
std::pair< int, intglobalRowColFromIndex (int cellID) const
 
bool isCrystal (int cellID)
 
int areNeighboursVertex (int detId1, int detId2) const
 
double getTanBeta (int i)
 
double getFrontFaceZatMinR (int i)
 
double getFrontFaceCenterR (int i)
 
double getFrontFaceCenterZ (int i)
 
double getFrontFaceCenterSamplingPhi (int i)
 
double getFrontFaceCenterCrystalPhi (int i)
 
double getFrontFaceCenterTheta (int i)
 
double getRMin ()
 
double getCrystalModW ()
 
double getSamplingModW ()
 
double getCrystalAlpha ()
 
double getSamplingAlpha ()
 
double getCrystalDeltaPhi ()
 
double getSamplingDeltaPhi ()
 
double getFrontFaceMaxEta (int i)
 
double getCrystalPhiMin ()
 
double getSamplingPhiMin ()
 
int getNModulesZ ()
 
bool isAtTheEdge (int cellId)
 

Static Public Member Functions

static Geometryinstance ()
 

Detailed Description

Definition at line 28 of file Geometry.h.

Member Function Documentation

◆ areNeighboursVertex()

int Geometry::areNeighboursVertex ( int  detId1,
int  detId2 
) const

Definition at line 230 of file Geometry.cxx.

◆ detIdToGlobalPosition()

void Geometry::detIdToGlobalPosition ( int  detId,
double &  x,
double &  y,
double &  z 
)

Definition at line 212 of file Geometry.cxx.

◆ detIdToRelIndex()

void Geometry::detIdToRelIndex ( int  cellId,
int chamber,
int sector,
int iphi,
int iz 
) const

Definition at line 201 of file Geometry.cxx.

◆ fillFrontFaceCenterCoordinates()

void Geometry::fillFrontFaceCenterCoordinates ( )

Definition at line 83 of file Geometry.cxx.

◆ getCellID()

int Geometry::getCellID ( int  moduleId,
int  sectorId,
bool  isCrystal 
)

Definition at line 150 of file Geometry.cxx.

◆ getCrystalAlpha()

double o2::ecal::Geometry::getCrystalAlpha ( )
inline

Definition at line 60 of file Geometry.h.

◆ getCrystalDeltaPhi()

double o2::ecal::Geometry::getCrystalDeltaPhi ( )
inline

Definition at line 62 of file Geometry.h.

◆ getCrystalModW()

double o2::ecal::Geometry::getCrystalModW ( )
inline

Definition at line 58 of file Geometry.h.

◆ getCrystalPhiMin()

double Geometry::getCrystalPhiMin ( )

Definition at line 61 of file Geometry.cxx.

◆ getFrontFaceCenterCrystalPhi()

double o2::ecal::Geometry::getFrontFaceCenterCrystalPhi ( int  i)
inline

Definition at line 55 of file Geometry.h.

◆ getFrontFaceCenterR()

double o2::ecal::Geometry::getFrontFaceCenterR ( int  i)
inline

Definition at line 52 of file Geometry.h.

◆ getFrontFaceCenterSamplingPhi()

double o2::ecal::Geometry::getFrontFaceCenterSamplingPhi ( int  i)
inline

Definition at line 54 of file Geometry.h.

◆ getFrontFaceCenterTheta()

double o2::ecal::Geometry::getFrontFaceCenterTheta ( int  i)
inline

Definition at line 56 of file Geometry.h.

◆ getFrontFaceCenterZ()

double o2::ecal::Geometry::getFrontFaceCenterZ ( int  i)
inline

Definition at line 53 of file Geometry.h.

◆ getFrontFaceMaxEta()

double Geometry::getFrontFaceMaxEta ( int  i)

Definition at line 76 of file Geometry.cxx.

◆ getFrontFaceZatMinR()

double o2::ecal::Geometry::getFrontFaceZatMinR ( int  i)
inline

Definition at line 51 of file Geometry.h.

◆ getNcols()

int Geometry::getNcols ( ) const

Definition at line 49 of file Geometry.cxx.

◆ getNModulesZ()

int o2::ecal::Geometry::getNModulesZ ( )
inline

Definition at line 67 of file Geometry.h.

◆ getNrows()

int Geometry::getNrows ( ) const

Definition at line 55 of file Geometry.cxx.

◆ getRMin()

double o2::ecal::Geometry::getRMin ( )
inline

Definition at line 57 of file Geometry.h.

◆ getSamplingAlpha()

double o2::ecal::Geometry::getSamplingAlpha ( )
inline

Definition at line 61 of file Geometry.h.

◆ getSamplingDeltaPhi()

double o2::ecal::Geometry::getSamplingDeltaPhi ( )
inline

Definition at line 63 of file Geometry.h.

◆ getSamplingModW()

double o2::ecal::Geometry::getSamplingModW ( )
inline

Definition at line 59 of file Geometry.h.

◆ getSamplingPhiMin()

double Geometry::getSamplingPhiMin ( )

Definition at line 69 of file Geometry.cxx.

◆ getSectorChamber() [1/2]

std::pair< int, int > Geometry::getSectorChamber ( int  cellId) const

Definition at line 185 of file Geometry.cxx.

◆ getSectorChamber() [2/2]

std::pair< int, int > Geometry::getSectorChamber ( int  iphi,
int  iz 
) const

Definition at line 193 of file Geometry.cxx.

◆ getTanBeta()

double o2::ecal::Geometry::getTanBeta ( int  i)
inline

Definition at line 50 of file Geometry.h.

◆ globalRowColFromIndex()

std::pair< int, int > Geometry::globalRowColFromIndex ( int  cellID) const

Definition at line 170 of file Geometry.cxx.

◆ instance()

static Geometry & o2::ecal::Geometry::instance ( )
inlinestatic

Definition at line 31 of file Geometry.h.

◆ isAtTheEdge()

bool Geometry::isAtTheEdge ( int  cellId)

Definition at line 246 of file Geometry.cxx.

◆ isCrystal()

bool Geometry::isCrystal ( int  cellID)

Definition at line 178 of file Geometry.cxx.


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