Belle II Software  release-05-01-25
ECLPureCsIInfo.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 Oberhof *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #ifndef ECLPURECSIINFO_H
12 #define ECLPURECSIINFO_H
13 
14 #include <framework/datastore/RelationsObject.h>
15 namespace Belle2 {
26  class ECLPureCsIInfo : public RelationsObject {
27  public:
30  {
31  m_CellId = 0;
32  m_isPureCsI = 0;
33  ;
34  }
35 
38  void setCellId(int CellId) { m_CellId = CellId; }
39 
42  void setPureCsI(bool isPureCsI) { m_isPureCsI = isPureCsI; }
43 
47  int getCellId() const { return m_CellId; }
48 
52  bool getPureCsI() const { return m_isPureCsI; }
53 
54  private:
55 
56  int m_CellId;
57  bool m_isPureCsI;
61  };
63 } // end namespace Belle2
64 
65 #endif
Belle2::ECLPureCsIInfo
Class to store ECL crystal type relation to ECLDigit for the simulation pure CsI upgrade option fille...
Definition: ECLPureCsIInfo.h:34
Belle2::ECLPureCsIInfo::m_isPureCsI
bool m_isPureCsI
is Pure CsI?
Definition: ECLPureCsIInfo.h:65
Belle2::ECLPureCsIInfo::m_CellId
int m_CellId
Cell ID.
Definition: ECLPureCsIInfo.h:64
Belle2::ECLPureCsIInfo::setPureCsI
void setPureCsI(bool isPureCsI)
Set isPureCsI.
Definition: ECLPureCsIInfo.h:50
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::ECLPureCsIInfo::ClassDef
ClassDef(ECLPureCsIInfo, 2)
ClassDef.
Belle2::ECLPureCsIInfo::setCellId
void setCellId(int CellId)
Set Cell ID.
Definition: ECLPureCsIInfo.h:46
Belle2::RelationsObject
RelationsInterface< TObject > RelationsObject
Provides interface for getting/adding relations to objects in StoreArrays.
Definition: RelationsObject.h:443
Belle2::ECLPureCsIInfo::getCellId
int getCellId() const
Get Cell ID.
Definition: ECLPureCsIInfo.h:55
Belle2::ECLPureCsIInfo::ECLPureCsIInfo
ECLPureCsIInfo()
default constructor for ROOT
Definition: ECLPureCsIInfo.h:37
Belle2::ECLPureCsIInfo::getPureCsI
bool getPureCsI() const
Get isPureCsI.
Definition: ECLPureCsIInfo.h:60