Belle II Software  release-05-01-25
COILGeometryPar.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2016 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Alexandre BEAULIEU *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #pragma once
11 
12 
13 #include <TObject.h>
14 #include <string>
15 
16 namespace Belle2 {
26  class COILGeometryPar: public TObject {
27 
28  public:
29 
32 
35 
36  //
37  // Setters and Getters
38  //
40 
42  int getVersion() const { return m_Version; }
43 
45  void setVersion(int version) { m_Version = version; }
46 
47 
49  double getGlobalRotAngle() const
50  {
51  return m_GlobalRotAngle;
52  }
53 
55  void setGlobalRotAngle(double angle)
56  {
58  }
59 
61  double getGlobalOffsetZ() const
62  {
64  }
65 
67  void setGlobalOffsetZ(double offset)
68  {
69  m_GlobalOffsetZ = offset;
70  }
71 
72 
73  //
74  // Cryostat vessel
75  //
76 
78  std::string getCryoMaterial() const { return m_strMatCryo; }
79 
81  void setCryoMaterial(const std::string& material) { m_strMatCryo = material; }
82 
84  double getCryoRmin() const
85  {
86  return m_CryoRmin;
87  }
88 
90  void setCryoRmin(double r)
91  {
93  }
94 
96  double getCryoRmax() const
97  {
98  return m_CryoRmax;
99  }
100 
102  void setCryoRmax(double r)
103  {
105  }
106 
108  double getCryoLength() const
109  {
110  return m_CryoLength;
111  }
112 
114  void setCryoLength(double l)
115  {
117  }
118 
119 
120  //
121  // cavity #1
122  //
123 
125  std::string getCav1Material() const { return m_strMatCav1; }
126 
128  void setCav1Material(const std::string& material) { m_strMatCav1 = material; }
129 
131  double getCav1Rmin() const
132  {
133  return m_Cav1Rmin;
134  }
135 
137  void setCav1Rmin(double r)
138  {
140  }
141 
143  double getCav1Rmax() const
144  {
145  return m_Cav1Rmax;
146  }
147 
149  void setCav1Rmax(double r)
150  {
152  }
153 
155  double getCav1Length() const
156  {
157  return m_Cav1Length;
158  }
159 
161  void setCav1Length(double l)
162  {
164  }
165 
166 
167  //
168  // cavity #2
169  //
170 
172  std::string getCav2Material() const { return m_strMatCav2; }
173 
175  void setCav2Material(const std::string& material) { m_strMatCav2 = material; }
176 
178  double getCav2Rmin() const
179  {
180  return m_Cav2Rmin;
181  }
182 
184  void setCav2Rmin(double r)
185  {
187  }
188 
190  double getCav2Rmax() const
191  {
192  return m_Cav2Rmax;
193  }
194 
196  void setCav2Rmax(double r)
197  {
199  }
200 
202  double getCav2Length() const
203  {
204  return m_Cav2Length;
205  }
206 
208  void setCav2Length(double l)
209  {
211  }
212 
213 
214  //
215  // radiation shield
216  //
217 
219  std::string getShieldMaterial() const { return m_strMatShield; }
220 
222  void setShieldMaterial(const std::string& material) { m_strMatShield = material; }
223 
225  double getShieldRmin() const
226  {
227  return m_ShieldRmin;
228  }
229 
231  void setShieldRmin(double r)
232  {
234  }
235 
237  double getShieldRmax() const
238  {
239  return m_ShieldRmax;
240  }
241 
243  void setShieldRmax(double r)
244  {
246  }
247 
249  double getShieldLength() const
250  {
252  }
253 
255  void setShieldLength(double l)
256  {
258  }
259 
260 
261  //
262  // superconducting coil
263  //
264 
266  std::string getCoilMaterial() const { return m_strMatCoil; }
267 
269  void setCoilMaterial(const std::string& material) { m_strMatCoil = material; }
270 
272  double getCoilRmin() const
273  {
274  return m_CoilRmin;
275  }
276 
278  void setCoilRmin(double r)
279  {
281  }
282 
284  double getCoilRmax() const
285  {
286  return m_CoilRmax;
287  }
288 
290  void setCoilRmax(double r)
291  {
293  }
294 
296  double getCoilLength() const
297  {
298  return m_CoilLength;
299  }
300 
302  void setCoilLength(double l)
303  {
305  }
306 
307 
308 
309  private:
310 
311 
312  //
313  // Data members:
314  // these are the geometry parameters
315  //
317 
319  int m_Version;
320 
321  //
322  // Global parameters
323  //
325  double m_GlobalRotAngle;
328 
329  //
330  // Cryostat vessel
331  //
333  std::string m_strMatCryo;
335  double m_CryoRmin;
337  double m_CryoRmax;
339  double m_CryoLength;
340 
341  //
342  // Cavity #1
343  //
345  std::string m_strMatCav1;
347  double m_Cav1Rmin;
349  double m_Cav1Rmax;
351  double m_Cav1Length;
352 
353  //
354  // Cavity #2
355  //
357  std::string m_strMatCav2;
359  double m_Cav2Rmin;
361  double m_Cav2Rmax;
363  double m_Cav2Length;
364 
365  //
366  // Radiation Shield
367  //
369  std::string m_strMatShield;
371  double m_ShieldRmin;
373  double m_ShieldRmax;
375  double m_ShieldLength;
376 
377  //
378  // Superconducting Coil
379  //
381  std::string m_strMatCoil;
383  double m_CoilRmin;
385  double m_CoilRmax;
387  double m_CoilLength;
388 
389  //
390  // For ROOT objects
391  //
392 
396  };
398 } // end of namespace Belle2
399 
400 
Belle2::COILGeometryPar::setCoilRmin
void setCoilRmin(double r)
Set the Inner radius of the superconducting coil.
Definition: COILGeometryPar.h:286
Belle2::COILGeometryPar::getCav1Length
double getCav1Length() const
Get the Half-length of the cavity #1.
Definition: COILGeometryPar.h:163
Belle2::COILGeometryPar::getCav1Material
std::string getCav1Material() const
Get the Material of the cavity #1.
Definition: COILGeometryPar.h:133
Belle2::COILGeometryPar::~COILGeometryPar
~COILGeometryPar()
Destructor.
Definition: COILGeometryPar.cc:37
Belle2::COILGeometryPar::m_ShieldLength
double m_ShieldLength
Inner radius of the Radiation Shield.
Definition: COILGeometryPar.h:383
Belle2::COILGeometryPar::m_CoilRmax
double m_CoilRmax
Inner radius of the Superconducting Coil.
Definition: COILGeometryPar.h:393
Belle2::COILGeometryPar::setCryoLength
void setCryoLength(double l)
Set the Half-length of the cryostat vessel.
Definition: COILGeometryPar.h:122
Belle2::COILGeometryPar::m_CryoRmax
double m_CryoRmax
Outer radius of the cryostat vessel.
Definition: COILGeometryPar.h:345
Belle2::COILGeometryPar::m_Cav2Length
double m_Cav2Length
Inner radius of the cavity #2.
Definition: COILGeometryPar.h:371
Belle2::COILGeometryPar::m_GlobalOffsetZ
double m_GlobalOffsetZ
Global offset along beam axis between coil and detector.
Definition: COILGeometryPar.h:335
Belle2::COILGeometryPar::getShieldLength
double getShieldLength() const
Get the Half-length of the radiation shield.
Definition: COILGeometryPar.h:257
Belle2::COILGeometryPar::m_CryoLength
double m_CryoLength
Half-length of the cryostat vessel.
Definition: COILGeometryPar.h:347
Belle2::COILGeometryPar::setCoilRmax
void setCoilRmax(double r)
Set the Outer radius of the superconducting coil.
Definition: COILGeometryPar.h:298
Belle2::COILGeometryPar::setCryoMaterial
void setCryoMaterial(const std::string &material)
Set the Material of the cryostat vessel (as a std::string)
Definition: COILGeometryPar.h:89
Belle2::COILGeometryPar::setCav2Length
void setCav2Length(double l)
Set the Half-length of the cavity #2.
Definition: COILGeometryPar.h:216
Belle2::COILGeometryPar::getCoilMaterial
std::string getCoilMaterial() const
Get the Material of the superconducting coil.
Definition: COILGeometryPar.h:274
Belle2::COILGeometryPar
The Class for COIL geometry parameters.
Definition: COILGeometryPar.h:34
Belle2::COILGeometryPar::setShieldMaterial
void setShieldMaterial(const std::string &material)
Set the Material of the radiation shield (as a std::string)
Definition: COILGeometryPar.h:230
Belle2::COILGeometryPar::m_strMatCav2
std::string m_strMatCav2
Material of the cavity #2.
Definition: COILGeometryPar.h:365
Belle2::COILGeometryPar::getShieldRmax
double getShieldRmax() const
Get the Outer radius of the radiation shield.
Definition: COILGeometryPar.h:245
Belle2::COILGeometryPar::m_Cav2Rmin
double m_Cav2Rmin
Inner radius of the cavity #2.
Definition: COILGeometryPar.h:367
Belle2::COILGeometryPar::getCryoRmin
double getCryoRmin() const
Get the Inner radius of the cryostat vessel.
Definition: COILGeometryPar.h:92
Belle2::COILGeometryPar::getGlobalOffsetZ
double getGlobalOffsetZ() const
Get Global offset in Z.
Definition: COILGeometryPar.h:69
Belle2::COILGeometryPar::getShieldRmin
double getShieldRmin() const
Get the Inner radius of the radiation shield.
Definition: COILGeometryPar.h:233
Belle2::COILGeometryPar::m_Cav1Rmin
double m_Cav1Rmin
Inner radius of the cavity #1.
Definition: COILGeometryPar.h:355
Belle2::COILGeometryPar::getCryoMaterial
std::string getCryoMaterial() const
Get the Material of the cryostat vessel.
Definition: COILGeometryPar.h:86
Belle2::COILGeometryPar::getCoilRmax
double getCoilRmax() const
Get the Outer radius of the superconducting coil.
Definition: COILGeometryPar.h:292
Belle2::COILGeometryPar::setVersion
void setVersion(int version)
Set COIL geometry version.
Definition: COILGeometryPar.h:53
Belle2::COILGeometryPar::setCav1Material
void setCav1Material(const std::string &material)
Set the Material of the cavity #1 (as a std::string)
Definition: COILGeometryPar.h:136
Belle2::COILGeometryPar::m_Cav1Length
double m_Cav1Length
Inner radius of the cavity #1.
Definition: COILGeometryPar.h:359
Belle2::COILGeometryPar::ClassDef
ClassDef(COILGeometryPar, 1)
ClassDef, must be the last term before the closing {}.
Belle2::COILGeometryPar::getGlobalRotAngle
double getGlobalRotAngle() const
Get Global Rotation Angle.
Definition: COILGeometryPar.h:57
Belle2::COILGeometryPar::m_GlobalRotAngle
double m_GlobalRotAngle
Global rotation angle bewteen coil and detector.
Definition: COILGeometryPar.h:333
Belle2::COILGeometryPar::m_strMatCryo
std::string m_strMatCryo
Material of the cryostat vessel.
Definition: COILGeometryPar.h:341
Belle2::COILGeometryPar::m_Cav1Rmax
double m_Cav1Rmax
Inner radius of the cavity #1.
Definition: COILGeometryPar.h:357
Belle2::COILGeometryPar::setShieldLength
void setShieldLength(double l)
Set the Half-length of the radiation shield.
Definition: COILGeometryPar.h:263
Belle2::COILGeometryPar::setCoilLength
void setCoilLength(double l)
Set the Half-length of the superconducting coil.
Definition: COILGeometryPar.h:310
Belle2::COILGeometryPar::getCryoRmax
double getCryoRmax() const
Get the Outer radius of the cryostat vessel.
Definition: COILGeometryPar.h:104
Belle2::COILGeometryPar::setCav2Material
void setCav2Material(const std::string &material)
Set the Material of the cavity #2 (as a std::string)
Definition: COILGeometryPar.h:183
Belle2::COILGeometryPar::m_Cav2Rmax
double m_Cav2Rmax
Inner radius of the cavity #2.
Definition: COILGeometryPar.h:369
Belle2::COILGeometryPar::m_strMatCav1
std::string m_strMatCav1
Material of the cavity #1.
Definition: COILGeometryPar.h:353
Belle2::COILGeometryPar::setCryoRmin
void setCryoRmin(double r)
Set the Inner radius of the cryostat vessel.
Definition: COILGeometryPar.h:98
Belle2::COILGeometryPar::m_CryoRmin
double m_CryoRmin
Inner radius of the cryostat vessel.
Definition: COILGeometryPar.h:343
Belle2::COILGeometryPar::setCav1Length
void setCav1Length(double l)
Set the Half-length of the cavity #1.
Definition: COILGeometryPar.h:169
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::COILGeometryPar::setGlobalRotAngle
void setGlobalRotAngle(double angle)
Set Global Rotation Angle.
Definition: COILGeometryPar.h:63
Belle2::COILGeometryPar::m_CoilRmin
double m_CoilRmin
Inner radius of the Superconducting Coil.
Definition: COILGeometryPar.h:391
Belle2::COILGeometryPar::setCav2Rmax
void setCav2Rmax(double r)
Set the Outer radius of the cavity #2.
Definition: COILGeometryPar.h:204
Belle2::COILGeometryPar::getCav2Rmin
double getCav2Rmin() const
Get the Inner radius of the cavity #2.
Definition: COILGeometryPar.h:186
Belle2::COILGeometryPar::setShieldRmin
void setShieldRmin(double r)
Set the Inner radius of the radiation shield.
Definition: COILGeometryPar.h:239
Belle2::COILGeometryPar::m_CoilLength
double m_CoilLength
Inner radius of the Superconducting Coil.
Definition: COILGeometryPar.h:395
Belle2::COILGeometryPar::m_ShieldRmin
double m_ShieldRmin
Inner radius of the Radiation Shield.
Definition: COILGeometryPar.h:379
Belle2::COILGeometryPar::getCav2Rmax
double getCav2Rmax() const
Get the Outer radius of the cavity #2.
Definition: COILGeometryPar.h:198
Belle2::COILGeometryPar::getCav1Rmin
double getCav1Rmin() const
Get the Inner radius of the cavity #1.
Definition: COILGeometryPar.h:139
Belle2::COILGeometryPar::getCav2Length
double getCav2Length() const
Get the Half-length of the cavity #2.
Definition: COILGeometryPar.h:210
Belle2::COILGeometryPar::getShieldMaterial
std::string getShieldMaterial() const
Get the Material of the radiation shield.
Definition: COILGeometryPar.h:227
Belle2::COILGeometryPar::setCav2Rmin
void setCav2Rmin(double r)
Set the Inner radius of the cavity #2.
Definition: COILGeometryPar.h:192
Belle2::COILGeometryPar::m_strMatShield
std::string m_strMatShield
Material of the Radiation Shield.
Definition: COILGeometryPar.h:377
Belle2::COILGeometryPar::m_strMatCoil
std::string m_strMatCoil
Material of the Superconducting Coil.
Definition: COILGeometryPar.h:389
Belle2::COILGeometryPar::getCoilRmin
double getCoilRmin() const
Get the Inner radius of the superconducting coil.
Definition: COILGeometryPar.h:280
Belle2::COILGeometryPar::getCoilLength
double getCoilLength() const
Get the Half-length of the superconducting coil.
Definition: COILGeometryPar.h:304
Belle2::COILGeometryPar::setShieldRmax
void setShieldRmax(double r)
Set the Outer radius of the radiation shield.
Definition: COILGeometryPar.h:251
Belle2::COILGeometryPar::setCav1Rmin
void setCav1Rmin(double r)
Set the Inner radius of the cavity #1.
Definition: COILGeometryPar.h:145
Belle2::COILGeometryPar::getCav2Material
std::string getCav2Material() const
Get the Material of the cavity #2.
Definition: COILGeometryPar.h:180
Belle2::COILGeometryPar::setGlobalOffsetZ
void setGlobalOffsetZ(double offset)
Set Global offset in Z.
Definition: COILGeometryPar.h:75
Belle2::COILGeometryPar::m_Version
int m_Version
Geometry version.
Definition: COILGeometryPar.h:327
Belle2::COILGeometryPar::COILGeometryPar
COILGeometryPar()
Default constructor.
Definition: COILGeometryPar.cc:15
Belle2::COILGeometryPar::setCoilMaterial
void setCoilMaterial(const std::string &material)
Set the Material of the superconducting coil (as a std::string)
Definition: COILGeometryPar.h:277
Belle2::COILGeometryPar::getVersion
int getVersion() const
Get COIL geometry version.
Definition: COILGeometryPar.h:50
Belle2::COILGeometryPar::getCryoLength
double getCryoLength() const
Get the Half-length of the cryostat vessel.
Definition: COILGeometryPar.h:116
Belle2::COILGeometryPar::setCav1Rmax
void setCav1Rmax(double r)
Set the Outer radius of the cavity #1.
Definition: COILGeometryPar.h:157
Belle2::COILGeometryPar::getCav1Rmax
double getCav1Rmax() const
Get the Outer radius of the cavity #1.
Definition: COILGeometryPar.h:151
Belle2::COILGeometryPar::setCryoRmax
void setCryoRmax(double r)
Set the Outer radius of the cryostat vessel.
Definition: COILGeometryPar.h:110
Belle2::COILGeometryPar::m_ShieldRmax
double m_ShieldRmax
Inner radius of the Radiation Shield.
Definition: COILGeometryPar.h:381