Belle II Software  release-05-01-25
VXDGeoPlacementPar.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 
13 #include <TObject.h>
14 #include <string>
15 
16 
17 namespace Belle2 {
28  class VXDGeoPlacementPar: public TObject {
29  public:
30 
32  VXDGeoPlacementPar(const std::string& name = "", double u = 0, double v = 0,
33  const std::string& w = "bottom", double woffset = 0);
37  const std::string& getName() const { return m_name; }
39  void setName(const std::string& name) { m_name = name; }
41  double getU() const { return m_u; }
43  void setU(double u) { m_u = u; }
45  double getV() const { return m_v; }
47  void setV(double v) { m_v = v; }
49  const std::string& getW() const { return m_w; }
51  void setW(const std::string& w) {m_w = w;}
53  double getWOffset() const { return m_woffset; }
55  void setWOffset(double woffset) { m_woffset = woffset; }
56  private:
58  std::string m_name;
60  double m_u;
62  double m_v;
64  std::string m_w;
66  double m_woffset;
67 
69  };
71 } // end of namespace Belle2
Belle2::VXDGeoPlacementPar::m_woffset
double m_woffset
Offset to the w placement of the component.
Definition: VXDGeoPlacementPar.h:74
Belle2::VXDGeoPlacementPar::VXDGeoPlacementPar
VXDGeoPlacementPar(const std::string &name="", double u=0, double v=0, const std::string &w="bottom", double woffset=0)
Constructor.
Definition: VXDGeoPlacementPar.cc:20
Belle2::VXDGeoPlacementPar
The Class for VXD placement payload.
Definition: VXDGeoPlacementPar.h:36
Belle2::VXDGeoPlacementPar::getW
const std::string & getW() const
get local w position where to place the component
Definition: VXDGeoPlacementPar.h:57
Belle2::VXDGeoPlacementPar::m_w
std::string m_w
w coordinate where to place the component
Definition: VXDGeoPlacementPar.h:72
Belle2::VXDGeoPlacementPar::setV
void setV(double v)
set local v coordinate where to place the component
Definition: VXDGeoPlacementPar.h:55
Belle2::VXDGeoPlacementPar::setW
void setW(const std::string &w)
set local w position where to place the component
Definition: VXDGeoPlacementPar.h:59
Belle2::VXDGeoPlacementPar::setU
void setU(double u)
set local u coordinate where to place the component
Definition: VXDGeoPlacementPar.h:51
Belle2::VXDGeoPlacementPar::getName
const std::string & getName() const
get name of the component
Definition: VXDGeoPlacementPar.h:45
Belle2::VXDGeoPlacementPar::m_u
double m_u
u coordinate where to place the component
Definition: VXDGeoPlacementPar.h:68
Belle2::VXDGeoPlacementPar::setName
void setName(const std::string &name)
set name of the component
Definition: VXDGeoPlacementPar.h:47
Belle2::VXDGeoPlacementPar::getU
double getU() const
get local u coordinate where to place the component
Definition: VXDGeoPlacementPar.h:49
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::VXDGeoPlacementPar::getV
double getV() const
get local v coordinate where to place the component
Definition: VXDGeoPlacementPar.h:53
Belle2::VXDGeoPlacementPar::ClassDef
ClassDef(VXDGeoPlacementPar, 5)
ClassDef, must be the last term before the closing {}.
Belle2::VXDGeoPlacementPar::~VXDGeoPlacementPar
~VXDGeoPlacementPar()
Destructor.
Definition: VXDGeoPlacementPar.h:43
Belle2::VXDGeoPlacementPar::m_v
double m_v
v coordinate where to place the component
Definition: VXDGeoPlacementPar.h:70
Belle2::VXDGeoPlacementPar::m_name
std::string m_name
Name of the component.
Definition: VXDGeoPlacementPar.h:66
Belle2::VXDGeoPlacementPar::setWOffset
void setWOffset(double woffset)
set offset to local w position where to place the component
Definition: VXDGeoPlacementPar.h:63
Belle2::VXDGeoPlacementPar::getWOffset
double getWOffset() const
get offset to local w position where to place the component
Definition: VXDGeoPlacementPar.h:61