Belle II Software development
TRGECLDigi0.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 TRGECLDIGI0_H
10#define TRGECLDIGI0_H
11
12#include <TObject.h>
13
14namespace Belle2 {
21 class TRGECLDigi0 : public TObject {
22 public:
23
27 int m_tcid;
37
38
40 void setEventId(int eventid) { m_eventid = eventid; }
42 void setTCId(int tcid) { m_tcid = tcid; }
44 void setiBinTime(int ibintime) { m_ibintime = ibintime; }
47 void setRawEnergy(double raw_energy) { m_raw_energy = raw_energy; }
49 void setRawTiming(double raw_timing) { m_raw_timing = raw_timing; }
51 void setBeamBkgTag(int beambkgtag) { m_beambkgtag = beambkgtag; }
52
53
55 int getEventId() const { return m_eventid; }
57 int getTCId() const { return m_tcid; }
59 int getiBinTime() const { return m_ibintime; }
62 double getRawEnergy() const {return m_raw_energy; }
64 double getRawTiming() const {return m_raw_timing; }
66 int getBeamBkgTag() const {return m_beambkgtag; }
67
71 {
72 m_eventid = 0;
73 m_tcid = 0;
74 m_ibintime = 0;
75 m_raw_energy = 0;
76 m_raw_timing = 0;
77 m_beambkgtag = 0;
78
79
80 }
81
84 int eventid,
85 int tcid,
86 int ibintime,
87 int beambkgtag,
88 double raw_energy,
89 double raw_timing
90 )
91 {
92 m_eventid = eventid;
93 m_tcid = tcid;
94 m_ibintime = ibintime;
95 m_raw_energy = raw_energy;
96 m_raw_timing = raw_timing;
97 m_beambkgtag = beambkgtag;
98
99 }
101 ClassDef(TRGECLDigi0, 1); /*< the class title */
102 };
104}
105
106#endif
Raw TC result nefor digitizing.
Definition: TRGECLDigi0.h:21
int m_ibintime
time bin
Definition: TRGECLDigi0.h:29
double m_raw_energy
TC Energy and Timing Raw TC energy.
Definition: TRGECLDigi0.h:34
void setBeamBkgTag(int beambkgtag)
Set beam background tag.
Definition: TRGECLDigi0.h:51
int m_eventid
Event Id.
Definition: TRGECLDigi0.h:25
TRGECLDigi0()
Empty constructor Recommended for ROOT IO.
Definition: TRGECLDigi0.h:70
int getiBinTime() const
get time bin
Definition: TRGECLDigi0.h:59
void setTCId(int tcid)
Set TC id.
Definition: TRGECLDigi0.h:42
int m_beambkgtag
beam background tag
Definition: TRGECLDigi0.h:31
int getEventId() const
Get event id.
Definition: TRGECLDigi0.h:55
ClassDef(TRGECLDigi0, 1)
the class title
void setiBinTime(int ibintime)
Set time bin.
Definition: TRGECLDigi0.h:44
int getBeamBkgTag() const
Get beam background tag.
Definition: TRGECLDigi0.h:66
double getRawTiming() const
Get raw TC timing.
Definition: TRGECLDigi0.h:64
int getTCId() const
Get TC id.
Definition: TRGECLDigi0.h:57
void setRawEnergy(double raw_energy)
Set Energy and Timing set raw energy.
Definition: TRGECLDigi0.h:47
double m_raw_timing
Raw TC timing.
Definition: TRGECLDigi0.h:36
void setEventId(int eventid)
Set event id.
Definition: TRGECLDigi0.h:40
void setRawTiming(double raw_timing)
Set raw timing.
Definition: TRGECLDigi0.h:49
TRGECLDigi0(int eventid, int tcid, int ibintime, int beambkgtag, double raw_energy, double raw_timing)
Useful Constructor.
Definition: TRGECLDigi0.h:83
double getRawEnergy() const
Get Energy and Timing Get raw TC energy.
Definition: TRGECLDigi0.h:62
Abstract base class for different kinds of events.