Belle II Software development
ECLCrystalsShapeAndPosition.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
9#pragma once
10#include <TObject.h>
11
12namespace Belle2 {
22 class ECLCrystalsShapeAndPosition: public TObject {
23 public:
24
29
34
38 const std::string& getShapeForward() const {return m_shape_forward; }
39
43 void setShapeForward(const std::string& shape_forward) { m_shape_forward = shape_forward; }
44
48 const std::string& getShapeBarrel() const {return m_shape_barrel; }
49
53 void setShapeBarrel(const std::string& shape_barrel) { m_shape_barrel = shape_barrel; }
54
58 const std::string& getShapeBackward() const {return m_shape_backward; }
59
63 void setShapeBackward(const std::string& shape_backward) { m_shape_backward = shape_backward; }
64
68 const std::string& getPlacementForward() const {return m_placement_forward; }
69
73 void setPlacementForward(const std::string& placement_forward) { m_placement_forward = placement_forward; }
74
78 const std::string& getPlacementBarrel() const {return m_placement_barrel; }
79
83 void setPlacementBarrel(const std::string& placement_barrel) { m_placement_barrel = placement_barrel; }
84
88 const std::string& getPlacementBackward() const {return m_placement_backward; }
89
93 void setPlacementBackward(const std::string& placement_backward) { m_placement_backward = placement_backward; }
94
95 private:
96 std::string m_shape_forward;
97 std::string m_shape_barrel;
98 std::string m_shape_backward;
99 std::string m_placement_forward;
100 std::string m_placement_barrel;
104 };
106} // end namespace Belle2
const std::string & getPlacementBarrel() const
Return crystal placement in barrel.
void setPlacementBarrel(const std::string &placement_barrel)
Set crystal placement in barrel.
std::string m_shape_barrel
Crystal shapes in barrel.
void setShapeBackward(const std::string &shape_backward)
Set crystal shape in backward endcap.
const std::string & getShapeBackward() const
Return crystal shape in backward endcap.
void setShapeForward(const std::string &shape_forward)
Set crystal shape in forward endcap.
const std::string & getShapeForward() const
Return crystal shape in forward endcap.
const std::string & getShapeBarrel() const
Return crystal shape in barrel.
void setShapeBarrel(const std::string &shape_barrel)
Set crystal shape in barrel.
std::string m_shape_backward
Crystal shapes in backward endcap.
std::string m_placement_backward
Crystal placements in backward endcap.
std::string m_placement_barrel
Crystal placements in barrel.
std::string m_placement_forward
Crystal placements in forward endcap.
const std::string & getPlacementBackward() const
Return crystal placement in backward endcap.
std::string m_shape_forward
Crystal shapes in forward endcap.
void setPlacementBackward(const std::string &placement_backward)
Set crystal placement in backward endcap.
void setPlacementForward(const std::string &placement_forward)
Set crystal placement in forward endcap.
const std::string & getPlacementForward() const
Return crystal placement in forward endcap.
ClassDef(ECLCrystalsShapeAndPosition, 1)
ClassDef.
Abstract base class for different kinds of events.