1 #ifndef __Basic2DGenericPFlowPositionCalc_H__ 2 #define __Basic2DGenericPFlowPositionCalc_H__ 22 if( conf.
exists(
"timeResolutionCalcBarrel") ) {
28 if( conf.
exists(
"timeResolutionCalcEndcap") ) {
40 edm::LogError(
"Basic2DGenericPFlowPositionCalc") <<
"posCalcNCrystals not valid";
66 "Basic2DGenericPFlowPositionCalc");
Basic2DGenericPFlowPositionCalc(const edm::ParameterSet &conf)
void calculateAndSetPositionActual(reco::PFCluster &) const
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
bool exists(std::string const ¶meterName) const
checks if a parameter exists
void calculateAndSetPositions(reco::PFClusterCollection &)
void calculateAndSetPosition(reco::PFCluster &)
ParameterSet const & getParameterSet(std::string const &) const
std::unique_ptr< CaloRecHitResolutionProvider > _timeResolutionCalcBarrel
const int _posCalcNCrystals
std::unique_ptr< CaloRecHitResolutionProvider > _timeResolutionCalcEndcap
Basic2DGenericPFlowPositionCalc & operator=(const Basic2DGenericPFlowPositionCalc &)=delete
std::vector< PFCluster > PFClusterCollection
collection of PFCluster objects
#define DEFINE_EDM_PLUGIN(factory, type, name)
const float _minAllowedNorm
const float _logWeightDenom