Belle II Software  release-05-01-25
PXDGeometryPar.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2010 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Benjamin Schwenker *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #pragma once
11 
12 #include <pxd/dbobjects/PXDSensorInfoPar.h>
13 #include <vxd/dbobjects/VXDGeometryPar.h>
14 #include <vxd/dbobjects/VXDPolyConePar.h>
15 
16 namespace Belle2 {
27  class PXDGeometryPar: public VXDGeometryPar {
28  public:
30  PXDGeometryPar() {}
32  bool getBuildSupport() const { return (m_nCutouts > 0); }
34  int getNCutOuts() const { return m_nCutouts; }
36  void setNCutOuts(int nCutouts) { m_nCutouts = nCutouts; }
38  double getCutOutWidth() const { return m_cutOutWidth; }
40  void setCutOutWidth(double width) { m_cutOutWidth = width; }
42  double getCutOutHeight() const { return m_cutOutHeight; }
44  void setCutOutHeight(double height) { m_cutOutHeight = height; }
46  double getCutOutShift() const { return m_cutOutShift; }
48  void setCutOutShift(double shift) { m_cutOutShift = shift; }
50  double getCutOutRPhi() const { return m_cutOutRphi; }
52  void setCutOutRPhi(double rphi) { m_cutOutRphi = rphi; }
54  double getCutOutStartPhi() const { return m_cutOutStartPhi; }
56  void setCutOutStartPhi(double start) { m_cutOutStartPhi = start; }
58  double getCutOutDeltaPhi() const { return m_cutOutDeltaPhi; }
60  void setCutOutDeltaPhi(double delta) { m_cutOutDeltaPhi = delta; }
61 
63  int getNTubes() const { return m_nTubes; }
65  void setNTubes(int nTubes) { m_nTubes = nTubes; }
67  double getTubesMinZ() const { return m_tubesMinZ; }
69  void setTubesMinZ(double minZ) { m_tubesMinZ = minZ; }
71  double getTubesMaxZ() const { return m_tubesMaxZ; }
73  void setTubesMaxZ(double maxZ) { m_tubesMaxZ = maxZ; }
75  double getTubesMinR() const { return m_tubesMinR; }
77  void setTubesMinR(double minR) { m_tubesMinR = minR; }
79  double getTubesMaxR() const { return m_tubesMaxR; }
81  void setTubesMaxR(double maxR) { m_tubesMaxR = maxR; }
83  double getTubesRPhi() const { return m_tubesRPhi; }
85  void setTubesRPhi(double rphi) { m_tubesRPhi = rphi; }
87  double getTubesStartPhi() const { return m_tubesStartPhi; }
89  void setTubesStartPhi(double start) { m_tubesStartPhi = start; }
91  double getTubesDeltaPhi() const { return m_tubesDeltaPhi; }
93  void setTubesDeltaPhi(double delta) { m_tubesDeltaPhi = delta; }
95  const std::string& getTubesMaterial() const { return m_tubesMaterial; }
97  void setTubesMaterial(const std::string& material) { m_tubesMaterial = material; }
99  const std::vector<VXDPolyConePar>& getEndflanges() const {return m_endflanges;}
101  std::vector<PXDSensorInfoPar*>& getSensorInfos() {return m_SensorInfo;}
103  std::vector<VXDPolyConePar>& getEndflanges() {return m_endflanges;}
104 
105  private:
106 
108  std::vector<PXDSensorInfoPar*> m_SensorInfo;
109 
111  std::vector<VXDPolyConePar> m_endflanges;
112 
114  int m_nCutouts {0};
116  double m_cutOutWidth {0};
118  double m_cutOutHeight {0};
120  double m_cutOutShift {0};
122  double m_cutOutRphi {0};
124  double m_cutOutStartPhi {0};
126  double m_cutOutDeltaPhi {0};
127 
129  int m_nTubes {0};
131  double m_tubesMinZ {0};
133  double m_tubesMaxZ {0};
135  double m_tubesMinR {0};
137  double m_tubesMaxR {0};
139  double m_tubesRPhi {0};
141  double m_tubesStartPhi {0};
143  double m_tubesDeltaPhi {0};
145  std::string m_tubesMaterial {"Carbon"};
146 
148  };
150 } // end of namespace Belle2
151 
Belle2::PXDGeometryPar::getCutOutShift
double getCutOutShift() const
get shift of cutouts
Definition: PXDGeometryPar.h:54
Belle2::PXDGeometryPar::getBuildSupport
bool getBuildSupport() const
build support
Definition: PXDGeometryPar.h:40
Belle2::PXDGeometryPar::getTubesMaxZ
double getTubesMaxZ() const
get tubes maxZ
Definition: PXDGeometryPar.h:79
Belle2::PXDGeometryPar::m_cutOutStartPhi
double m_cutOutStartPhi
Start Rphi of PXD endflange coutOuts.
Definition: PXDGeometryPar.h:132
Belle2::PXDGeometryPar::m_tubesMaxR
double m_tubesMaxR
MaxZ of PXD carbon tubes.
Definition: PXDGeometryPar.h:145
Belle2::PXDGeometryPar::m_cutOutDeltaPhi
double m_cutOutDeltaPhi
Delta Rphi of PXD endflange coutOuts.
Definition: PXDGeometryPar.h:134
Belle2::PXDGeometryPar::setTubesMinR
void setTubesMinR(double minR)
set tubes minR
Definition: PXDGeometryPar.h:85
Belle2::PXDGeometryPar::m_tubesStartPhi
double m_tubesStartPhi
Start Rphi of PXD carbon tubes.
Definition: PXDGeometryPar.h:149
Belle2::PXDGeometryPar::m_cutOutShift
double m_cutOutShift
Shift of PXD endflange coutOuts.
Definition: PXDGeometryPar.h:128
Belle2::PXDGeometryPar::setTubesMaxZ
void setTubesMaxZ(double maxZ)
set tubes maxZ
Definition: PXDGeometryPar.h:81
Belle2::PXDGeometryPar::m_tubesDeltaPhi
double m_tubesDeltaPhi
Delta Phi of PXD carbon tubes.
Definition: PXDGeometryPar.h:151
Belle2::PXDGeometryPar::getTubesMinR
double getTubesMinR() const
get tubes minR
Definition: PXDGeometryPar.h:83
Belle2::PXDGeometryPar::setTubesMaxR
void setTubesMaxR(double maxR)
set tubes maxR
Definition: PXDGeometryPar.h:89
Belle2::PXDGeometryPar::getCutOutRPhi
double getCutOutRPhi() const
get rphi of cutouts
Definition: PXDGeometryPar.h:58
Belle2::PXDGeometryPar::getTubesMaxR
double getTubesMaxR() const
get tubes maxR
Definition: PXDGeometryPar.h:87
Belle2::PXDGeometryPar::getSensorInfos
std::vector< PXDSensorInfoPar * > & getSensorInfos()
get sensorInfos
Definition: PXDGeometryPar.h:109
Belle2::PXDGeometryPar::setCutOutShift
void setCutOutShift(double shift)
set shift of cutouts
Definition: PXDGeometryPar.h:56
Belle2::PXDGeometryPar::m_tubesMinZ
double m_tubesMinZ
MinZ of PXD carbon tubes.
Definition: PXDGeometryPar.h:139
Belle2::PXDGeometryPar::m_nTubes
int m_nTubes
Number of PXD carbon tubes.
Definition: PXDGeometryPar.h:137
Belle2::PXDGeometryPar::setCutOutHeight
void setCutOutHeight(double height)
set height of cutouts
Definition: PXDGeometryPar.h:52
Belle2::PXDGeometryPar::getTubesStartPhi
double getTubesStartPhi() const
get tubes tubes StartPhi
Definition: PXDGeometryPar.h:95
Belle2::PXDGeometryPar::setCutOutStartPhi
void setCutOutStartPhi(double start)
set start phi of cutouts
Definition: PXDGeometryPar.h:64
Belle2::PXDGeometryPar::m_tubesMaxZ
double m_tubesMaxZ
MaxZ of PXD carbon tubes.
Definition: PXDGeometryPar.h:141
Belle2::PXDGeometryPar::setTubesRPhi
void setTubesRPhi(double rphi)
set tubes tubes RPhi
Definition: PXDGeometryPar.h:93
Belle2::PXDGeometryPar::getTubesMinZ
double getTubesMinZ() const
get tubes minZ
Definition: PXDGeometryPar.h:75
Belle2::PXDGeometryPar::setTubesDeltaPhi
void setTubesDeltaPhi(double delta)
set tubes tubes DeltaPhi
Definition: PXDGeometryPar.h:101
Belle2::PXDGeometryPar::getEndflanges
const std::vector< VXDPolyConePar > & getEndflanges() const
get Endflanges
Definition: PXDGeometryPar.h:107
Belle2::PXDGeometryPar::getNCutOuts
int getNCutOuts() const
get number of cutouts
Definition: PXDGeometryPar.h:42
Belle2::PXDGeometryPar
The Class for VXD geometry.
Definition: PXDGeometryPar.h:35
Belle2::PXDGeometryPar::setNCutOuts
void setNCutOuts(int nCutouts)
set number of cutouts
Definition: PXDGeometryPar.h:44
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::PXDGeometryPar::m_tubesMinR
double m_tubesMinR
MinR of PXD carbon tubes.
Definition: PXDGeometryPar.h:143
Belle2::PXDGeometryPar::getTubesMaterial
const std::string & getTubesMaterial() const
get tubes tubes material
Definition: PXDGeometryPar.h:103
Belle2::PXDGeometryPar::getCutOutWidth
double getCutOutWidth() const
get width of cutouts
Definition: PXDGeometryPar.h:46
Belle2::PXDGeometryPar::getCutOutStartPhi
double getCutOutStartPhi() const
get start phi of cutouts
Definition: PXDGeometryPar.h:62
Belle2::PXDGeometryPar::ClassDef
ClassDef(PXDGeometryPar, 5)
ClassDef, must be the last term before the closing {}.
Belle2::PXDGeometryPar::m_SensorInfo
std::vector< PXDSensorInfoPar * > m_SensorInfo
Vector of points to SensorInfo objects.
Definition: PXDGeometryPar.h:116
Belle2::PXDGeometryPar::m_cutOutRphi
double m_cutOutRphi
Rphi of PXD endflange coutOuts.
Definition: PXDGeometryPar.h:130
Belle2::PXDGeometryPar::setNTubes
void setNTubes(int nTubes)
set number of tubes
Definition: PXDGeometryPar.h:73
Belle2::PXDGeometryPar::getCutOutHeight
double getCutOutHeight() const
get height of cutouts
Definition: PXDGeometryPar.h:50
Belle2::PXDGeometryPar::m_endflanges
std::vector< VXDPolyConePar > m_endflanges
PXD Endflanges.
Definition: PXDGeometryPar.h:119
Belle2::PXDGeometryPar::setCutOutDeltaPhi
void setCutOutDeltaPhi(double delta)
set deltaphi of cutouts
Definition: PXDGeometryPar.h:68
Belle2::PXDGeometryPar::PXDGeometryPar
PXDGeometryPar()
Default constructor.
Definition: PXDGeometryPar.h:38
Belle2::PXDGeometryPar::m_tubesMaterial
std::string m_tubesMaterial
Material of PXD carbon tubes.
Definition: PXDGeometryPar.h:153
Belle2::PXDGeometryPar::getNTubes
int getNTubes() const
get number of tubes
Definition: PXDGeometryPar.h:71
Belle2::PXDGeometryPar::setCutOutWidth
void setCutOutWidth(double width)
set width of cutouts
Definition: PXDGeometryPar.h:48
Belle2::PXDGeometryPar::setTubesMaterial
void setTubesMaterial(const std::string &material)
set tubes tubes material
Definition: PXDGeometryPar.h:105
Belle2::PXDGeometryPar::m_tubesRPhi
double m_tubesRPhi
Rphi of PXD carbon tubes.
Definition: PXDGeometryPar.h:147
Belle2::PXDGeometryPar::setCutOutRPhi
void setCutOutRPhi(double rphi)
set rphi of cutouts
Definition: PXDGeometryPar.h:60
Belle2::PXDGeometryPar::getCutOutDeltaPhi
double getCutOutDeltaPhi() const
get deltaphi of cutouts
Definition: PXDGeometryPar.h:66
Belle2::PXDGeometryPar::m_cutOutHeight
double m_cutOutHeight
Height of PXD endflange coutOuts.
Definition: PXDGeometryPar.h:126
Belle2::PXDGeometryPar::getTubesRPhi
double getTubesRPhi() const
get tubes tubes RPhi
Definition: PXDGeometryPar.h:91
Belle2::PXDGeometryPar::setTubesStartPhi
void setTubesStartPhi(double start)
set tubes tubes StartPhi
Definition: PXDGeometryPar.h:97
Belle2::PXDGeometryPar::m_nCutouts
int m_nCutouts
Number of PXD endflange coutOuts.
Definition: PXDGeometryPar.h:122
Belle2::PXDGeometryPar::setTubesMinZ
void setTubesMinZ(double minZ)
set tubes minZ
Definition: PXDGeometryPar.h:77
Belle2::PXDGeometryPar::getTubesDeltaPhi
double getTubesDeltaPhi() const
get tubes tubes DeltaPhi
Definition: PXDGeometryPar.h:99
Belle2::PXDGeometryPar::m_cutOutWidth
double m_cutOutWidth
Width of PXD endflange coutOuts.
Definition: PXDGeometryPar.h:124