9#include <framework/logging/Logger.h>
11#include <arich/geometry/ARICHBtestGeometryPar.h>
13#include <Math/RotationY.h>
15#include <boost/format.hpp>
16#include <boost/foreach.hpp>
39 m_trackingShift(ROOT::Math::XYZVector()),
40 m_rotationCenter(ROOT::Math::XYZVector()),
41 m_frameRotation(ROOT::Math::Rotation3D()),
52 m_trackingShift(arichPar.m_trackingShift),
53 m_rotationCenter(arichPar.m_rotationCenter),
54 m_frameRotation(arichPar.m_frameRotation),
55 m_hapdmap(arichPar.m_hapdmap),
56 m_hapdeid(arichPar.m_hapdeid)
95 m_hapdmap.push_back(std::make_pair(x, y));
101 m_hapdeid.push_back(std::make_pair(x, y));
135 B2INFO(
"ARICHBtestGeometryPar::setFrameRotation=" << v);
The Class for ARICH Beamtest Geometry Parameters.
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
ARICHTracking * m_mwpc
Pointer to the tracking chambers.
std::vector< std::pair< int, int > > m_hapdeid
mapping of the electronic channel to the HAPD module nr and the channel number
bool m_simple
True if parametrization initialized with simple geometry (beamtest)
bool m_init
True if parametrization is already initialized.
int m_nPads
Number of detector module pads.
std::vector< std::pair< double, double > > m_hapdmap
the position of the HAPD channels
ROOT::Math::XYZVector m_offset
Global offset.
bool m_averageAgel
flag for the reconstruction by using the average aerogel refractive index
Beamtest ARICH Geometry Tracking Class.
void setOffset(const ROOT::Math::XYZVector &)
Set of the setup global offset.
ARICHBtestGeometryPar()
Constructor.
int AddHapdElectronicMapPair(int, int)
Set the mapping of the electronic channel to the HAPD module nr and the channel number.
void setRotationCenter(const ROOT::Math::XYZVector &)
Set the rotation center of the Aerogel RICH frame.
std::pair< double, double > GetHapdChannelPosition(int)
Get the position of the HAPD channel.
ROOT::Math::XYZVector getRotationCenter()
Get the rotation center of the Aerogel RICH frame.
void setTrackingShift(const ROOT::Math::XYZVector &)
Set the tracking shift.
ROOT::Math::Rotation3D getFrameRotation()
Get the rotation matrix of the Aerogel RICH frame.
std::pair< int, int > GetHapdElectronicMap(int)
Get the mapping of the electronic channel to the HAPD module nr and the channel number.
bool getAverageAgel()
Get the flag for the reconstruction by using the average aerogel refractive index.
void setFrameRotation(double)
Set the rotation angle of the Aerogel RICH frame.
void setMwpc(ARICHTracking *m_mwpc)
Set the pointer of the tracking MWPCs.
static ARICHBtestGeometryPar * Instance()
Static method to get a reference to the ARICHBtestGeometryPar instance.
void Print(void) const
Print some debug information.
static ARICHBtestGeometryPar * p_B4ARICHBtestGeometryParDB
Pointer that saves the instance of this class.
virtual ~ARICHBtestGeometryPar()
Destructor.
void setAverageAgel(bool)
Set the flag for the reconstruction by using the average aerogel refractive index.
ROOT::Math::XYZVector getTrackingShift()
Get the tracking shift.
int AddHapdChannelPositionPair(double, double)
Set the position of the HAPD channel.
ARICHTracking * getMwpc()
Get the pointer of the tracking MWPCs.
ROOT::Math::XYZVector getOffset()
Get the setup global offset.
Abstract base class for different kinds of events.