11 #include <framework/gearbox/GearDir.h>
13 #include <arich/dbobjects/ARICHGeoHAPD.h>
14 #include <arich/dbobjects/ARICHGeoMerger.h>
15 #include <arich/dbobjects/ARICHGeoCablesEnvelope.h>
16 #include <arich/dbobjects/ARICHGeoCooling.h>
17 #include <arich/dbobjects/ARICHGeoFEBCooling.h>
18 #include <arich/dbobjects/ARICHGeoDetectorPlane.h>
19 #include <arich/dbobjects/ARICHGeoAerogelPlane.h>
20 #include <arich/dbobjects/ARICHGeoMirrors.h>
21 #include <arich/dbobjects/ARICHGeoMasterVolume.h>
22 #include <arich/dbobjects/ARICHGeoSupport.h>
23 #include <arich/dbobjects/ARICHGeoGlobalDisplacement.h>
24 #include <arich/dbobjects/ARICHGeoMirrorDisplacement.h>
26 #define MAX_N_ALAYERS 5
54 void print(
const std::string& title =
"ARICH geometry parameters")
const;
222 void setUseGlobalDisplacement(
bool use)
227 void setUseMirrorDisplacement(
bool use)
232 bool useGlobalDisplacement()
const
237 bool useMirrorDisplacement()
const
Geometry parameters of HAPD.
Base class for geometry parameters.
static double s_unit
conversion unit for length
static std::string s_unitName
conversion unit name
Geometry parameters of cable envelope.
Geometry parameters of Cooling System.
Geometry parameters of ARICH photon detector plane.
TVector3 getPosition() const
Get center point.
Geometry parameters of Cooling System - version2 (v2).
Global displacement parameters for ARICH.
Geometry parameters of HAPD.
double getModuleSizeZ() const
Returns module size in z (HAPD + FEB height)
Geometry parameters of ARICH Master volume (envelope)
Geometry parameters of Merger PCB.
Mirror displacement parameters for ARICH.
Geometry parameters of HAPD.
Geometry parameters of ARICH support structures and neutron shield.
The Class for ARICH Geometry Parameters.
const ARICHGeoMirrorDisplacement & getMirrorDisplacement() const
Get mirror displacement parameters.
ARICHGeoSupport m_supportStructure
support structure geometry configuration
void setMirrorDisplacement(const ARICHGeoMirrorDisplacement &displ)
Set mirror displacement parameters.
ClassDef(ARICHGeometryConfig, 5)
ClassDef, must be the last term before the closing {}.
bool m_displaceGlobal
use global displacement parameters
const ARICHGeoCooling & getCoolingGeometry() const
Get ARICH cooling system geometry parameters.
const ARICHGeoMirrors & getMirrors() const
Get mirrors geometry configuration.
ARICHGeoMasterVolume m_masterVolume
master volume geometry configuration
const ARICHGeoCablesEnvelope & getCablesEnvelope() const
Get ARICH cables envelop geometry parameters.
ARICHGeoGlobalDisplacement m_globalDispl
global displacement parameters
static void useGeantUnits()
Use Geant4 units when returning geometry parameters.
ARICHGeoMirrors m_mirrors
mirrors geometry configuration
void setAerogelPlane(const ARICHGeoAerogelPlane &aerogelPlane)
Set geometry configuration of aerogel plane.
bool m_displaceMirrors
use mirror displacement parameters
const ARICHGeoHAPD & getHAPDGeometry() const
Get HAPD geometry parameters.
const ARICHGeoGlobalDisplacement & getGlobalDisplacement() const
Get global displacement parameters.
const ARICHGeoFEBCooling & getFEBCoolingGeometry() const
Get ARICH FEB cooling system (v2) geometry parameters.
ARICHGeoFEBCooling m_coolingv2
ARICH cooling system (v2) geometry configuration.
ARICHGeoCablesEnvelope m_cablesenvelope
ARICH cables envelop geometry configuration.
const ARICHGeoMerger & getMergerGeometry() const
Get Merger PCB geometry parameters.
void setMasterVolume(const ARICHGeoMasterVolume &masterVolume)
Set master volume geometry configuration.
ARICHGeoAerogelPlane m_aerogelPlane
aerogel plane geometry configuration
void read(const GearDir &content)
gets geometry parameters from gearbox.
const ARICHGeoAerogelPlane & getAerogelPlane() const
Get geometry configuration of aerogel plane.
ARICHGeoDetectorPlane m_detectorPlane
detector plane geometry configuration
const ARICHGeoSupport & getSupportStructure() const
Get ARICH support structure geometry configuration.
ARICHGeometryConfig()
Default constructor.
ARICHGeoCooling m_cooling
ARICH cooling system geometry configuration.
static void useBasf2Units()
Use basf2 units when returning geometry parameters.
const ARICHGeoDetectorPlane & getDetectorPlane() const
Get geometry configuration of HAPD plane.
ARICHGeoMerger m_merger
Merger PCB geometry configuration.
void setDetectorPlane(const ARICHGeoDetectorPlane &detectorPlane)
Set geometry configuration of HAPD plane.
ARICHGeoHAPD m_hapd
HAPD geometry configuration.
void setGlobalDisplacement(const ARICHGeoGlobalDisplacement &displ)
Set global displacement parameters.
int m_bbstudy
is beam background study
TVector2 getChannelPosition(unsigned moduleID, unsigned xChn, unsigned yChn) const
Get position of HAPD (x,y) channel in local ARICH coordinates.
void print(const std::string &title="ARICH geometry parameters") const
Print some debug information.
ARICHGeoMirrorDisplacement m_mirrorDispl
mirror displacement parameters
const ARICHGeoMasterVolume & getMasterVolume() const
Get ARICH master volume geometry configuration.
void setMirrors(const ARICHGeoMirrors &mirrors)
Set mirrors geometry configuration.
void modulesPosition(const GearDir &content)
initializes the positions of HAPD modules, with the parameters from xml.
void setSupportStructure(const ARICHGeoSupport &supportStructure)
Set support structure geometry configuration.
GearDir is the basic class used for accessing the parameter store.
static const double mm
[millimeters]
static const double cm
Standard units with the value = 1.
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,...
Abstract base class for different kinds of events.