Belle II Software development
TRGGRLMATCH.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 TRGGRLMATCH_H
10#define TRGGRLMATCH_H
11
12#include <framework/datastore/RelationsObject.h>
13
14namespace Belle2 {
22 public:
23
25 TRGGRLMATCH(): m_deltar(-999.), m_deltaz(-999.), m_e(-99.) {}
28
30 double getDeltaR() const {return m_deltar;}
31
34 double getDeltaZ() const {return m_deltaz;}
35
37 double get_dphi_d() const {return m_dphi_d;}
38
40 double get_e() const {return m_e;}
41
43 void setDeltaR(double deltar) { m_deltar = deltar; }
44
46 void setDeltaZ(double deltaz) { m_deltaz = deltaz; }
47
49 void set_dphi_d(double dphi_d) { m_dphi_d = dphi_d; }
50
52 void set_e(double e) { m_e = e; }
53
54 private:
55
56
59 double m_deltar;
60
63 double m_deltaz;
64
67 double m_dphi_d = -999.;
68
70 double m_e = -99.;
71
73 ClassDef(TRGGRLMATCH, 2); /*< the class title */
74
75 };
76
78} // end namespace Belle2
79
80#endif
Defines interface for accessing relations of objects in StoreArray.
a class for CDC2D-ECL Matching in TRGGRL
Definition: TRGGRLMATCH.h:21
double get_e() const
Get cluster energy.
Definition: TRGGRLMATCH.h:40
void set_dphi_d(double dphi_d)
set the dphi_d
Definition: TRGGRLMATCH.h:49
~TRGGRLMATCH()
Destructor.
Definition: TRGGRLMATCH.h:27
void setDeltaZ(double deltaz)
set the Delta Z
Definition: TRGGRLMATCH.h:46
double m_deltar
Distance in X-Y plane between the ECL cluster and the expected position which is calculated from CDC.
Definition: TRGGRLMATCH.h:59
ClassDef(TRGGRLMATCH, 2)
! The Class title
double getDeltaZ() const
Get the Delta Z (distance along Z-axis between the ECL cluster and the expected position which is cal...
Definition: TRGGRLMATCH.h:34
TRGGRLMATCH()
Constructor.
Definition: TRGGRLMATCH.h:25
double m_dphi_d
Phi angle difference between the ECL cluster and the expected position which is calculated from CDC.
Definition: TRGGRLMATCH.h:67
double m_deltaz
Distance along Z-axis between the ECL cluster and the expected position which is calculated from CDC.
Definition: TRGGRLMATCH.h:63
double getDeltaR() const
get deltaR
Definition: TRGGRLMATCH.h:30
void set_e(double e)
set the cluster energy
Definition: TRGGRLMATCH.h:52
double m_e
Cluster energy.
Definition: TRGGRLMATCH.h:70
void setDeltaR(double deltar)
set the Delta R
Definition: TRGGRLMATCH.h:43
double get_dphi_d() const
Get dphi_d.
Definition: TRGGRLMATCH.h:37
Abstract base class for different kinds of events.