Belle II Software development
TRGECLFAMAna.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 TRGECLFAMANA_H
10#define TRGECLFAMANA_H
11
12#include <TObject.h>
13
14namespace Belle2 {
21 class TRGECLFAMAna : public TObject {
22 public:
23
27 int m_tcid;
48 void setEventId(int eventid) { m_eventid = eventid; }
50 void setTCId(int tcid) { m_tcid = tcid; }
52 void setPhiId(int phiid) { m_phiid = phiid; }
54 void setThetaId(int thetaid) { m_thetaid = thetaid; }
57 void setRawEnergy(double raw_energy) { m_raw_energy = raw_energy; }
59 void setRawTiming(double raw_timing) { m_raw_timing = raw_timing; }
61 void setRawEnergyTot(double raw_energy_tot) { m_raw_energy_tot = raw_energy_tot; }
63 void setRawTimingTot(double raw_timing_tot) { m_raw_timing_tot = raw_timing_tot; }
65 void setFitEnergy(double fit_energy) { m_fit_energy = fit_energy; }
67 void setFitTiming(double fit_timing) { m_fit_timing = fit_timing; }
69 void setBeamBkgTag(int beambkgtag) { m_beambkgtag = beambkgtag; }
70
71
73 int getEventId() const { return m_eventid; }
75 int getTCId() const { return m_tcid; }
77 int getPhiId() const { return m_phiid; }
79 int getThetaId() const { return m_thetaid; }
82 double getRawEnergy() const {return m_raw_energy; }
84 double getRawTiming() const {return m_raw_timing; }
86 double getRawEnergyTot() const {return m_raw_energy_tot; }
88 double getRawTimingTot() const {return m_raw_timing_tot; }
90 double getFitEnergy() const {return m_fit_energy; }
92 double getFitTiming() const {return m_fit_timing; }
94 int getBeamBkgTag() const {return m_beambkgtag; }
95
96
100 {
101 m_eventid = 0;
102 m_tcid = 0;
103 m_phiid = 0;
104 m_thetaid = 0;
105 m_beambkgtag = 0;
106
107 m_raw_energy = 0;
108 m_raw_timing = 0;
111 m_fit_energy = 0;
112 m_fit_timing = 0;
113
114
115
116
117 }
118
121 int eventid,
122 int tcid,
123 int phiid,
124 int thetaid,
125 int beambkgtag,
126 double raw_energy,
127 double raw_timing,
128 double raw_energy_tot,
129 double raw_timing_tot,
130 double fit_energy,
131 double fit_timing
132 )
133 {
134 m_eventid = eventid;
135 m_tcid = tcid;
136 m_phiid = phiid;
137 m_thetaid = thetaid;
138 m_raw_energy = raw_energy;
139 m_raw_timing = raw_timing;
140 m_raw_energy_tot = raw_energy_tot;
141 m_raw_timing_tot = raw_timing_tot;
142 m_fit_energy = fit_energy;
143 m_fit_timing = fit_timing;
144 m_beambkgtag = beambkgtag;
145
146
147 }
149 ClassDef(TRGECLFAMAna, 1); /*< the class title */
150 };
152}
153
154#endif
Digitize result.
Definition: TRGECLFAMAna.h:21
TRGECLFAMAna(int eventid, int tcid, int phiid, int thetaid, int beambkgtag, double raw_energy, double raw_timing, double raw_energy_tot, double raw_timing_tot, double fit_energy, double fit_timing)
Useful Constructor.
Definition: TRGECLFAMAna.h:120
void setRawEnergyTot(double raw_energy_tot)
Set Raw total Energy.
Definition: TRGECLFAMAna.h:61
int getPhiId() const
Get phi Id.
Definition: TRGECLFAMAna.h:77
double m_raw_energy
TC Energy and Timing Raw TC energy.
Definition: TRGECLFAMAna.h:34
int m_phiid
phi id of TC
Definition: TRGECLFAMAna.h:29
void setBeamBkgTag(int beambkgtag)
Set Beam background veto.
Definition: TRGECLFAMAna.h:69
TRGECLFAMAna()
Empty constructor Recommended for ROOT IO.
Definition: TRGECLFAMAna.h:99
int m_eventid
Event Id.
Definition: TRGECLFAMAna.h:25
void setRawTimingTot(double raw_timing_tot)
Set Raw Total Timing.
Definition: TRGECLFAMAna.h:63
double m_fit_energy
Fitting energy.
Definition: TRGECLFAMAna.h:42
double m_raw_energy_tot
Raw TC total energy.
Definition: TRGECLFAMAna.h:38
double getRawTimingTot() const
Get raw total timing.
Definition: TRGECLFAMAna.h:88
void setTCId(int tcid)
Set TC id.
Definition: TRGECLFAMAna.h:50
double getFitTiming() const
Get fit timing.
Definition: TRGECLFAMAna.h:92
int m_beambkgtag
beam bkg tag
Definition: TRGECLFAMAna.h:46
void setFitTiming(double fit_timing)
Set fitting timing.
Definition: TRGECLFAMAna.h:67
void setThetaId(int thetaid)
Set Theta id.
Definition: TRGECLFAMAna.h:54
double getRawEnergyTot() const
Get raw total energy.
Definition: TRGECLFAMAna.h:86
int getThetaId() const
Get theta Id.
Definition: TRGECLFAMAna.h:79
int getEventId() const
Get event id.
Definition: TRGECLFAMAna.h:73
ClassDef(TRGECLFAMAna, 1)
the class title
int getBeamBkgTag() const
Get beam background tag.
Definition: TRGECLFAMAna.h:94
void setPhiId(int phiid)
Set Phi id.
Definition: TRGECLFAMAna.h:52
double getRawTiming() const
Get raw timing.
Definition: TRGECLFAMAna.h:84
int getTCId() const
Get TC id.
Definition: TRGECLFAMAna.h:75
void setRawEnergy(double raw_energy)
Set Energy and Timing Set Raw enrgy.
Definition: TRGECLFAMAna.h:57
double m_raw_timing
Raw TC timing.
Definition: TRGECLFAMAna.h:36
int m_thetaid
Theta id of TC.
Definition: TRGECLFAMAna.h:31
void setEventId(int eventid)
Set event id.
Definition: TRGECLFAMAna.h:48
void setRawTiming(double raw_timing)
Set Raw Timing.
Definition: TRGECLFAMAna.h:59
double getRawEnergy() const
Get Energy and Timing Get raw energy.
Definition: TRGECLFAMAna.h:82
double m_raw_timing_tot
Raw TC total timing.
Definition: TRGECLFAMAna.h:40
double getFitEnergy() const
get fit energy
Definition: TRGECLFAMAna.h:90
void setFitEnergy(double fit_energy)
Set fitting energy.
Definition: TRGECLFAMAna.h:65
double m_fit_timing
Fitting timing.
Definition: TRGECLFAMAna.h:44
Abstract base class for different kinds of events.