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>
12
namespace
Belle2
{
25
class
ECLDspWithExtraMCInfo
:
public
ECLDsp
{
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
84
double
m_hadronEnergyDep
{0};
85
double
m_energyDep
{0};
86
double
m_energyConversion
{0};
87
double
m_flighttime
{0};
88
double
m_timeshift
{0};
89
double
m_timetosensor
{0};
91
ClassDef
(
ECLDspWithExtraMCInfo
, 1);
93
};
95
}
// end namespace Belle2
96
Belle2::ECLDspWithExtraMCInfo
Class to store ECL ShaperDSP waveform ADC data and additional information for ML studies.
Definition:
ECLDspWithExtraMCInfo.h:25
Belle2::ECLDspWithExtraMCInfo::setEnergyDep
void setEnergyDep(double input)
Set total true deposited energy.
Definition:
ECLDspWithExtraMCInfo.h:29
Belle2::ECLDspWithExtraMCInfo::m_timeshift
double m_timeshift
Time shift (weighted by true energy)
Definition:
ECLDspWithExtraMCInfo.h:88
Belle2::ECLDspWithExtraMCInfo::setFlightTime
void setFlightTime(double input)
Set true flight time (weighted by true deposited energy)
Definition:
ECLDspWithExtraMCInfo.h:37
Belle2::ECLDspWithExtraMCInfo::setHadronEnergyDep
void setHadronEnergyDep(double input)
Set total true deposited hadron energy.
Definition:
ECLDspWithExtraMCInfo.h:33
Belle2::ECLDspWithExtraMCInfo::getFlightTime
double getFlightTime() const
get true flight time
Definition:
ECLDspWithExtraMCInfo.h:69
Belle2::ECLDspWithExtraMCInfo::getEnergyDep
double getEnergyDep() const
get true deposited energy
Definition:
ECLDspWithExtraMCInfo.h:59
Belle2::ECLDspWithExtraMCInfo::ClassDef
ClassDef(ECLDspWithExtraMCInfo, 1)
ClassDef.
Belle2::ECLDspWithExtraMCInfo::setTimeShift
void setTimeShift(double input)
Set timeshift (weighted by true deposited energy)
Definition:
ECLDspWithExtraMCInfo.h:41
Belle2::ECLDspWithExtraMCInfo::getTimeShift
double getTimeShift() const
get time shift
Definition:
ECLDspWithExtraMCInfo.h:74
Belle2::ECLDspWithExtraMCInfo::getHadronEnergyDep
double getHadronEnergyDep() const
get true deposited hadron energy
Definition:
ECLDspWithExtraMCInfo.h:54
Belle2::ECLDspWithExtraMCInfo::m_energyDep
double m_energyDep
True deposited energy.
Definition:
ECLDspWithExtraMCInfo.h:85
Belle2::ECLDspWithExtraMCInfo::getEnergyConversion
double getEnergyConversion() const
get energy conversion factor
Definition:
ECLDspWithExtraMCInfo.h:64
Belle2::ECLDspWithExtraMCInfo::setTimeToSensor
void setTimeToSensor(double input)
Set time to sensor (weighted by true deposited energy)
Definition:
ECLDspWithExtraMCInfo.h:45
Belle2::ECLDspWithExtraMCInfo::m_timetosensor
double m_timetosensor
time to sensor (weighted by true energy)
Definition:
ECLDspWithExtraMCInfo.h:89
Belle2::ECLDspWithExtraMCInfo::m_energyConversion
double m_energyConversion
Conversion from energy to ADC.
Definition:
ECLDspWithExtraMCInfo.h:86
Belle2::ECLDspWithExtraMCInfo::getTimeToSensor
double getTimeToSensor() const
get time to sensor
Definition:
ECLDspWithExtraMCInfo.h:79
Belle2::ECLDspWithExtraMCInfo::setEnergyConversion
void setEnergyConversion(double input)
Set energy conversion factor.
Definition:
ECLDspWithExtraMCInfo.h:49
Belle2::ECLDspWithExtraMCInfo::m_flighttime
double m_flighttime
True flight time (weighted by true energy)
Definition:
ECLDspWithExtraMCInfo.h:87
Belle2::ECLDspWithExtraMCInfo::m_hadronEnergyDep
double m_hadronEnergyDep
True deposited hadron energy.
Definition:
ECLDspWithExtraMCInfo.h:84
Belle2::ECLDsp
Class to store ECL ShaperDSP waveform ADC data.
Definition:
ECLDsp.h:25
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:17
ecl
dataobjects
include
ECLDspWithExtraMCInfo.h
Generated on Fri Nov 8 2024 02:36:34 for Belle II Software by
1.9.6