Belle II Software development
ARICHBtestGeometryPar Class Reference

The Class for ARICH Beamtest Geometry Parameters. More...

#include <ARICHBtestGeometryPar.h>

Public Member Functions

 ARICHBtestGeometryPar ()
 Constructor.
 
 ARICHBtestGeometryPar (const ARICHBtestGeometryPar &arichPar)
 copy constructor
 
virtual ~ARICHBtestGeometryPar ()
 Destructor.
 
ARICHBtestGeometryParoperator= (const ARICHBtestGeometryPar &)=delete
 Operator = (disabled)
 
void Initialize (const GearDir &content)
 calculates detector parameters needed for geometry build and reconstruction.
 
void Initialize (const GearDir &modulecontent, const GearDir &mirrorcontent)
 calculates detector parameters needed for geometry build and reconstruction.
 
void clear (void)
 Clears.
 
void Print (void) const
 Print some debug information.
 
void read (const GearDir &content)
 gets geometry parameters from gearbox.
 
void setTrackingShift (const ROOT::Math::XYZVector &)
 Set the tracking shift.
 
ROOT::Math::XYZVector getTrackingShift ()
 Get the tracking shift.
 
void setRotationCenter (const ROOT::Math::XYZVector &)
 Set the rotation center of the Aerogel RICH frame.
 
ROOT::Math::XYZVector getRotationCenter ()
 Get the rotation center of the Aerogel RICH frame.
 
void setFrameRotation (double)
 Set the rotation angle of the Aerogel RICH frame.
 
ROOT::Math::Rotation3D getFrameRotation ()
 Get the rotation matrix of the Aerogel RICH frame.
 
void setAverageAgel (bool)
 Set the flag for the reconstruction by using the average aerogel refractive index.
 
bool getAverageAgel ()
 Get the flag for the reconstruction by using the average aerogel refractive index.
 
void setMwpc (ARICHTracking *m_mwpc)
 Set the pointer of the tracking MWPCs.
 
ARICHTrackinggetMwpc ()
 Get the pointer of the tracking MWPCs.
 
std::pair< double, double > GetHapdChannelPosition (int)
 Get the position of the HAPD channel.
 
std::pair< int, int > GetHapdElectronicMap (int)
 Get the mapping of the electronic channel to the HAPD module nr and the channel number.
 
int AddHapdChannelPositionPair (double, double)
 Set the position of the HAPD channel.
 
int AddHapdElectronicMapPair (int, int)
 Set the mapping of the electronic channel to the HAPD module nr and the channel number.
 
void setOffset (const ROOT::Math::XYZVector &)
 Set of the setup global offset.
 
ROOT::Math::XYZVector getOffset ()
 Get the setup global offset.
 

Static Public Member Functions

static ARICHBtestGeometryParInstance ()
 Static method to get a reference to the ARICHBtestGeometryPar instance.
 

Private Attributes

ARICHTrackingm_mwpc
 Pointer to the tracking chambers.
 
ROOT::Math::XYZVector m_offset
 Global offset.
 
ROOT::Math::XYZVector m_trackingShift
 Tracking shift.
 
ROOT::Math::XYZVector m_rotationCenter
 rotation center of the Aerogel RICH frame
 
ROOT::Math::Rotation3D m_frameRotation
 rotation matrix of the Aerogel RICH frame
 
bool m_averageAgel
 flag for the reconstruction by using the average aerogel refractive index
 
std::vector< std::pair< double, double > > m_hapdmap
 the position of the HAPD channels
 
std::vector< std::pair< int, int > > m_hapdeid
 mapping of the electronic channel to the HAPD module nr and the channel number
 
int m_nPads
 Number of detector module pads.
 
bool m_init
 True if parametrization is already initialized.
 
bool m_simple
 True if parametrization initialized with simple geometry (beamtest)
 

Static Private Attributes

static ARICHBtestGeometryParp_B4ARICHBtestGeometryParDB = 0
 Pointer that saves the instance of this class.
 

Detailed Description

The Class for ARICH Beamtest Geometry Parameters.

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

Definition at line 99 of file ARICHBtestGeometryPar.h.

Member Data Documentation

◆ m_averageAgel

bool m_averageAgel
private

flag for the reconstruction by using the average aerogel refractive index

Definition at line 183 of file ARICHBtestGeometryPar.h.

◆ m_frameRotation

ROOT::Math::Rotation3D m_frameRotation
private

rotation matrix of the Aerogel RICH frame

Definition at line 181 of file ARICHBtestGeometryPar.h.

◆ m_hapdeid

std::vector< std::pair<int, int> > m_hapdeid
private

mapping of the electronic channel to the HAPD module nr and the channel number

Definition at line 187 of file ARICHBtestGeometryPar.h.

◆ m_hapdmap

std::vector< std::pair<double, double> > m_hapdmap
private

the position of the HAPD channels

Definition at line 185 of file ARICHBtestGeometryPar.h.

◆ m_init

bool m_init
private

True if parametrization is already initialized.

Definition at line 191 of file ARICHBtestGeometryPar.h.

◆ m_mwpc

ARICHTracking* m_mwpc
private

Pointer to the tracking chambers.

Definition at line 173 of file ARICHBtestGeometryPar.h.

◆ m_nPads

int m_nPads
private

Number of detector module pads.

Definition at line 189 of file ARICHBtestGeometryPar.h.

◆ m_offset

ROOT::Math::XYZVector m_offset
private

Global offset.

Definition at line 175 of file ARICHBtestGeometryPar.h.

◆ m_rotationCenter

ROOT::Math::XYZVector m_rotationCenter
private

rotation center of the Aerogel RICH frame

Definition at line 179 of file ARICHBtestGeometryPar.h.

◆ m_simple

bool m_simple
private

True if parametrization initialized with simple geometry (beamtest)

Definition at line 192 of file ARICHBtestGeometryPar.h.

◆ m_trackingShift

ROOT::Math::XYZVector m_trackingShift
private

Tracking shift.

Definition at line 177 of file ARICHBtestGeometryPar.h.


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