#include <PFMatchPositions.h>
Definition at line 108 of file PFMatchPositions.h.
◆ Get()
| std::unique_ptr< IPositionProvider > PFMatch::ClusterPositionFactory::Get |
( |
const std::string & | positionType | ) |
|
|
inlinestatic |
Definition at line 110 of file PFMatchPositions.h.
110 {
111 if (positionType == "PlainEtaPhi") {
112 return std::make_unique<ClusterPlainEtaPhiProvider>();
113 } else if (positionType == "GeomCenterEtaPhi") {
114 return std::make_unique<ClusterGeometricalCenterProvider>();
115 } else {
116 std::cerr << "ClusterPositionFactory\tERROR\tInvalid cluster position type: \"" << positionType << "\"" << std::endl;
117 assert(false);
118 return 0;
119 }
120 }
The documentation for this class was generated from the following file: