Belle II Software  release-08-01-10
ARICHMirrorInfo.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 #include <TGraph.h>
12 #include <string>
13 
14 namespace Belle2 {
22  class ARICHMirrorInfo: public TObject {
23  public:
28 
32  ARICHMirrorInfo(int id, TGraph* reflectivity): m_id(id), m_reflectivity(reflectivity), m_comment("") {};
33 
37  ARICHMirrorInfo(int id, TGraph* reflectivity, const std::string& comment): m_id(id), m_reflectivity(reflectivity),
38  m_comment(comment) {};
39 
43  int getMirrorID() const {return m_id; }
44 
48  void setMirrorID(int id) {m_id = id; }
49 
54  TGraph* getMirrorReflectivity() const {return m_reflectivity;}
55 
60  void setMirrorReflectivity(TGraph* reflectivity) {m_reflectivity = reflectivity;}
61 
65  std::string getMirrorInfoComment() const {return m_comment;}
66 
70  void setMirrorInfoComment(const std::string& comment) {m_comment = comment; }
71 
72 
73  private:
74 
75  int m_id;
76  TGraph* m_reflectivity;
77  std::string m_comment;
80  };
82 } // end namespace Belle2
List of MergerBoards.
std::string m_comment
comment
TGraph * m_reflectivity
reflectivity of the mirror
int getMirrorID() const
Return Mirror Identifier.
TGraph * getMirrorReflectivity() const
Return Reflectivity of the mirror.
ARICHMirrorInfo(int id, TGraph *reflectivity)
Constructor.
void setMirrorID(int id)
Set Mirror Identifier.
ClassDef(ARICHMirrorInfo, 1)
ClassDef.
void setMirrorInfoComment(const std::string &comment)
Set comment.
int m_id
Mirror Identifier.
ARICHMirrorInfo()
Default constructor.
ARICHMirrorInfo(int id, TGraph *reflectivity, const std::string &comment)
Constructor.
void setMirrorReflectivity(TGraph *reflectivity)
Set Reflectivity of the mirror.
std::string getMirrorInfoComment() const
Return comment.
Abstract base class for different kinds of events.