Belle II Software  release-08-01-10
TRGGRLPHOTON.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 #ifndef TRGGRLPHOTON_H
10 #define TRGGRLPHOTON_H
11 
12 #include <framework/datastore/RelationsObject.h>
13 
14 namespace Belle2 {
21  class TRGGRLPHOTON : public RelationsObject {
22  public:
23 
25  TRGGRLPHOTON(): m_phi_d(-999.), m_e(-1.0) {}
28 
30  double get_phi_d() const {return m_phi_d;}
31 
33  void set_phi_d(double phi_d) { m_phi_d = phi_d; }
34 
36  double get_e() const {return m_e;}
37 
39  void set_e(double e) { m_e = e; }
40 
41  private:
42 
44  double m_phi_d;
45 
47  double m_e;
48 
50  ClassDef(TRGGRLPHOTON, 2); /*< the class title */
51 
52  };
53 
55 } // end namespace Belle2
56 
57 #endif
Defines interface for accessing relations of objects in StoreArray.
a class for neutral ECL cluster in TRGGRL
Definition: TRGGRLPHOTON.h:21
double get_e() const
Get energy.
Definition: TRGGRLPHOTON.h:36
ClassDef(TRGGRLPHOTON, 2)
! The Class title
double m_phi_d
Digitized phi angle of the cluster.
Definition: TRGGRLPHOTON.h:44
TRGGRLPHOTON()
Constructor.
Definition: TRGGRLPHOTON.h:25
double get_phi_d() const
Get phi_d.
Definition: TRGGRLPHOTON.h:30
void set_phi_d(double phi_d)
set the phi_d
Definition: TRGGRLPHOTON.h:33
void set_e(double e)
set energy
Definition: TRGGRLPHOTON.h:39
double m_e
Energy of the cluster.
Definition: TRGGRLPHOTON.h:47
~TRGGRLPHOTON()
Destructor.
Definition: TRGGRLPHOTON.h:27
Abstract base class for different kinds of events.