Go to the documentation of this file. 1 #include "fmt/format.h"
26 fmt::print(
"{:=^120} \n",
" EcalBaseData ");
27 fmt::print(
"{:^15} {:^15}\n",
"TotalHits",
"ShowerHits");
31 fmt::print(
" {:^15}",
" ");
36 fmt::print(
" {:<15}",
"Energy");
38 fmt::print(
" {:>20f}",
Energy[recoType]);
43 fmt::print(
" {:^15}",
" ");
48 fmt::print(
" {:<15}",
"BDT");
50 fmt::print(
" {:>20f}",
BDT[bdtType]);
55 fmt::print(
"\n COG: ({:5.2f}, {:5.2f}, {:5.2f}) Direction: ({:5.2f}, {:5.2f}, {:5.2f})\n",
GetCOG().x(),
59 fmt::print(
"{:-^120}\n",
"");
63 fmt::print(
"{:=^120} \n",
" EcalPlusData ");
64 fmt::print(
"{:^15} {:^15}\n",
"EcalKNShowers",
"EcalKHadronicFlag");
73 fmt::print(
" {:<15}",
"MaxEnergyFraction:");
74 for (
unsigned int iLayer = 0; iLayer < 18; iLayer++) {
81 fmt::print(
"{:-^120}\n",
"");
std::vector< TVector3 > m_pointAndDir
static const std::array< std::string, numEnergyRecos > recoNames
static const std::array< std::string, numBDTTypes > BDTNames
static const std::string BranchName
int EcalKNShowers
Number of reconstructed showers (W. Xu reconstruction)
const TVector3 & GetDirection() const
Get the shower Direction.
int EcalKHadronicFlag
Hadronic interaction flag (W. Xu reconstruction)
Ecal container class description.
EcalLikelihoodVariable< float > Likelihood
Likelihood variable for e/p separation (W. Xu reconstruction). See Ecal::LikelihoodType for a list of...
void Clear()
Clear container content.
short ShowerHits
Total number of Ecal hits in the shower.
constexpr std::array< BDTType, numBDTTypes > BDTTypes
std::enable_if< std::is_convertible< Key, size_t >::value, bool >::type ContainsKeys(const std::array< T, N > &container, Key key)
EcalBDTVariable< float > BDT
Ecal BDT estimator for e/p separation. See Ecal::BDTType for a list of available types.
void Dump() const
Dump on screen container content.
short TotalHits
Total number of Ecal hits.
const TVector3 & GetCOG() const
Get the shower COG coordinates.
EcalEnergyVariable< float > Energy
Reconstructed shower energy. See Ecal::EnergyRecoType for a list of available energy reconstructions.
static const std::string BranchName
void Dump() const
Dump on screen container content.
LayerVariable< float > MaxEnergyFraction
Energy fraction in the cell with the highest edep, for each Ecal layer.
constexpr std::array< EnergyRecoType, numEnergyRecos > recoTypes
void Clear()
Clear container content.