1 #ifndef __PFClusterBuilderBase_H__ 2 #define __PFClusterBuilderBase_H__ 26 _minFractionToKeep(conf.getParameter<double>(
"minFractionToKeep")),
27 _algoName(conf.getParameter<
std::
string>(
"algoName")) {
28 if (conf.
exists(
"positionCalc")) {
37 PFCBB& operator=(
const PFCBB&) =
delete;
42 const std::vector<bool>& seedable,
46 o <<
"PFClusterBuilder with algo \"" << _algoName <<
"\" located " << _nSeeds <<
" seeds and built " 47 << _nClustersFound <<
" PFClusters from those seeds" 48 <<
" using position calculation: " << _positionCalc->name() <<
"." << std::endl;
52 void reset() { _nSeeds = _nClustersFound = 0; }
T getParameter(std::string const &) const
std::ostream & operator<<(std::ostream &o) const
std::unique_ptr< PosCalc > _positionCalc
bool exists(std::string const ¶meterName) const
checks if a parameter exists
edmplugin::PluginFactory< PFClusterBuilderBase *(const edm::ParameterSet &)> PFClusterBuilderFactory
PFClusterBuilderBase PFCBB
ParameterSet const & getParameterSet(std::string const &) const
virtual void update(const edm::EventSetup &)
const float _minFractionToKeep
PFClusterBuilderBase(const edm::ParameterSet &conf)
std::vector< PFCluster > PFClusterCollection
collection of PFCluster objects
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.
PFCPositionCalculatorBase PosCalc