#include <PFMatchPositions.h>
Definition at line 108 of file PFMatchPositions.h.
◆ Get()
static std::unique_ptr<IPositionProvider> PFMatch::ClusterPositionFactory::Get |
( |
const std::string & |
positionType | ) |
|
|
inlinestatic |
Definition at line 110 of file PFMatchPositions.h.
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;
The documentation for this class was generated from the following file: