Belle II Software  release-05-02-19
SVDGeometryPar.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 <svd/dbobjects/SVDSensorInfoPar.h>
13 #include <vxd/dbobjects/VXDGeometryPar.h>
14 
15 #include <svd/dbobjects/SVDCoolingPipesPar.h>
16 #include <svd/dbobjects/SVDSupportRibsPar.h>
17 #include <svd/dbobjects/SVDEndringsPar.h>
18 #include <vxd/dbobjects/VXDRotationSolidPar.h>
19 
20 
21 namespace Belle2 {
31  class SVDGeometryPar: public VXDGeometryPar {
32 
33  public:
35  SVDGeometryPar() {}
36 
38  const std::vector<VXDRotationSolidPar>& getRotationSolids() const {return m_halfShell;}
39 
41  std::vector<VXDRotationSolidPar>& getRotationSolids() {return m_halfShell;}
42 
44  const std::map<int, SVDEndringsPar>& getEndrings() const {return m_endrings;}
45 
47  std::map<int, SVDEndringsPar>& getEndrings() {return m_endrings;}
48 
50  const std::map<int, SVDCoolingPipesPar>& getCoolingPipes() const {return m_coolingPipes;}
51 
53  std::map<int, SVDCoolingPipesPar>& getCoolingPipes() {return m_coolingPipes;}
54 
56  const std::map<int, SVDSupportRibsPar>& getSupportRibs() const {return m_supportRibs;}
57 
59  std::map<int, SVDSupportRibsPar>& getSupportRibs() {return m_supportRibs;}
60 
62  const SVDSupportRibsPar& getSupportRibs(int) const;
63 
65  const SVDEndringsPar& getEndrings(int) const;
66 
68  const SVDCoolingPipesPar& getCoolingPipes(int) const;
69 
71  bool getSupportRibsExist(int) const;
72 
74  bool getEndringsExist(int) const;
75 
77  bool getCoolingPipesExist(int) const;
78 
80  std::vector<SVDSensorInfoPar*>& getSensorInfos() {return m_SensorInfo;}
81 
82  private:
83 
85  std::vector<SVDSensorInfoPar*> m_SensorInfo;
86 
88  std::vector<VXDRotationSolidPar> m_halfShell;
89 
91  std::map<int, SVDEndringsPar> m_endrings;
92 
94  std::map<int, SVDCoolingPipesPar> m_coolingPipes;
95 
97  std::map<int, SVDSupportRibsPar> m_supportRibs;
98 
100  };
102 } // end of namespace Belle2
103 
Belle2::SVDGeometryPar::m_supportRibs
std::map< int, SVDSupportRibsPar > m_supportRibs
SVD SupportRibs parameters.
Definition: SVDGeometryPar.h:105
Belle2::SVDGeometryPar::getCoolingPipesExist
bool getCoolingPipesExist(int) const
return if endrings exist
Definition: SVDGeometryPar.cc:38
Belle2::SVDGeometryPar
The Class for VXD geometry.
Definition: SVDGeometryPar.h:39
Belle2::SVDGeometryPar::m_endrings
std::map< int, SVDEndringsPar > m_endrings
SVD Endrings parameters.
Definition: SVDGeometryPar.h:99
Belle2::SVDGeometryPar::m_halfShell
std::vector< VXDRotationSolidPar > m_halfShell
SVD Half Shell parameters.
Definition: SVDGeometryPar.h:96
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::SVDGeometryPar::getCoolingPipes
const std::map< int, SVDCoolingPipesPar > & getCoolingPipes() const
get cooling pipes
Definition: SVDGeometryPar.h:58
Belle2::SVDGeometryPar::SVDGeometryPar
SVDGeometryPar()
Default constructor.
Definition: SVDGeometryPar.h:43
Belle2::SVDGeometryPar::getRotationSolids
const std::vector< VXDRotationSolidPar > & getRotationSolids() const
get SVD halfshell Rotation Solids
Definition: SVDGeometryPar.h:46
Belle2::SVDGeometryPar::m_SensorInfo
std::vector< SVDSensorInfoPar * > m_SensorInfo
Vector of pointers to SensorInfo objects.
Definition: SVDGeometryPar.h:93
Belle2::SVDGeometryPar::getEndrings
const std::map< int, SVDEndringsPar > & getEndrings() const
get endrings
Definition: SVDGeometryPar.h:52
Belle2::SVDGeometryPar::getSensorInfos
std::vector< SVDSensorInfoPar * > & getSensorInfos()
get sensorInfos
Definition: SVDGeometryPar.h:88
Belle2::SVDGeometryPar::m_coolingPipes
std::map< int, SVDCoolingPipesPar > m_coolingPipes
SVD Cooling Pipes parameters.
Definition: SVDGeometryPar.h:102
Belle2::SVDGeometryPar::getEndringsExist
bool getEndringsExist(int) const
return if endrings exist
Definition: SVDGeometryPar.cc:28
Belle2::SVDGeometryPar::getSupportRibsExist
bool getSupportRibsExist(int) const
return if SVD Support Ribs exist
Definition: SVDGeometryPar.cc:18
Belle2::SVDGeometryPar::ClassDef
ClassDef(SVDGeometryPar, 5)
ClassDef, must be the last term before the closing {}.
Belle2::SVDGeometryPar::getSupportRibs
const std::map< int, SVDSupportRibsPar > & getSupportRibs() const
get support ribs
Definition: SVDGeometryPar.h:64