Belle II Software development
VXDGeoPlacementPar.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 {
26 class VXDGeoPlacementPar: public TObject {
27 public:
28
30 VXDGeoPlacementPar(const std::string& name = "", double u = 0, double v = 0,
31 const std::string& w = "bottom", double woffset = 0);
35 const std::string& getName() const { return m_name; }
37 void setName(const std::string& name) { m_name = name; }
39 double getU() const { return m_u; }
41 void setU(double u) { m_u = u; }
43 double getV() const { return m_v; }
45 void setV(double v) { m_v = v; }
47 const std::string& getW() const { return m_w; }
49 void setW(const std::string& w) {m_w = w;}
51 double getWOffset() const { return m_woffset; }
53 void setWOffset(double woffset) { m_woffset = woffset; }
54 private:
56 std::string m_name;
58 double m_u;
60 double m_v;
62 std::string m_w;
64 double m_woffset;
65
67 };
69} // end of namespace Belle2
The Class for VXD placement payload.
void setWOffset(double woffset)
set offset to local w position where to place the component
void setV(double v)
set local v coordinate where to place the component
double getU() const
get local u coordinate where to place the component
const std::string & getName() const
get name of the component
double m_u
u coordinate where to place the component
double getV() const
get local v coordinate where to place the component
double m_v
v coordinate where to place the component
void setU(double u)
set local u coordinate where to place the component
void setW(const std::string &w)
set local w position where to place the component
const std::string & getW() const
get local w position where to place the component
std::string m_w
w coordinate where to place the component
double m_woffset
Offset to the w placement of the component.
void setName(const std::string &name)
set name of the component
ClassDef(VXDGeoPlacementPar, 5)
ClassDef, must be the last term before the closing {}.
std::string m_name
Name of the component.
double getWOffset() const
get offset to local w position where to place the component
Abstract base class for different kinds of events.