Belle II Software  release-06-02-00
PXDGeometryPar.h
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 #pragma once
9 
10 #include <pxd/dbobjects/PXDSensorInfoPar.h>
11 #include <vxd/dbobjects/VXDGeometryPar.h>
12 #include <vxd/dbobjects/VXDPolyConePar.h>
13 
14 namespace Belle2 {
26  public:
30  bool getBuildSupport() const { return (m_nCutouts > 0); }
32  int getNCutOuts() const { return m_nCutouts; }
34  void setNCutOuts(int nCutouts) { m_nCutouts = nCutouts; }
36  double getCutOutWidth() const { return m_cutOutWidth; }
38  void setCutOutWidth(double width) { m_cutOutWidth = width; }
40  double getCutOutHeight() const { return m_cutOutHeight; }
42  void setCutOutHeight(double height) { m_cutOutHeight = height; }
44  double getCutOutShift() const { return m_cutOutShift; }
46  void setCutOutShift(double shift) { m_cutOutShift = shift; }
48  double getCutOutRPhi() const { return m_cutOutRphi; }
50  void setCutOutRPhi(double rphi) { m_cutOutRphi = rphi; }
52  double getCutOutStartPhi() const { return m_cutOutStartPhi; }
54  void setCutOutStartPhi(double start) { m_cutOutStartPhi = start; }
56  double getCutOutDeltaPhi() const { return m_cutOutDeltaPhi; }
58  void setCutOutDeltaPhi(double delta) { m_cutOutDeltaPhi = delta; }
59 
61  int getNTubes() const { return m_nTubes; }
63  void setNTubes(int nTubes) { m_nTubes = nTubes; }
65  double getTubesMinZ() const { return m_tubesMinZ; }
67  void setTubesMinZ(double minZ) { m_tubesMinZ = minZ; }
69  double getTubesMaxZ() const { return m_tubesMaxZ; }
71  void setTubesMaxZ(double maxZ) { m_tubesMaxZ = maxZ; }
73  double getTubesMinR() const { return m_tubesMinR; }
75  void setTubesMinR(double minR) { m_tubesMinR = minR; }
77  double getTubesMaxR() const { return m_tubesMaxR; }
79  void setTubesMaxR(double maxR) { m_tubesMaxR = maxR; }
81  double getTubesRPhi() const { return m_tubesRPhi; }
83  void setTubesRPhi(double rphi) { m_tubesRPhi = rphi; }
85  double getTubesStartPhi() const { return m_tubesStartPhi; }
87  void setTubesStartPhi(double start) { m_tubesStartPhi = start; }
89  double getTubesDeltaPhi() const { return m_tubesDeltaPhi; }
91  void setTubesDeltaPhi(double delta) { m_tubesDeltaPhi = delta; }
93  const std::string& getTubesMaterial() const { return m_tubesMaterial; }
95  void setTubesMaterial(const std::string& material) { m_tubesMaterial = material; }
97  const std::vector<VXDPolyConePar>& getEndflanges() const {return m_endflanges;}
99  std::vector<PXDSensorInfoPar*>& getSensorInfos() {return m_SensorInfo;}
101  std::vector<VXDPolyConePar>& getEndflanges() {return m_endflanges;}
102 
103  private:
104 
106  std::vector<PXDSensorInfoPar*> m_SensorInfo;
107 
109  std::vector<VXDPolyConePar> m_endflanges;
110 
112  int m_nCutouts {0};
114  double m_cutOutWidth {0};
116  double m_cutOutHeight {0};
118  double m_cutOutShift {0};
120  double m_cutOutRphi {0};
122  double m_cutOutStartPhi {0};
124  double m_cutOutDeltaPhi {0};
125 
127  int m_nTubes {0};
129  double m_tubesMinZ {0};
131  double m_tubesMaxZ {0};
133  double m_tubesMinR {0};
135  double m_tubesMaxR {0};
137  double m_tubesRPhi {0};
139  double m_tubesStartPhi {0};
141  double m_tubesDeltaPhi {0};
143  std::string m_tubesMaterial {"Carbon"};
144 
146  };
148 } // end of namespace Belle2
149 
The Class for VXD geometry.
void setNTubes(int nTubes)
set number of tubes
double getTubesMaxZ() const
get tubes maxZ
double getCutOutShift() const
get shift of cutouts
std::vector< VXDPolyConePar > & getEndflanges()
get Endflanges
double m_cutOutStartPhi
Start Rphi of PXD endflange coutOuts.
PXDGeometryPar()
Default constructor.
void setTubesRPhi(double rphi)
set tubes tubes RPhi
double getTubesMinZ() const
get tubes minZ
void setTubesMaxR(double maxR)
set tubes maxR
ClassDef(PXDGeometryPar, 5)
ClassDef, must be the last term before the closing {}.
double getTubesStartPhi() const
get tubes tubes StartPhi
void setNCutOuts(int nCutouts)
set number of cutouts
double m_cutOutWidth
Width of PXD endflange coutOuts.
double m_tubesMaxR
MaxZ of PXD carbon tubes.
double getCutOutDeltaPhi() const
get deltaphi of cutouts
const std::vector< VXDPolyConePar > & getEndflanges() const
get Endflanges
void setCutOutShift(double shift)
set shift of cutouts
int m_nCutouts
Number of PXD endflange coutOuts.
double getTubesMaxR() const
get tubes maxR
std::vector< VXDPolyConePar > m_endflanges
PXD Endflanges.
int m_nTubes
Number of PXD carbon tubes.
double getTubesRPhi() const
get tubes tubes RPhi
double getCutOutWidth() const
get width of cutouts
std::vector< PXDSensorInfoPar * > & getSensorInfos()
get sensorInfos
double m_cutOutRphi
Rphi of PXD endflange coutOuts.
double getCutOutRPhi() const
get rphi of cutouts
void setCutOutWidth(double width)
set width of cutouts
void setTubesMinZ(double minZ)
set tubes minZ
double m_tubesStartPhi
Start Rphi of PXD carbon tubes.
double getCutOutStartPhi() const
get start phi of cutouts
void setCutOutHeight(double height)
set height of cutouts
double m_tubesMinZ
MinZ of PXD carbon tubes.
double m_cutOutDeltaPhi
Delta Rphi of PXD endflange coutOuts.
double m_tubesMaxZ
MaxZ of PXD carbon tubes.
void setCutOutDeltaPhi(double delta)
set deltaphi of cutouts
double getTubesDeltaPhi() const
get tubes tubes DeltaPhi
void setTubesDeltaPhi(double delta)
set tubes tubes DeltaPhi
double m_tubesDeltaPhi
Delta Phi of PXD carbon tubes.
double m_cutOutShift
Shift of PXD endflange coutOuts.
std::string m_tubesMaterial
Material of PXD carbon tubes.
double m_tubesMinR
MinR of PXD carbon tubes.
void setTubesMaxZ(double maxZ)
set tubes maxZ
bool getBuildSupport() const
build support
std::vector< PXDSensorInfoPar * > m_SensorInfo
Vector of points to SensorInfo objects.
const std::string & getTubesMaterial() const
get tubes tubes material
int getNTubes() const
get number of tubes
double m_cutOutHeight
Height of PXD endflange coutOuts.
void setTubesMinR(double minR)
set tubes minR
void setCutOutStartPhi(double start)
set start phi of cutouts
void setCutOutRPhi(double rphi)
set rphi of cutouts
void setTubesStartPhi(double start)
set tubes tubes StartPhi
double m_tubesRPhi
Rphi of PXD carbon tubes.
int getNCutOuts() const
get number of cutouts
double getTubesMinR() const
get tubes minR
void setTubesMaterial(const std::string &material)
set tubes tubes material
double getCutOutHeight() const
get height of cutouts
The Class for VXD geometry.
Abstract base class for different kinds of events.