Belle II Software  release-05-01-25
ECLCrystalsShapeAndPosition.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2016 - Belle II Collaboration *
4  * *
5  * Calibration constants for the ECL single crystal energy calibration. *
6  * *
7  * Author: The Belle II Collaboration *
8  * Contributors: Alexei Sibidanov *
9  * *
10  * This software is provided "as is" without any warranty. *
11  **************************************************************************/
12 
13 #ifndef ECLCrystalsShapeAndPosition_H
14 #define ECLCrystalsShapeAndPosition_H
15 #include <TObject.h>
16 
17 namespace Belle2 {
27  class ECLCrystalsShapeAndPosition: public TObject {
28  public:
29 
34 
39 
43  const std::string& getShapeForward() const {return m_shape_forward; }
44 
48  void setShapeForward(const std::string& shape_forward) { m_shape_forward = shape_forward; }
49 
53  const std::string& getShapeBarrel() const {return m_shape_barrel; }
54 
58  void setShapeBarrel(const std::string& shape_barrel) { m_shape_barrel = shape_barrel; }
59 
63  const std::string& getShapeBackward() const {return m_shape_backward; }
64 
68  void setShapeBackward(const std::string& shape_backward) { m_shape_backward = shape_backward; }
69 
73  const std::string& getPlacementForward() const {return m_placement_forward; }
74 
78  void setPlacementForward(const std::string& placement_forward) { m_placement_forward = placement_forward; }
79 
83  const std::string& getPlacementBarrel() const {return m_placement_barrel; }
84 
88  void setPlacementBarrel(const std::string& placement_barrel) { m_placement_barrel = placement_barrel; }
89 
93  const std::string& getPlacementBackward() const {return m_placement_backward; }
94 
98  void setPlacementBackward(const std::string& placement_backward) { m_placement_backward = placement_backward; }
99 
100  private:
101  std::string m_shape_forward;
102  std::string m_shape_barrel;
103  std::string m_shape_backward;
104  std::string m_placement_forward;
105  std::string m_placement_barrel;
106  std::string m_placement_backward;
109  };
111 } // end namespace Belle2
112 #endif
Belle2::ECLCrystalsShapeAndPosition::getPlacementForward
const std::string & getPlacementForward() const
Return crystal placement in forward endcap.
Definition: ECLCrystalsShapeAndPosition.h:83
Belle2::ECLCrystalsShapeAndPosition::m_placement_barrel
std::string m_placement_barrel
Crystal placements in barrel.
Definition: ECLCrystalsShapeAndPosition.h:115
Belle2::ECLCrystalsShapeAndPosition::setPlacementBarrel
void setPlacementBarrel(const std::string &placement_barrel)
Set crystal placement in barrel.
Definition: ECLCrystalsShapeAndPosition.h:98
Belle2::ECLCrystalsShapeAndPosition::m_placement_backward
std::string m_placement_backward
Crystal placements in backward endcap.
Definition: ECLCrystalsShapeAndPosition.h:116
Belle2::ECLCrystalsShapeAndPosition::m_shape_barrel
std::string m_shape_barrel
Crystal shapes in barrel.
Definition: ECLCrystalsShapeAndPosition.h:112
Belle2::ECLCrystalsShapeAndPosition::ECLCrystalsShapeAndPosition
ECLCrystalsShapeAndPosition()
Default constructor.
Definition: ECLCrystalsShapeAndPosition.h:43
Belle2::ECLCrystalsShapeAndPosition::ClassDef
ClassDef(ECLCrystalsShapeAndPosition, 1)
ClassDef.
Belle2::ECLCrystalsShapeAndPosition::~ECLCrystalsShapeAndPosition
~ECLCrystalsShapeAndPosition()
Destructor.
Definition: ECLCrystalsShapeAndPosition.h:48
Belle2::ECLCrystalsShapeAndPosition::setShapeBackward
void setShapeBackward(const std::string &shape_backward)
Set crystal shape in backward endcap.
Definition: ECLCrystalsShapeAndPosition.h:78
Belle2::ECLCrystalsShapeAndPosition::getPlacementBackward
const std::string & getPlacementBackward() const
Return crystal placement in backward endcap.
Definition: ECLCrystalsShapeAndPosition.h:103
Belle2::ECLCrystalsShapeAndPosition::getPlacementBarrel
const std::string & getPlacementBarrel() const
Return crystal placement in barrel.
Definition: ECLCrystalsShapeAndPosition.h:93
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::ECLCrystalsShapeAndPosition::setShapeBarrel
void setShapeBarrel(const std::string &shape_barrel)
Set crystal shape in barrel.
Definition: ECLCrystalsShapeAndPosition.h:68
Belle2::ECLCrystalsShapeAndPosition::setPlacementForward
void setPlacementForward(const std::string &placement_forward)
Set crystal placement in forward endcap.
Definition: ECLCrystalsShapeAndPosition.h:88
Belle2::ECLCrystalsShapeAndPosition::getShapeBarrel
const std::string & getShapeBarrel() const
Return crystal shape in barrel.
Definition: ECLCrystalsShapeAndPosition.h:63
Belle2::ECLCrystalsShapeAndPosition
Crystal shapes and positions.
Definition: ECLCrystalsShapeAndPosition.h:37
Belle2::ECLCrystalsShapeAndPosition::setShapeForward
void setShapeForward(const std::string &shape_forward)
Set crystal shape in forward endcap.
Definition: ECLCrystalsShapeAndPosition.h:58
Belle2::ECLCrystalsShapeAndPosition::m_placement_forward
std::string m_placement_forward
Crystal placements in forward endcap.
Definition: ECLCrystalsShapeAndPosition.h:114
Belle2::ECLCrystalsShapeAndPosition::getShapeBackward
const std::string & getShapeBackward() const
Return crystal shape in backward endcap.
Definition: ECLCrystalsShapeAndPosition.h:73
Belle2::ECLCrystalsShapeAndPosition::setPlacementBackward
void setPlacementBackward(const std::string &placement_backward)
Set crystal placement in backward endcap.
Definition: ECLCrystalsShapeAndPosition.h:108
Belle2::ECLCrystalsShapeAndPosition::getShapeForward
const std::string & getShapeForward() const
Return crystal shape in forward endcap.
Definition: ECLCrystalsShapeAndPosition.h:53
Belle2::ECLCrystalsShapeAndPosition::m_shape_forward
std::string m_shape_forward
Crystal shapes in forward endcap.
Definition: ECLCrystalsShapeAndPosition.h:111
Belle2::ECLCrystalsShapeAndPosition::m_shape_backward
std::string m_shape_backward
Crystal shapes in backward endcap.
Definition: ECLCrystalsShapeAndPosition.h:113