Belle II Software development
SVDCoolingPipesPar.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
11#include <TObject.h>
12#include <string>
13
14
15namespace Belle2 {
25 class SVDCoolingPipesPar: public TObject {
26
27 public:
28
30 SVDCoolingPipesPar(const std::string& material, double outerDiameter, double wallThickness, int nPipes,
31 double startPhi, double deltaPhi, double radius, double zstart, double zend, double deltaL = 0):
32 m_material(material), m_outerDiameter(outerDiameter), m_wallThickness(wallThickness), m_nPipes(nPipes),
33 m_startPhi(startPhi), m_deltaPhi(deltaPhi), m_radius(radius), m_zstart(zstart), m_zend(zend), m_deltaL(deltaL)
34 {}
39 {}
40
42 const std::string& getMaterial() const { return m_material; }
44 double getOuterDiameter() const { return m_outerDiameter; }
46 double getWallThickness() const { return m_wallThickness; }
48 int getNPipes() const { return m_nPipes; }
50 double getStartPhi() const { return m_startPhi; }
52 double getDeltaPhi() const { return m_deltaPhi; }
54 double getRadius() const { return m_radius; }
56 double getZStart() const { return m_zstart; }
58 double getZEnd() const { return m_zend; }
60 double getDeltaL() const { return m_deltaL; }
62 void setDeltaL(double deltaL) { m_deltaL = deltaL; }
63
64 private:
65 std::string m_material;
70 double m_startPhi;
71 double m_deltaPhi;
72 double m_radius;
73 double m_zstart;
74 double m_zend;
75 double m_deltaL;
79 };
80
81
83} // end of namespace Belle2
84
The Class for SVD Cooling Pipes.
double getStartPhi() const
get start phi
double getOuterDiameter() const
get outer diameter
std::string m_material
material
SVDCoolingPipesPar(const std::string &material, double outerDiameter, double wallThickness, int nPipes, double startPhi, double deltaPhi, double radius, double zstart, double zend, double deltaL=0)
Constructor.
void setDeltaL(double deltaL)
set deltal
double getDeltaPhi() const
get delta phi
int getNPipes() const
get nPipes
double getDeltaL() const
get deltal
double getZEnd() const
get zend
double getZStart() const
get zstart
double m_outerDiameter
outer diameter
double m_deltaPhi
delta phi angle
ClassDef(SVDCoolingPipesPar, 5)
ClassDef, must be the last term before the closing {}.
double m_startPhi
start phi angle
const std::string & getMaterial() const
get material
double getWallThickness() const
get wall thickness
double getRadius() const
get radius
double m_wallThickness
wall thickness
Abstract base class for different kinds of events.