Belle II Software  release-08-01-10
ARICHGeometryConfig Class Reference

The Class for ARICH Geometry Parameters. More...

#include <ARICHGeometryConfig.h>

Inheritance diagram for ARICHGeometryConfig:
Collaboration diagram for ARICHGeometryConfig:

Public Member Functions

 ARICHGeometryConfig ()
 Default constructor.
 
 ARICHGeometryConfig (const GearDir &)
 Contructor.
 
void clear (void)
 Clears.
 
void print (const std::string &title="ARICH geometry parameters") const
 Print some debug information.
 
void read (const GearDir &content)
 gets geometry parameters from gearbox.
 
double getDetectorZPosition () const
 get z position of detector plane (starting z of HAPDs)
 
int doBeamBackgroundStudy () const
 returns 1 if beam background study (to add additional sensitive modules, detect neutrons, ...), 0 else
 
TVector2 getChannelPosition (unsigned moduleID, unsigned xChn, unsigned yChn) const
 Get position of HAPD (x,y) channel in local ARICH coordinates. More...
 
const ARICHGeoDetectorPlanegetDetectorPlane () const
 Get geometry configuration of HAPD plane. More...
 
const ARICHGeoAerogelPlanegetAerogelPlane () const
 Get geometry configuration of aerogel plane. More...
 
const ARICHGeoMirrorsgetMirrors () const
 Get mirrors geometry configuration. More...
 
const ARICHGeoMasterVolumegetMasterVolume () const
 Get ARICH master volume geometry configuration. More...
 
const ARICHGeoSupportgetSupportStructure () const
 Get ARICH support structure geometry configuration. More...
 
const ARICHGeoHAPDgetHAPDGeometry () const
 Get HAPD geometry parameters. More...
 
const ARICHGeoMergergetMergerGeometry () const
 Get Merger PCB geometry parameters. More...
 
const ARICHGeoCablesEnvelopegetCablesEnvelope () const
 Get ARICH cables envelop geometry parameters. More...
 
const ARICHGeoCoolinggetCoolingGeometry () const
 Get ARICH cooling system geometry parameters. More...
 
const ARICHGeoFEBCoolinggetFEBCoolingGeometry () const
 Get ARICH FEB cooling system (v2) geometry parameters. More...
 
const ARICHGeoGlobalDisplacementgetGlobalDisplacement () const
 Get global displacement parameters. More...
 
const ARICHGeoMirrorDisplacementgetMirrorDisplacement () const
 Get mirror displacement parameters. More...
 
void setAerogelPlane (const ARICHGeoAerogelPlane &aerogelPlane)
 Set geometry configuration of aerogel plane. More...
 
void setDetectorPlane (const ARICHGeoDetectorPlane &detectorPlane)
 Set geometry configuration of HAPD plane. More...
 
void setMirrors (const ARICHGeoMirrors &mirrors)
 Set mirrors geometry configuration. More...
 
void setMasterVolume (const ARICHGeoMasterVolume &masterVolume)
 Set master volume geometry configuration. More...
 
void setSupportStructure (const ARICHGeoSupport &supportStructure)
 Set support structure geometry configuration. More...
 
void setGlobalDisplacement (const ARICHGeoGlobalDisplacement &displ)
 Set global displacement parameters. More...
 
void setMirrorDisplacement (const ARICHGeoMirrorDisplacement &displ)
 Set mirror displacement parameters. More...
 
void setUseGlobalDisplacement (bool use)
 
void setUseMirrorDisplacement (bool use)
 
bool useGlobalDisplacement () const
 
bool useMirrorDisplacement () const
 
void setName (const std::string &name)
 Sets object name. More...
 
const std::string & getName () const
 Returns object name. More...
 
virtual bool isConsistent () const
 Check for consistency of data members. More...
 
virtual void printSurface (const GeoOpticalSurface &surface) const
 Print the content of optical surface. More...
 
virtual void printPlacement (double x, double y, double z, double rx, double ry, double rz) const
 Print volume positioning parameters. More...
 

Static Public Member Functions

static void useBasf2Units ()
 Use basf2 units when returning geometry parameters.
 
static void useGeantUnits ()
 Use Geant4 units when returning geometry parameters.
 

Protected Member Functions

 ClassDef (ARICHGeoBase, 2)
 ClassDef.
 

Protected Attributes

std::string m_name
 geometry object name
 

Static Protected Attributes

static double s_unit = Unit::cm
 conversion unit for length
 
static std::string s_unitName
 conversion unit name
 

Private Member Functions

void modulesPosition (const GearDir &content)
 initializes the positions of HAPD modules, with the parameters from xml.
 
 ClassDef (ARICHGeometryConfig, 5)
 ClassDef, must be the last term before the closing {}.
 

