Belle II Software development
ECLEnergyCloseToTrack.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
13namespace Belle2 {
21
22 public:
23
32 m_extTheta(-999.),
33 m_extPhi(-999.),
34 m_extPhiId(-1)
35 {}
36
38 void setEnergy3FWDBarrel(float energy3low) {m_energy3FWDBarrel = energy3low;}
39
42
44 void setEnergy3FWDEndcap(float energy3high) {m_energy3FWDEndcap = energy3high;}
45
48
50 void setEnergy3BWDBarrel(float energy3low) {m_energy3BWDBarrel = energy3low;}
51
54
56 void setEnergy3BWDEndcap(float energy3high) {m_energy3BWDEndcap = energy3high;}
57
60
62 void setExtTheta(float theta) {m_extTheta = theta;}
63
65 float getExtTheta() const {return m_extTheta;}
66
68 void setExtPhi(float phi) {m_extPhi = phi;}
69
71 float getExtPhi() const {return m_extPhi;}
72
74 void setExtPhiId(float phi) {m_extPhiId = phi;}
75
77 float getExtPhiId() const {return m_extPhiId;}
78 private:
79
84 float m_extTheta;
85 float m_extPhi;
86 float m_extPhiId;
90 };
91
93} // end namespace Belle2
Class to store energy information for ECL hits closest to a track.
float getExtPhiId() const
Get m_extPhiId.
float m_energy3BWDBarrel
energy sum of the three ECLCalDigits on the barrel side, BWD
float m_energy3FWDBarrel
energy sum of the three ECLCalDigits on the barrel side, FWD
void setEnergy3FWDBarrel(float energy3low)
Set m_energy3FWDBarrel.
float m_energy3FWDEndcap
energy sum of the three ECLCalDigits on the endcap side, FWD
float getEnergy3FWDBarrel() const
Get m_energy3FWDBarrel.
float getEnergy3BWDBarrel() const
Get m_energy3BFWDBarrel.
ClassDef(ECLEnergyCloseToTrack, 1)
class definition
float m_energy3BWDEndcap
energy sum of the three ECLCalDigits on the endcap side, BWD
float getEnergy3FWDEndcap() const
Get m_energy3FWDEndcap.
float m_extTheta
track extrapolation theta
float getExtPhi() const
Get m_extPhi.
void setEnergy3BWDBarrel(float energy3low)
Set m_energy3FWDBarrel.
void setExtTheta(float theta)
Set m_extTheta.
float m_extPhi
track extrapolation phi
void setEnergy3FWDEndcap(float energy3high)
Set m_energy3FWDEndcap.
void setEnergy3BWDEndcap(float energy3high)
Set m_energy3BWDEndcap.
float getEnergy3BWDEndcap() const
Get m_energy3BWDEndcap.
void setExtPhi(float phi)
Set m_extPhi.
ECLEnergyCloseToTrack()
Default constructor.
void setExtPhiId(float phi)
Set m_extPhiId.
float m_extPhiId
track extrapolation phi id
float getExtTheta() const
Get m_extTheta.
Defines interface for accessing relations of objects in StoreArray.
Abstract base class for different kinds of events.