Belle II Software development
SVDGeometryPar.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 <svd/dbobjects/SVDSensorInfoPar.h>
11#include <vxd/dbobjects/VXDGeometryPar.h>
12
13#include <svd/dbobjects/SVDCoolingPipesPar.h>
14#include <svd/dbobjects/SVDSupportRibsPar.h>
15#include <svd/dbobjects/SVDEndringsPar.h>
16#include <vxd/dbobjects/VXDRotationSolidPar.h>
17
18
19namespace Belle2 {
30
31 public:
34
36 const std::vector<VXDRotationSolidPar>& getRotationSolids() const {return m_halfShell;}
37
39 std::vector<VXDRotationSolidPar>& getRotationSolids() {return m_halfShell;}
40
42 const std::map<int, SVDEndringsPar>& getEndrings() const {return m_endrings;}
43
45 std::map<int, SVDEndringsPar>& getEndrings() {return m_endrings;}
46
48 const std::map<int, SVDCoolingPipesPar>& getCoolingPipes() const {return m_coolingPipes;}
49
51 std::map<int, SVDCoolingPipesPar>& getCoolingPipes() {return m_coolingPipes;}
52
54 const std::map<int, SVDSupportRibsPar>& getSupportRibs() const {return m_supportRibs;}
55
57 std::map<int, SVDSupportRibsPar>& getSupportRibs() {return m_supportRibs;}
58
60 const SVDSupportRibsPar& getSupportRibs(int) const;
61
63 const SVDEndringsPar& getEndrings(int) const;
64
66 const SVDCoolingPipesPar& getCoolingPipes(int) const;
67
69 bool getSupportRibsExist(int) const;
70
72 bool getEndringsExist(int) const;
73
75 bool getCoolingPipesExist(int) const;
76
78 std::vector<SVDSensorInfoPar*>& getSensorInfos() {return m_SensorInfo;}
79
80 private:
81
83 std::vector<SVDSensorInfoPar*> m_SensorInfo;
84
86 std::vector<VXDRotationSolidPar> m_halfShell;
87
89 std::map<int, SVDEndringsPar> m_endrings;
90
92 std::map<int, SVDCoolingPipesPar> m_coolingPipes;
93
95 std::map<int, SVDSupportRibsPar> m_supportRibs;
96
98 };
100} // end of namespace Belle2
101
The Class for SVD Cooling Pipes.
The Class for SVD Endring.
The Class for VXD geometry.
std::map< int, SVDCoolingPipesPar > m_coolingPipes
SVD Cooling Pipes parameters.
bool getEndringsExist(int) const
return if endrings exist
const std::map< int, SVDSupportRibsPar > & getSupportRibs() const
get support ribs
const std::map< int, SVDCoolingPipesPar > & getCoolingPipes() const
get cooling pipes
ClassDef(SVDGeometryPar, 5)
ClassDef, must be the last term before the closing {}.
bool getSupportRibsExist(int) const
return if SVD Support Ribs exist
std::map< int, SVDSupportRibsPar > m_supportRibs
SVD SupportRibs parameters.
std::vector< VXDRotationSolidPar > & getRotationSolids()
get SVD halfshell Rotation Solids
bool getCoolingPipesExist(int) const
return if endrings exist
std::vector< SVDSensorInfoPar * > & getSensorInfos()
get sensorInfos
std::vector< VXDRotationSolidPar > m_halfShell
SVD Half Shell parameters.
const std::vector< VXDRotationSolidPar > & getRotationSolids() const
get SVD halfshell Rotation Solids
std::map< int, SVDEndringsPar > & getEndrings()
get endrings
const std::map< int, SVDEndringsPar > & getEndrings() const
get endrings
std::map< int, SVDSupportRibsPar > & getSupportRibs()
get support ribs
std::map< int, SVDEndringsPar > m_endrings
SVD Endrings parameters.
std::map< int, SVDCoolingPipesPar > & getCoolingPipes()
get cooling pipes
SVDGeometryPar()
Default constructor.
std::vector< SVDSensorInfoPar * > m_SensorInfo
Vector of pointers to SensorInfo objects.
The Class for SVD Support Ribs (one layer)
The Class for VXD geometry.
Abstract base class for different kinds of events.