Private Attributes

ARICHGeoDetectorPlane m_detectorPlane
 detector plane geometry configuration
 
ARICHGeoAerogelPlane m_aerogelPlane
 aerogel plane geometry configuration
 
ARICHGeoMirrors m_mirrors
 mirrors geometry configuration
 
ARICHGeoMasterVolume m_masterVolume
 master volume geometry configuration
 
ARICHGeoSupport m_supportStructure
 support structure geometry configuration
 
ARICHGeoHAPD m_hapd
 HAPD geometry configuration.
 
ARICHGeoMerger m_merger
 Merger PCB geometry configuration.
 
ARICHGeoCablesEnvelope m_cablesenvelope
 ARICH cables envelop geometry configuration.
 
ARICHGeoCooling m_cooling
 ARICH cooling system geometry configuration.
 
ARICHGeoFEBCooling m_coolingv2
 ARICH cooling system (v2) geometry configuration.
 
ARICHGeoGlobalDisplacement m_globalDispl
 global displacement parameters
 
ARICHGeoMirrorDisplacement m_mirrorDispl
 mirror displacement parameters
 
bool m_displaceMirrors = 0
 use mirror displacement parameters
 
bool m_displaceGlobal = 0
 use global displacement parameters
 
int m_bbstudy = 0
 is beam background study
 

Detailed Description

The Class for ARICH Geometry Parameters.

This class provides ARICH gemetry paramters for simulation, reconstruction and so on. These parameters are gotten from gearbox.

Definition at line 40 of file ARICHGeometryConfig.h.

Member Function Documentation

◆ getAerogelPlane()

const ARICHGeoAerogelPlane& getAerogelPlane ( ) const
inline

Get geometry configuration of aerogel plane.

Returns
aerogel plane geometry parameters

Definition at line 96 of file ARICHGeometryConfig.h.

96 {return m_aerogelPlane;}
ARICHGeoAerogelPlane m_aerogelPlane
aerogel plane geometry configuration

◆ getCablesEnvelope()

const ARICHGeoCablesEnvelope& getCablesEnvelope ( ) const
inline

Get ARICH cables envelop geometry parameters.

Returns
ARICH cables envelop geometry parameters

Definition at line 132 of file ARICHGeometryConfig.h.

◆ getChannelPosition()

TVector2 getChannelPosition ( unsigned  moduleID,
unsigned  xChn,
unsigned  yChn 
) const

Get position of HAPD (x,y) channel in local ARICH coordinates.

Parameters
moduleIDmodule ID
xChnHAPD x channel
yChnHAPD y channel
Returns
channel position

Definition at line 378 of file ARICHGeometryConfig.cc.

379 {
380  TVector2 origin;
381  origin.SetMagPhi(m_detectorPlane.getSlotR(moduleID), m_detectorPlane.getSlotPhi(moduleID));
382  double x, y;
383  m_hapd.getXYChannelPos(chX, chY, x, y);
384  TVector2 locPos(x, y);
385  return origin + locPos.Rotate(m_detectorPlane.getSlotPhi(moduleID));
386 }
double getSlotR(unsigned modID) const
Get radial position of module with given module ID number.
double getSlotPhi(unsigned modID) const
Get phi (angle) position of module with given module ID number.
void getXYChannelPos(int chX, int chY, double &x, double &y) const
Returns local x,y position from channel X,Y numbers.
Definition: ARICHGeoHAPD.cc:15
ARICHGeoDetectorPlane m_detectorPlane
detector plane geometry configuration
ARICHGeoHAPD m_hapd
HAPD geometry configuration.

◆ getCoolingGeometry()

const ARICHGeoCooling& getCoolingGeometry ( ) const
inline

Get ARICH cooling system geometry parameters.

Returns
ARICH cooling system geometry parameters

Definition at line 138 of file ARICHGeometryConfig.h.

◆ getDetectorPlane()

const ARICHGeoDetectorPlane& getDetectorPlane ( ) const
inline

Get geometry configuration of HAPD plane.

Returns
detector plane geometry parameters

Definition at line 90 of file ARICHGeometryConfig.h.

◆ getFEBCoolingGeometry()

const ARICHGeoFEBCooling& getFEBCoolingGeometry ( ) const
inline

Get ARICH FEB cooling system (v2) geometry parameters.

Returns
ARICH FEB cooling system (v2) geometry parameters

Definition at line 144 of file ARICHGeometryConfig.h.

◆ getGlobalDisplacement()

const ARICHGeoGlobalDisplacement& getGlobalDisplacement ( ) const
inline

Get global displacement parameters.

Returns
global displacement parameters

Definition at line 150 of file ARICHGeometryConfig.h.

◆ getHAPDGeometry()

