 |
Belle II Software
release-05-02-19
|
11 #include <framework/logging/Logger.h>
13 #include <arich/geometry/ARICHBtestGeometryPar.h>
15 #include <boost/format.hpp>
16 #include <boost/foreach.hpp>
19 using namespace boost;
27 ARICHBtestGeometryPar* ARICHBtestGeometryPar::p_B4ARICHBtestGeometryParDB = 0;
31 if (!p_B4ARICHBtestGeometryParDB) {
34 return p_B4ARICHBtestGeometryParDB;
37 ARICHBtestGeometryPar::ARICHBtestGeometryPar():
39 m_trackingShift(TVector3()),
40 m_rotationCenter(TVector3()),
41 m_frameRotation(TRotation()),
96 m_hapdmap.push_back(std::make_pair(x, y));
102 m_hapdeid.push_back(std::make_pair(x, y));
137 B2INFO(
"ARICHBtestGeometryPar::setFrameRotation=" << v);
int AddHapdElectronicMapPair(int, int)
Set the mapping of the electronic channel to the HAPD module nr and the channel number.
void setRotationCenter(const TVector3 &)
Set the rotation center of the Aerogel RICH frame.
TVector3 m_trackingShift
Tracking shift.
TRotation m_frameRotation
rotation matrix of the Aerogel RICH frame
bool m_averageAgel
flag for the reconstruction by using the average aerogel refractive index
TRotation getFrameRotation()
Get the rotation matrix of the Aerogel RICH frame.
int AddHapdChannelPositionPair(double, double)
Set the position of the HAPD channel.
ARICHBtestGeometryPar()
Constructor.
void setFrameRotation(double)
Set the rotation angle of the Aerogel RICH frame.
virtual ~ARICHBtestGeometryPar()
Destructor.
std::pair< double, double > GetHapdChannelPosition(int)
Get the position of the HAPD channel.
void setAverageAgel(bool)
Set the flag for the reconstruction by using the average aerogel refractive index.
ARICHTracking * getMwpc()
Get the pointer of the tracking MWPCs.
TVector3 getOffset()
Get the setup global offset.
void setOffset(const TVector3 &)
Set of the setup global offset.
bool getAverageAgel()
Get the flag for the reconstruction by using the average aerogel refractive index.
bool m_init
True if parametrization is already initialized.
Abstract base class for different kinds of events.
static ARICHBtestGeometryPar * p_B4ARICHBtestGeometryParDB
Pointer that saves the instance of this class.
TVector3 getRotationCenter()
Get the rotation center of the Aerogel RICH frame.
TVector3 getTrackingShift()
Get the tracking shift.
TVector3 m_offset
Global offset.
std::pair< int, int > GetHapdElectronicMap(int)
Get the mapping of the electronic channel to the HAPD module nr and the channel number.
void setMwpc(ARICHTracking *m_mwpc)
Set the pointer of the tracking MWPCs.
std::vector< std::pair< int, int > > m_hapdeid
mapping of the electronic channel to the HAPD module nr and the channel number
Beamtest ARICH Geometry Tracking Class.
TVector3 m_rotationCenter
rotation center of the Aerogel RICH frame
std::vector< std::pair< double, double > > m_hapdmap
the position of the HAPD channels
bool m_simple
True if parametrization initialized with simple geometry (beamtest)
int m_nPads
Number of detector module pads.
void setTrackingShift(const TVector3 &)
Set the tracking shift.
void Print(void) const
Print some debug information.
The Class for ARICH Beamtest Geometry Parameters.
ARICHTracking * m_mwpc
Pointer to the tracking chambers.