File indexing completed on 2026-04-07 08:08:32
0001 #include "ClusterSmallInfo.h"
0002
0003 ClusterSmallInfo::ClusterSmallInfo() :
0004 _eta(0),
0005 _phi(0),
0006 _ecore(0),
0007 _energy(0),
0008 _chi2(0)
0009 {
0010 }
0011
0012 ClusterSmallInfo::ClusterSmallInfo(const float& eta,
0013 const float& phi,
0014 const float& ecore,
0015 const float& energy,
0016 const float& chi2) :
0017 _eta(eta),
0018 _phi(phi),
0019 _ecore(ecore),
0020 _energy(energy),
0021 _chi2(chi2)
0022 {
0023 }
0024
0025 void ClusterSmallInfo::Reset()
0026 {
0027 _eta = 0;
0028 _phi = 0;
0029 _ecore = 0;
0030 _energy = 0;
0031 _chi2 = 0;
0032 }
0033
0034 void ClusterSmallInfo::Clear(Option_t* )
0035 {
0036 _eta = 0;
0037 _phi = 0;
0038 _ecore = 0;
0039 _energy = 0;
0040 _chi2 = 0;
0041 }
0042
0043 void ClusterSmallInfo::identify(std::ostream &os) const
0044 {
0045 os << "ClusterSmallInfo with properties: "
0046 << "eta = " << _eta << ", "
0047 << "phi = " << _phi << ", "
0048 << "ecore = " << _ecore << ", "
0049 << "energy = " << _energy << ", "
0050 << "chi2 = " << _chi2 << std::endl;
0051 }
0052
0053 void ClusterSmallInfo::set(const float& eta,
0054 const float& phi,
0055 const float& ecore,
0056 const float& energy,
0057 const float& chi2)
0058 {
0059 _eta = eta;
0060 _phi = phi;
0061 _ecore = ecore;
0062 _energy = energy;
0063 _chi2 = chi2;
0064 }