|
ATLAS Offline Software
|
Go to the documentation of this file.
12 #ifndef PFMATCHPOSITION_H_
13 #define PFMATCHPOSITION_H_
35 for(
unsigned int iLay = 0; iLay < nLay; ++iLay) {
delete m_etaphiInLayer[iLay]; }
95 static std::unique_ptr<IPositionProvider>
Get(
const std::string& positionType) {
96 if (positionType ==
"EM1EtaPhi") {
98 }
else if (positionType ==
"EM2EtaPhi") {
101 std::cerr <<
"TrackPositionFactory\tERROR\tInvalid track position type: \"" << positionType <<
"\"" << std::endl;
110 static std::unique_ptr<IPositionProvider>
Get(
const std::string& positionType) {
111 if (positionType ==
"PlainEtaPhi") {
112 return std::make_unique<ClusterPlainEtaPhiProvider>();
113 }
else if (positionType ==
"GeomCenterEtaPhi") {
114 return std::make_unique<ClusterGeometricalCenterProvider>();
116 std::cerr <<
"ClusterPositionFactory\tERROR\tInvalid cluster position type: \"" << positionType <<
"\"" << std::endl;
EtaPhi getPosition(ICluster *cluster) const
virtual ~TrackEtaPhiInFixedLayersProvider()
std::vector< EtaPhi * > m_etaphiInLayer
virtual ~ClusterPlainEtaPhiProvider()
ClusterGeometricalCenterProvider()
ClusterPlainEtaPhiProvider()
static const double m_etaPhiLowerLimit
static std::unique_ptr< IPositionProvider > Get(const std::string &positionType)
virtual ~EtaPhiWithVariance()
TrackEtaPhiInFixedLayersProvider(LayerType barrelLayer, LayerType endcapLayer, LayerType fcalLayer)
EtaPhi getPosition(ITrack *track) const
EtaPhiWithVariance getPosition(ICluster *cluster) const
static std::unique_ptr< IPositionProvider > Get(const std::string &positionType)
virtual ~AllLayersEtaPhi()
EtaPhiWithVariance(eflowEtaPhiPosition etaphi, double etaVar, double phiVar)
virtual ~ClusterGeometricalCenterProvider()
EtaPhi(const eflowEtaPhiPosition &etaphi)