const ARICHGeoHAPD& getHAPDGeometry ( ) const
inline

Get HAPD geometry parameters.

Returns
HAPD geometry parameters

Definition at line 120 of file ARICHGeometryConfig.h.

◆ getMasterVolume()

const ARICHGeoMasterVolume& getMasterVolume ( ) const
inline

Get ARICH master volume geometry configuration.

Returns
master volume geometry parameters

Definition at line 108 of file ARICHGeometryConfig.h.

◆ getMergerGeometry()

const ARICHGeoMerger& getMergerGeometry ( ) const
inline

Get Merger PCB geometry parameters.

Returns
Merger PCB geometry parameters

Definition at line 126 of file ARICHGeometryConfig.h.

◆ getMirrorDisplacement()

const ARICHGeoMirrorDisplacement& getMirrorDisplacement ( ) const
inline

Get mirror displacement parameters.

Returns
mirror displacement parameters

Definition at line 156 of file ARICHGeometryConfig.h.

◆ getMirrors()

const ARICHGeoMirrors& getMirrors ( ) const
inline

Get mirrors geometry configuration.

Returns
mirrors geometry parameters

Definition at line 102 of file ARICHGeometryConfig.h.

◆ getName()

const std::string& getName ( ) const
inlineinherited

Returns object name.

Returns
object name

Definition at line 49 of file ARICHGeoBase.h.

◆ getSupportStructure()

const ARICHGeoSupport& getSupportStructure ( ) const
inline

Get ARICH support structure geometry configuration.

Returns
support structure geometry parameters

Definition at line 114 of file ARICHGeometryConfig.h.

◆ isConsistent()

virtual bool isConsistent ( ) const
inlinevirtualinherited

Check for consistency of data members.

Returns
true if values consistent (valid)

Reimplemented in ARICHPositionElement, ARICHGeoSupport, ARICHGeoMirrors, ARICHGeoMasterVolume, ARICHGeoHAPD, ARICHGeoDetectorPlane, and ARICHGeoAerogelPlane.

Definition at line 55 of file ARICHGeoBase.h.

◆ printPlacement()

void printPlacement ( double  x,
double  y,
double  z,
double  rx,
double  ry,
double  rz 
) const
virtualinherited

Print volume positioning parameters.

Parameters
xx position
yy position
zz position
rxrotation around x-axis
ryrotation around y-axis
rzrotation around z-axis

Definition at line 25 of file ARICHGeoBase.cc.

◆ printSurface()

void printSurface ( const GeoOpticalSurface surface) const
virtualinherited

Print the content of optical surface.

Parameters
surfaceoptical surface parameters

Definition at line 32 of file ARICHGeoBase.cc.

◆ setAerogelPlane()

void setAerogelPlane ( const ARICHGeoAerogelPlane aerogelPlane)
inline

Set geometry configuration of aerogel plane.

Parameters
aerogelPlaneaerogel plane geometry parameters

Definition at line 163 of file ARICHGeometryConfig.h.

◆ setDetectorPlane()

void setDetectorPlane ( const ARICHGeoDetectorPlane detectorPlane)
inline

Set geometry configuration of HAPD plane.

Parameters
detectorPlanedetector plane geometry parameters

Definition at line 172 of file ARICHGeometryConfig.h.

◆ setGlobalDisplacement()

void setGlobalDisplacement ( const ARICHGeoGlobalDisplacement displ)
inline

Set global displacement parameters.

Parameters
displglobal displacement parameters

Definition at line 208 of file ARICHGeometryConfig.h.

◆ setMasterVolume()

void setMasterVolume ( const ARICHGeoMasterVolume masterVolume)
inline

Set master volume geometry configuration.

Parameters
masterVolumemaster volume geometry parameters

Definition at line 190 of file ARICHGeometryConfig.h.

◆ setMirrorDisplacement()

void setMirrorDisplacement ( const ARICHGeoMirrorDisplacement displ)
inline

Set mirror displacement parameters.

Parameters
displmirror displacement parameters

Definition at line 217 of file ARICHGeometryConfig.h.

◆ setMirrors()

void setMirrors ( const ARICHGeoMirrors mirrors)
inline

Set mirrors geometry configuration.

Parameters
mirrorsmirrors geometry parameters

Definition at line 181 of file ARICHGeometryConfig.h.

◆ setName()

void setName ( const std::string &  name)
inlineinherited

Sets object name.

Parameters
nameobject name

Definition at line 43 of file ARICHGeoBase.h.

◆ setSupportStructure()

void setSupportStructure ( const ARICHGeoSupport supportStructure)
inline

Set support structure geometry configuration.

Parameters
supportStructuresupport structure geometry parameters

Definition at line 199 of file ARICHGeometryConfig.h.


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