ATLAS Offline Software
Functions
PFEnergyPredictorTool.cxx File Reference
#include "eflowRec/PFEnergyPredictorTool.h"
#include "eflowRec/eflowCaloObject.h"
#include "eflowRec/eflowTrackClusterLink.h"
#include "eflowRec/eflowRecCluster.h"
#include "CaloGeoHelpers/CaloSampling.h"
Include dependency graph for PFEnergyPredictorTool.cxx:

Go to the source code of this file.

Functions

std::array< double, 19 > getEtaTrackCalo (const eflowTrackCaloPoints &trackCaloPoints)
 
std::array< double, 19 > getPhiTrackCalo (const eflowTrackCaloPoints &trackCaloPoints)
 

Function Documentation

◆ getEtaTrackCalo()

std::array<double,19> getEtaTrackCalo ( const eflowTrackCaloPoints trackCaloPoints)

Definition at line 114 of file PFEnergyPredictorTool.cxx.

114  {
115  return std::array<double,19> { trackCaloPoints.getEta(eflowCalo::EMB1), trackCaloPoints.getEta(eflowCalo::EMB2), trackCaloPoints.getEta(eflowCalo::EMB3),
116  trackCaloPoints.getEta(eflowCalo::EME1), trackCaloPoints.getEta(eflowCalo::EME2), trackCaloPoints.getEta(eflowCalo::EME3),
117  trackCaloPoints.getEta(eflowCalo::HEC1), trackCaloPoints.getEta(eflowCalo::HEC2), trackCaloPoints.getEta(eflowCalo::HEC3),trackCaloPoints.getEta(eflowCalo::HEC4),
118  trackCaloPoints.getTileEta(CaloSampling::TileBar0),trackCaloPoints.getTileEta(CaloSampling::TileBar1),trackCaloPoints.getTileEta(CaloSampling::TileBar2),
119  trackCaloPoints.getTileEta(CaloSampling::TileGap1),trackCaloPoints.getTileEta(CaloSampling::TileGap2),trackCaloPoints.getTileEta(CaloSampling::TileGap3),
120  trackCaloPoints.getTileEta(CaloSampling::TileExt0),trackCaloPoints.getTileEta(CaloSampling::TileExt1),trackCaloPoints.getTileEta(CaloSampling::TileExt2)};
121 }

◆ getPhiTrackCalo()

std::array<double,19> getPhiTrackCalo ( const eflowTrackCaloPoints trackCaloPoints)

Definition at line 124 of file PFEnergyPredictorTool.cxx.

124  {
125  return std::array<double,19> { trackCaloPoints.getPhi(eflowCalo::EMB1), trackCaloPoints.getPhi(eflowCalo::EMB2), trackCaloPoints.getPhi(eflowCalo::EMB3),
126  trackCaloPoints.getPhi(eflowCalo::EME1), trackCaloPoints.getPhi(eflowCalo::EME2), trackCaloPoints.getPhi(eflowCalo::EME3),
127  trackCaloPoints.getPhi(eflowCalo::HEC1), trackCaloPoints.getPhi(eflowCalo::HEC2), trackCaloPoints.getPhi(eflowCalo::HEC3),trackCaloPoints.getPhi(eflowCalo::HEC4),
128  trackCaloPoints.getTilePhi(CaloSampling::TileBar0),trackCaloPoints.getTilePhi(CaloSampling::TileBar1),trackCaloPoints.getTilePhi(CaloSampling::TileBar2),
129  trackCaloPoints.getTilePhi(CaloSampling::TileGap1),trackCaloPoints.getTilePhi(CaloSampling::TileGap2),trackCaloPoints.getTilePhi(CaloSampling::TileGap3),
130  trackCaloPoints.getTilePhi(CaloSampling::TileExt0),trackCaloPoints.getTilePhi(CaloSampling::TileExt1),trackCaloPoints.getTilePhi(CaloSampling::TileExt2)};
131 }
eflowCalo::EME3
@ EME3
Definition: eflowCaloRegions.h:46
CaloCell_ID_FCS::TileExt2
@ TileExt2
Definition: FastCaloSim_CaloCell_ID.h:39
eflowCalo::EMB2
@ EMB2
Definition: eflowCaloRegions.h:45
CaloCell_ID_FCS::TileExt0
@ TileExt0
Definition: FastCaloSim_CaloCell_ID.h:37
CaloCell_ID_FCS::TileBar1
@ TileBar1
Definition: FastCaloSim_CaloCell_ID.h:32
CaloCell_ID_FCS::TileGap3
@ TileGap3
Definition: FastCaloSim_CaloCell_ID.h:36
eflowTrackCaloPoints::getPhi
double getPhi(eflowCalo::LAYER layer) const
Definition: eflowTrackCaloPoints.h:44
eflowCalo::HEC2
@ HEC2
Definition: eflowCaloRegions.h:47
CaloCell_ID_FCS::TileBar0
@ TileBar0
Definition: FastCaloSim_CaloCell_ID.h:31
CaloCell_ID_FCS::TileGap2
@ TileGap2
Definition: FastCaloSim_CaloCell_ID.h:35
eflowCalo::HEC4
@ HEC4
Definition: eflowCaloRegions.h:47
eflowCalo::EME2
@ EME2
Definition: eflowCaloRegions.h:46
eflowCalo::HEC1
@ HEC1
Definition: eflowCaloRegions.h:47
eflowCalo::EMB1
@ EMB1
Definition: eflowCaloRegions.h:45
CaloCell_ID_FCS::TileGap1
@ TileGap1
Definition: FastCaloSim_CaloCell_ID.h:34
eflowTrackCaloPoints::getTileEta
double getTileEta(CaloCell_ID::CaloSample layer) const
Definition: eflowTrackCaloPoints.h:46
CaloCell_ID_FCS::TileExt1
@ TileExt1
Definition: FastCaloSim_CaloCell_ID.h:38
eflowCalo::HEC3
@ HEC3
Definition: eflowCaloRegions.h:47
eflowCalo::EMB3
@ EMB3
Definition: eflowCaloRegions.h:45
eflowTrackCaloPoints::getTilePhi
double getTilePhi(CaloCell_ID::CaloSample layer) const
Definition: eflowTrackCaloPoints.h:47
eflowTrackCaloPoints::getEta
double getEta(eflowCalo::LAYER layer) const
Definition: eflowTrackCaloPoints.h:43
CaloCell_ID_FCS::TileBar2
@ TileBar2
Definition: FastCaloSim_CaloCell_ID.h:33
eflowCalo::EME1
@ EME1
Definition: eflowCaloRegions.h:46