Belle II Software development
ECLDspWithExtraMCInfo.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#pragma once
10
11#include <framework/datastore/RelationsObject.h>
12namespace Belle2 {
26 public:
29 void setEnergyDep(double input) { m_energyDep = input; }
30
33 void setHadronEnergyDep(double input) { m_hadronEnergyDep = input; }
34
37 void setFlightTime(double input) { m_flighttime = input; }
38
41 void setTimeShift(double input) { m_timeshift = input; }
42
45 void setTimeToSensor(double input) { m_timetosensor = input; }
46
49 void setEnergyConversion(double input) { m_energyConversion = input; }
50
54 double getHadronEnergyDep() const { return m_hadronEnergyDep; }
55
59 double getEnergyDep() const { return m_energyDep; }
60
64 double getEnergyConversion() const { return m_energyConversion; }
65
69 double getFlightTime() const { return m_flighttime; }
70
74 double getTimeShift() const { return m_timeshift; }
75
79 double getTimeToSensor() const { return m_timetosensor; }
80
81
82 private:
83
85 double m_energyDep{0};
87 double m_flighttime{0};
88 double m_timeshift{0};
89 double m_timetosensor{0};
93 };
95} // end namespace Belle2
96
Class to store ECL ShaperDSP waveform ADC data and additional information for ML studies.
void setEnergyDep(double input)
Set total true deposited energy.
double m_timeshift
Time shift (weighted by true energy)
void setFlightTime(double input)
Set true flight time (weighted by true deposited energy)
void setHadronEnergyDep(double input)
Set total true deposited hadron energy.
double getFlightTime() const
get true flight time
double getEnergyDep() const
get true deposited energy
ClassDef(ECLDspWithExtraMCInfo, 1)
ClassDef.
void setTimeShift(double input)
Set timeshift (weighted by true deposited energy)
double getTimeShift() const
get time shift
double getHadronEnergyDep() const
get true deposited hadron energy
double m_energyDep
True deposited energy.
double getEnergyConversion() const
get energy conversion factor
void setTimeToSensor(double input)
Set time to sensor (weighted by true deposited energy)
double m_timetosensor
time to sensor (weighted by true energy)
double m_energyConversion
Conversion from energy to ADC.
double getTimeToSensor() const
get time to sensor
void setEnergyConversion(double input)
Set energy conversion factor.
double m_flighttime
True flight time (weighted by true energy)
double m_hadronEnergyDep
True deposited hadron energy.
Class to store ECL ShaperDSP waveform ADC data.
Definition: ECLDsp.h:25
Abstract base class for different kinds of events.