35 class Rib :
public TObject {
47 Rib(
int id,
double length,
double width,
double thick,
48 double rotx,
double roty,
double rotz,
49 double x,
double y,
double z,
50 int offset,
int ndiv):
153 Rib2(
int id,
double length,
double width,
double thick,
154 double width2,
double thick2,
double rotx,
double roty,
double rotz,
155 double x,
double y,
double z,
269 Rib3(
int id,
double length,
double width,
double thick,
270 double r,
double x,
double y,
double z,
271 double rx,
double ry,
double rz,
int offset,
382 Rib4(
int id,
double length,
double width,
double thick,
383 double length2,
double width2,
double thick2,
384 double x,
double y,
double z,
385 double x2,
double y2,
double z2,
int offset,
509 Rib5(
int id,
double dr,
double dz,
double width,
double thick,
double rin,
510 double x,
double y,
double z,
511 double rotx,
double roty,
double rotz,
int offset,
628 Cover(
int id,
double rmin1,
double rmin2,
629 double rmax1,
double rmax2,
630 double thick,
double z):
707 double phis,
double dphi,
708 double thick,
double z):
785 double rmax1,
double rmax2,
786 double thick,
double z):
862 Frontend(
int id,
double rmin,
double rmax,
double zfwd,
double zbwd):
927 void appendNode(
double rmin,
double rmax,
double z);
944 std::vector<double>
getZ()
const {
return m_z;}
973 double r,
double zfwd,
double zbwd,
974 double dZfwd,
double dZbwd,
975 double offset,
int nWires,
double nShifts) :
1093 double r,
double zfwd,
double zbwd):
1151 double rmin,
double rmax,
double zfwd,
double zbwd):
1222 double rmin,
double rmax,
double zfwd,
double zbwd):
1294 double rmin,
double rmax,
double zfwd,
double zbwd):
1373 double rmin,
double rmax,
double zfwd,
double zbwd)
Cover2 structure geometry parameters.
double getDphi() const
Get the maximum radius 2 of the cover2.
double m_phis
the maximum radius 1 of the cover2.
int getId() const
Get the cover2 Id.
double getPhis() const
Get the maximum radius 1 of the cover2.
double m_thick
the z-position of the cover2.
double getZ() const
Get the z-position of the cover2.
double m_dphi
the maximum radius 2 of the cover2.
double getThick() const
Get the thickness of the cover2.
double getRmax() const
Get the minimum radius 2 of the cover2.
double m_rmax
the mimnum radius 2 of the cover2.
Cover2(int id, double rmin, double rmax, double phis, double dphi, double thick, double z)
Constructor.
double m_z
the thickness of the cover2.
double getRmin() const
Get the minimum radius 1 of the cover2.
ClassDef(Cover2, 1)
Makes objects storable.
double m_rmin
the mimnum radius 1 of the cover2.
Cover structure geometry parameters.
double getRmin1() const
Get the minimum radius 1 of the cover.
double m_rmin1
the mimnum radius 1 of the cover.
double getRmax1() const
Get the maximum radius 1 of the cover.
int getId() const
Get the cover Id.
double m_rmin2
the mimnum radius 2 of the cover.
double m_thick
the z-position of the cover.
ClassDef(Cover, 1)
Makes objects storable.
Cover(int id, double rmin1, double rmin2, double rmax1, double rmax2, double thick, double z)
Constructor.
double getZ() const
Get the z-position of the cover.
double getRmin2() const
Get the minimum radius 2 of the cover.
double m_rmax2
the maximum radius 2 of the cover.
double getThick() const
Get the thickness of the cover.
double m_rmax1
the maximum radius 1 of the cover.
double m_z
the thickness of the cover.
double getRmax2() const
Get the maximum radius 2 of the cover.
Endplate layer geometry parameters.
int getILayer() const
Get ILayer.
EndPlateLayer(const std::string &name, int ilay, double rmin, double rmax, double zfwd, double zbwd)
Constructor.
ClassDef(EndPlateLayer, 1)
Makes objects storable.
double getZbwd() const
Get bwd z-position.
std::string getName() const
Get name.
EndPlateLayer()
Constructor.
double getRmax() const
Get Rmax.
~EndPlateLayer()
Destructor.
double getRmin() const
Get Rmin.
double getZfwd() const
Get fwd z-position.
Endplate geometry parameters.
void appendNew(const std::string &name, int ilay, double rmin, double rmax, double zfwd, double zbwd)
Add new endplate layer.
int getNEndPlateLayers() const
Get the number of endplate layers.
std::vector< EndPlateLayer > m_endPlateLayers
Endplate layers.
std::vector< EndPlateLayer > getEndPlateLayers() const
Get the list of endplate layers.
EndPlate(int i)
Constructor.
EndPlateLayer getEndPlateLayer(int i) const
Get i-th endplate layer.
ClassDef(EndPlate, 1)
Makes objects storable.
Field layer geometry parameters.
double getR() const
Get Radius.
double getZbwd() const
Get bwd z-position.
ClassDef(FieldLayer, 1)
Makes objects storable.
FieldLayer(int id, double r, double zfwd, double zbwd)
Constructor.
double getZfwd() const
Get fwd z-position.
Frontend layer geometry parameters.
Frontend(int id, double rmin, double rmax, double zfwd, double zbwd)
Constructor.
int getId() const
Get the frontend layer Id.
double getZbwd() const
Get the backward z-position of the frontend layer.
int m_id
Frontend layer id.
double getRmax() const
Get the maximum radius of the frontend layer.
double m_rmax
the maximum radius of the frontend layer.
ClassDef(Frontend, 1)
Makes objects storable.
double m_zfwd
the forawrd z-position of the frontend layer.
double getRmin() const
Get the minimum radius of the frontend layer.
double m_rmin
the mimnum radius of the frontend layer.
double getZfwd() const
Get the forward z-position of the frontend layer.
double m_zbwd
the forawrd z-position of the frontend layer.
Inner wall geometry parameters.
ClassDef(InnerWall, 1)
Makes objects storable.
double getZbwd() const
Get bwd z-position.
std::string getName() const
Get name.
InnerWall(const std::string &name, int id, double rmin, double rmax, double zfwd, double zbwd)
Constructor.
double getRmax() const
Get Rmax.
double getRmin() const
Get Rmin.
double getZfwd() const
Get fwd z-position.
Mother volume geometry parameters.
std::vector< double > m_z
Z-cordinates list of the mother volume.
std::vector< double > getZ() const
Get the list of the z corrdinates.
MotherVolume()
Constructor.
std::vector< double > getRmin() const
Get the list of the Rmin corrdinates.
std::vector< double > m_rmin
Rmin list of the mother volume.
ClassDef(MotherVolume, 1)
Makes objects storable.
~MotherVolume()
Destructor.
int getNNodes() const
Get the number of the mother volume nodes.
std::vector< double > m_rmax
Rmax list of the mother volume.
void appendNode(double rmin, double rmax, double z)
Append a new node.
std::vector< double > getRmax() const
Get the list of the Rmax corrdinates.
Neutron shield geometry parameters.
double getRmin1() const
Get the minimum radius 1 of the shield.
double m_rmin1
the mimnum radius 1 of the shield.
~NeutronShield()
Destructor.
double getRmax1() const
Get the maximum radius 1 of the shield.
int getId() const
Get the shield Id.
double m_rmin2
the mimnum radius 2 of the shield.
double m_thick
the z-position of the shield.
double getZ() const
Get the z-position of the shield.
double getRmin2() const
Get the minimum radius 2 of the shield.
double m_rmax2
the maximum radius 2 of the shield.
NeutronShield(int id, double rmin1, double rmin2, double rmax1, double rmax2, double thick, double z)
Constructor.
double getThick() const
Get the thickness of the shield.
double m_rmax1
the maximum radius 1 of the shield.
double m_z
the thickness of the shield.
NeutronShield()
Constructor.
double getRmax2() const
Get the maximum radius 2 of the shield.
ClassDef(NeutronShield, 1)
Makes objects storable.
Outer wall geometry parameters.
ClassDef(OuterWall, 1)
Makes objects storable.
OuterWall(const std::string &name, int id, double rmin, double rmax, double zfwd, double zbwd)
Constructor.
double getZbwd() const
Get bwd z-position.
std::string getName() const
Get name.
double getRmax() const
Get Rmax.
double getRmin() const
Get Rmin.
double getZfwd() const
Get fwd z-position.
Rib2 structure geometry parameters.
double getWidth() const
Get the width of the rib2.
double getThick2() const
Get the thickness of the rib2.
ClassDef(Rib2, 1)
Makes objects storable.
double m_rotx
rotation angle w.r.t.
double getX() const
Get the x-position of the rib2.
double m_roty
rotation angle w.r.t.
int m_ndiv
Number of division.
double getRotX() const
Get the rotation angle w.r.t x-axis of the rib2.
int getId() const
Get the rib2 Id.
double m_width2
width of the rib2.
double m_width
width of the rib2.
double m_thick2
thickness of the rib2.
double m_x
the y-position of the rib2.
double m_thick
thickness of the rib2.
Rib2(int id, double length, double width, double thick, double width2, double thick2, double rotx, double roty, double rotz, double x, double y, double z, int ndiv)
Constructor.
double getWidth2() const
Get the width of the rib2.
double getZ() const
Get the z-position of the rib2.
double getRotY() const
Get the rotation angle w.r.t y-axis of the rib2.
double getY() const
Get the y-position of the rib2.
double getThick() const
Get the thickness of the rib2.
double m_length
length of the rib2.
double m_z
the z-position of the rib2.
double m_rotz
rotation angle w.r.t.
double getRotZ() const
Get the rotation angle w.r.t z-axis of the rib2.
double m_y
the y-position of the rib2.
int getNDiv() const
Get number of division of the rib2.
double getLength() const
Get the length of the rib2.
Rib3 structure geometry parameters.
int getOffset() const
Get number of division of the rib3.
double getWidth() const
Get the width of the rib3.
double getRy() const
Get the y-position of the rib3.
Rib3(int id, double length, double width, double thick, double r, double x, double y, double z, double rx, double ry, double rz, int offset, int ndiv)
Constructor.
double getX() const
Get the x-position of the rib3.
int m_ndiv
Number of division.
int getId() const
Get the rib3 Id.
double m_ry
the y-position of the rib3.
double m_width
width of the rib3.
double getR() const
Get the width of the rib3.
double getRx() const
Get the x-position of the rib3.
double m_x
the y-position of the rib3.
double m_thick
thickness of the rib3.
double getRz() const
Get the z-position of the rib3.
double getZ() const
Get the z-position of the rib3.
int m_offset
Number of division.
double getY() const
Get the y-position of the rib3.
double getThick() const
Get the thickness of the rib3.
double m_length
length of the rib3.
double m_z
the z-position of the rib3.
double m_rz
the z-position of the rib3.
double m_y
the y-position of the rib3.
double m_r
width of the rib3.
int getNDiv() const
Get number of division of the rib3.
double m_rx
the y-position of the rib3.
double getLength() const
Get the length of the rib3.
ClassDef(Rib3, 1)
Makes objects storable.
Rib4 structure geometry parameters.
int getOffset() const
Get number of division of the rib4.
double getWidth() const
Get the width of the rib4.
double getLength2() const
Get the length of the rib4.
double getThick2() const
Get the thickness of the rib4.
double getY2() const
Get the y-position of the rib4.
double m_x2
the y-position of the rib4.
double getX() const
Get the x-position of the rib4.
int m_ndiv
Number of division.
int getId() const
Get the rib4 Id.
double m_width2
width of the rib4.
double m_width
width of the rib4.
double m_thick2
thickness of the rib4.
double m_x
the y-position of the rib4.
double m_thick
thickness of the rib4.
double getX2() const
Get the x-position of the rib4.
double m_y2
the y-position of the rib4.
Rib4(int id, double length, double width, double thick, double length2, double width2, double thick2, double x, double y, double z, double x2, double y2, double z2, int offset, int ndiv)
Constructor.
double getWidth2() const
Get the width of the rib4.
double getZ() const
Get the z-position of the rib4.
int m_offset
Number of division.
double getY() const
Get the y-position of the rib4.
double getThick() const
Get the thickness of the rib4.
double m_length
length of the rib4.
double m_z2
the z-position of the rib4.
double getZ2() const
Get the z-position of the rib4.
double m_z
the z-position of the rib4.
double m_y
the y-position of the rib4.
double m_length2
length of the rib4.
int getNDiv() const
Get number of division of the rib4.
double getLength() const
Get the length of the rib4.
ClassDef(Rib4, 1)
Makes objects storable.
Rib5 structure geometry parameters.
int getOffset() const
Get number of division of the rib5.
double getWidth() const
Get the width of the rib5.
Rib5(int id, double dr, double dz, double width, double thick, double rin, double x, double y, double z, double rotx, double roty, double rotz, int offset, int ndiv)
Constructor.
double m_rotx
the y-position of the rib5.
double m_rin
length of the rib5.
double getX() const
Get the x-position of the rib5.
double m_roty
the y-position of the rib5.
int m_ndiv
Number of division.
int getId() const
Get the rib5 Id.
double m_dz
length of the rib5.
double m_width
width of the rib5.
double m_x
the y-position of the rib5.
double m_thick
thickness of the rib5.
double m_dr
length of the rib5.
double getZ() const
Get the z-position of the rib5.
int m_offset
Number of division.
double getRotz() const
Get the z-position of the rib5.
double getY() const
Get the y-position of the rib5.
double getThick() const
Get the thickness of the rib5.
double getRin() const
Get the length of the rib5.
double getDz() const
Get the length of the rib5.
double m_z
the z-position of the rib5.
double getRotx() const
Get the x-position of the rib5.
double m_rotz
the z-position of the rib5.
double m_y
the y-position of the rib5.
ClassDef(Rib5, 1)
Makes objects storable.
double getRoty() const
Get the y-position of the rib5.
int getNDiv() const
Get number of division of the rib5.
double getDr() const
Get the length of the rib5.
Rib structure geometry parameters.
int getOffset() const
Get number of division of the rib.
double getWidth() const
Get the width of the rib.
double m_rotx
the y-position of the rib.
double getX() const
Get the x-position of the rib.
double m_roty
the y-position of the rib.
int m_ndiv
Number of division.
double getRotX() const
Get the x-position of the rib.
int getId() const
Get the rib Id.
double m_width
width of the rib.
Rib(int id, double length, double width, double thick, double rotx, double roty, double rotz, double x, double y, double z, int offset, int ndiv)
Constructor.
double m_x
the y-position of the rib.
double m_thick
thickness of the rib.
ClassDef(Rib, 2)
Makes objects storable.
double getZ() const
Get the z-position of the rib.
int m_offset
Number of division.
double getRotY() const
Get the y-position of the rib.
double getY() const
Get the y-position of the rib.
double getThick() const
Get the thickness of the rib.
double m_length
length of the rib.
double m_z
the z-position of the rib.
double m_rotz
the z-position of the rib.
double getRotZ() const
Get the z-position of the rib.
double m_y
the y-position of the rib.
int getNDiv() const
Get number of division of the rib.
double getLength() const
Get the length of the rib.
Sense layer geometry parameters.
int getNShifts() const
Get Nshifts.
void setOffset(double offset)
Set offset.
double getDZfwd() const
Get fwd dz.
void setDZfwd(double dz)
Set fwd dz.
void setNWires(int n)
Set number of wires.
double getDZbwd() const
Get bwd dz.
SenseLayer()
Default constructor.
SenseLayer(int id, double r, double zfwd, double zbwd, double dZfwd, double dZbwd, double offset, int nWires, double nShifts)
Constructor.
void setDZbwd(double dz)
Set bwd dz.
int getNWires() const
Get number of wires.
void setNShifts(int n)
Set Nshifts.
double getR() const
Get Radius.
double getZbwd() const
Get bwd z-position.
int m_nWires
Number of wires.
double getOffset() const
Get offset.
ClassDef(SenseLayer, 1)
Makes objects storable.
double getZfwd() const
Get fwd z-position.
The Class for CDC geometry.
double getGlobalOffsetY() const
Get the global y offset of CDC wrt Belle2 coord.
FieldLayer getFieldLayer(int i) const
Get the i-th field layer.
double m_globalOffsetB
Offset angle b of the whole cdc wrt B2 coord system (rad).
OuterWall getOuterWall(int i) const
Get the i-th outer wall.
ushort m_maxNSuperLayers
Maximum number of Super Layers.
std::vector< Rib2 > getRib2s() const
Get the list of rib2s.
double getFiducialRmin() const
Get the fiducial Rmin of CDC sensitive volume.
MotherVolume m_mother
CDC mother volume.
double m_globalPhiRotation
Global rotation in phi (rad).
std::vector< Rib > getRibs() const
Get the list of ribs.
int m_senseWireNumbers
Number of sense wires.
std::vector< Rib5 > m_rib5s
Rib5s.
double getGlobalOffsetX() const
Get the global x offset of CDC wrt Belle2 coord.
double m_globalOffsetZ
Offset z of the whole cdc wrt B2 coord system (cm).
int m_fieldWireNumbers
Number of field wires.
std::vector< InnerWall > getInnerWalls() const
Get the list of inner walls.
ushort getOffsetOfFirstLayer() const
Get the offset of the first layer.
~CDCGeometry()
Destructor.
std::vector< Rib5 > getRib5s() const
Get the list of rib5s.
std::vector< FieldLayer > getFieldLayers() const
Get the list of field layers.
double getFiducialRmax() const
Get the fiducial Rmax of CDC sensitive volume.
std::vector< NeutronShield > m_neutronShields
Neutron shields.
double getClockFrequency() const
Get the clock frequency.
ushort getMaxNumberOfSuperLayers() const
Get the maximum number of super layers.
ClassDef(CDCGeometry, 5)
ClassDef, must be the last term before the closing {}.
double m_globalOffsetX
Offset x of the whole cdc wrt B2 coord system (cm).
int getNFieldWires() const
Get the number of field wires.
std::vector< Rib3 > getRib3s() const
Get the list of rib3s.
std::vector< Cover2 > getCover2s() const
Get the list of covers.
int getNFrontends() const
Get the number of frontend layers.
CDCGeometry()
Default constructor.
MotherVolume getMotherVolume() const
Get the mother volume geometry of CDC.
double m_feedThroughLength
Feedthrough length (cm).
int getNSenseWires() const
Get the number of sense wires.
double getSenseDiameter() const
Get the diameter of sense wire.
ushort m_maxNSenseLayers
Maximum number of Sense Wire Layers.
std::vector< Cover2 > m_cover2s
Cover2s.
double m_senseWireDiameter
Sense wire diameter (cm).
double getGlobalOffsetB() const
Get the global offset angle b of CDC wrt Belle2 coord.
std::vector< Frontend > getFrontends() const
Get the list of frontend layers.
double getGlobalOffsetA() const
Get the global offset angle a of CDC wrt Belle2 coord.
double m_clockFrequency
Clock frequency.
InnerWall getInnerWall(int i) const
Get the i-th inner wall.
double getFieldDiameter() const
Get the diameter of field wire.
std::vector< Cover > m_covers
Covers.
ushort getMaxNumberOfCellsPerLayer() const
Get the maximum number of cells in one layer.
EndPlate getEndPlate(int i) const
Get the i-th endplate.
double m_globalOffsetY
Offset y of the whole cdc wrt B2 coord system (cm).
std::vector< EndPlate > m_endplates
Endplate.
ushort m_firstSuperLayerOffset
Offset of the first super layer (for reduced CDC studies)
ushort getNumberOfSenseLayers() const
Get the number of sense layers.
std::vector< InnerWall > m_innerWalls
Inner wall.
int getNFieldLayers() const
Get the number of field layers.
double getGlobalPhiRotation() const
Get the global phi rotation of CDC.
double getGlobalOffsetC() const
Get the global offset angle c of CDC wrt Belle2 coord.
std::vector< Rib4 > getRib4s() const
Get the list of rib4s.
double m_fiducialRmin
Minimum radius of the CDC fiducial volume.
double m_fieldWireDiameter
Field wire diameter (cm).
std::vector< OuterWall > m_outerWalls
Outer wall.
std::vector< NeutronShield > getNeutronShields() const
Get the list of neutron shields.
std::vector< Frontend > m_frontends
Electronics board.
double m_globalOffsetC
Offset angle c of the whole cdc wrt B2 coord system (rad).
std::vector< SenseLayer > m_senseLayers
Sense layer.
int getNSenseLayers() const
Get the number of sense layers.
std::vector< EndPlate > getEndPlates() const
Get the list of endplates.
double getFeedthroughLength() const
Get the length of feedthrough.
double m_fiducialRmax
Maximum radius of the CDC fiducial volume.
double getSenseTension() const
Get the tension applied to sense wire.
std::vector< SenseLayer > getSenseLayers() const
Get the list of sense layers.
std::vector< FieldLayer > m_fieldLayers
Field layer.
ushort m_maxNCellsPerLayer
Maximum number wires within a layer.
std::vector< Rib > m_ribs
Ribs.
ushort getNumberOfFieldLayers() const
Get the number of field layers.
ushort m_maxNFieldLayers
Maximum number of Field Wire Layers.
void read(const GearDir &)
Get geometry parameters from Gearbox.
int getNEndplates() const
Get the number of endplates.
std::vector< Rib4 > m_rib4s
Rib4s.
double getGlobalOffsetZ() const
Get the global z offset of CDC wrt Belle2 coord.
double m_globalOffsetA
Offset angle a of the whole cdc wrt B2 coord system (rad).
ushort m_firstLayerOffset
Offset of the first layer (for reduced CDC studies)
ushort getOffsetOfFirstSuperLayer() const
Get the offset of the first super layer.
std::vector< OuterWall > getOuterWalls() const
Get the list of outer walls.
std::vector< Cover > getCovers() const
Get the list of covers.
SenseLayer getSenseLayer(int i) const
Get i-th sense layer.
double m_nominalSpaceResolution
Nominal space resolution.
double getNominalSpaceResolution() const
Get the nominal space resolution.
double m_senseWireTension
Sense wire tension (gW).
std::vector< Rib2 > m_rib2s
Rib2s.
std::vector< Rib3 > m_rib3s
Rib3s.
GearDir is the basic class used for accessing the parameter store.
Abstract base class for different kinds of events.