1 #ifndef __PFClusterBuilderBase_H__ 2 #define __PFClusterBuilderBase_H__ 23 _nSeeds(0), _nClustersFound(0),
24 _minFractionToKeep(conf.getParameter<double>(
"minFractionToKeep")),
25 _algoName(conf.getParameter<
std::
string>(
"algoName")) {
26 if( conf.
exists(
"positionCalc") ) {
36 PFCBB& operator=(
const PFCBB&) =
delete;
41 const std::vector<bool>& seedable,
45 o <<
"PFClusterBuilder with algo \"" << _algoName
46 <<
"\" located " << _nSeeds <<
" seeds and built " 47 << _nClustersFound <<
" PFClusters from those seeds" 48 <<
" using position calculation: " << _positionCalc->name()
53 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
PFClusterBuilderBase PFCBB
edmplugin::PluginFactory< PFClusterBuilderBase *(const edm::ParameterSet &) > PFClusterBuilderFactory
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.
T get(const Candidate &c)
PFCPositionCalculatorBase PosCalc