Belle II Software
release-08-01-10
|
The Class for ARICH Geometry Parameters. More...
#include <ARICHGeometryConfig.h>
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 ARICHGeoDetectorPlane & | getDetectorPlane () const |
Get geometry configuration of HAPD plane. More... | |
const ARICHGeoAerogelPlane & | getAerogelPlane () const |
Get geometry configuration of aerogel plane. More... | |
const ARICHGeoMirrors & | getMirrors () const |
Get mirrors geometry configuration. More... | |
const ARICHGeoMasterVolume & | getMasterVolume () const |
Get ARICH master volume geometry configuration. More... | |
const ARICHGeoSupport & | getSupportStructure () const |
Get ARICH support structure geometry configuration. More... | |
const ARICHGeoHAPD & | getHAPDGeometry () const |
Get HAPD geometry parameters. More... | |
const ARICHGeoMerger & | getMergerGeometry () const |
Get Merger PCB geometry parameters. More... | |
const ARICHGeoCablesEnvelope & | getCablesEnvelope () const |
Get ARICH cables envelop geometry parameters. More... | |
const ARICHGeoCooling & | getCoolingGeometry () const |
Get ARICH cooling system geometry parameters. More... | |
const ARICHGeoFEBCooling & | getFEBCoolingGeometry () const |
Get ARICH FEB cooling system (v2) geometry parameters. More... | |
const ARICHGeoGlobalDisplacement & | getGlobalDisplacement () const |
Get global displacement parameters. More... | |
const ARICHGeoMirrorDisplacement & | getMirrorDisplacement () 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 | |
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.
|
inline |
Get geometry configuration of aerogel plane.
Definition at line 96 of file ARICHGeometryConfig.h.
|
inline |
Get ARICH cables envelop geometry parameters.
Definition at line 132 of file ARICHGeometryConfig.h.
TVector2 getChannelPosition | ( | unsigned | moduleID, |
unsigned | xChn, | ||
unsigned | yChn | ||
) | const |
Get position of HAPD (x,y) channel in local ARICH coordinates.
moduleID | module ID |
xChn | HAPD x channel |
yChn | HAPD y channel |
Definition at line 378 of file ARICHGeometryConfig.cc.
|
inline |
Get ARICH cooling system geometry parameters.
Definition at line 138 of file ARICHGeometryConfig.h.
|
inline |
Get geometry configuration of HAPD plane.
Definition at line 90 of file ARICHGeometryConfig.h.
|
inline |
Get ARICH FEB cooling system (v2) geometry parameters.
Definition at line 144 of file ARICHGeometryConfig.h.
|
inline |
Get global displacement parameters.
Definition at line 150 of file ARICHGeometryConfig.h.
|
inline |
Get HAPD geometry parameters.
Definition at line 120 of file ARICHGeometryConfig.h.
|
inline |
Get ARICH master volume geometry configuration.
Definition at line 108 of file ARICHGeometryConfig.h.
|
inline |
Get Merger PCB geometry parameters.
Definition at line 126 of file ARICHGeometryConfig.h.
|
inline |
Get mirror displacement parameters.
Definition at line 156 of file ARICHGeometryConfig.h.
|
inline |
Get mirrors geometry configuration.
Definition at line 102 of file ARICHGeometryConfig.h.
|
inlineinherited |
|
inline |
Get ARICH support structure geometry configuration.
Definition at line 114 of file ARICHGeometryConfig.h.
|
inlinevirtualinherited |
Check for consistency of data members.
Reimplemented in ARICHPositionElement, ARICHGeoSupport, ARICHGeoMirrors, ARICHGeoMasterVolume, ARICHGeoHAPD, ARICHGeoDetectorPlane, and ARICHGeoAerogelPlane.
Definition at line 55 of file ARICHGeoBase.h.
|
virtualinherited |
Print volume positioning parameters.
x | x position |
y | y position |
z | z position |
rx | rotation around x-axis |
ry | rotation around y-axis |
rz | rotation around z-axis |
Definition at line 25 of file ARICHGeoBase.cc.
|
virtualinherited |
Print the content of optical surface.
surface | optical surface parameters |
Definition at line 32 of file ARICHGeoBase.cc.
|
inline |
Set geometry configuration of aerogel plane.
aerogelPlane | aerogel plane geometry parameters |
Definition at line 163 of file ARICHGeometryConfig.h.
|
inline |
Set geometry configuration of HAPD plane.
detectorPlane | detector plane geometry parameters |
Definition at line 172 of file ARICHGeometryConfig.h.
|
inline |
Set global displacement parameters.
displ | global displacement parameters |
Definition at line 208 of file ARICHGeometryConfig.h.
|
inline |
Set master volume geometry configuration.
masterVolume | master volume geometry parameters |
Definition at line 190 of file ARICHGeometryConfig.h.
|
inline |
Set mirror displacement parameters.
displ | mirror displacement parameters |
Definition at line 217 of file ARICHGeometryConfig.h.
|
inline |
Set mirrors geometry configuration.
mirrors | mirrors geometry parameters |
Definition at line 181 of file ARICHGeometryConfig.h.
|
inlineinherited |
|
inline |
Set support structure geometry configuration.
supportStructure | support structure geometry parameters |
Definition at line 199 of file ARICHGeometryConfig.h.