1 #ifndef __Basic2DGenericPFlowPositionCalc_H__
2 #define __Basic2DGenericPFlowPositionCalc_H__
20 if( conf.
exists(
"timeResolutionCalcBarrel") ) {
26 if( conf.
exists(
"timeResolutionCalcEndcap") ) {
51 "Basic2DGenericPFlowPositionCalc");
const double _logWeightDenom
Basic2DGenericPFlowPositionCalc(const edm::ParameterSet &conf)
std::unique_ptr< ECALRecHitResolutionProvider > _timeResolutionCalcEndcap
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 &)
const double _minAllowedNorm
ParameterSet const & getParameterSet(std::string const &) const
const int _posCalcNCrystals
Basic2DGenericPFlowPositionCalc & operator=(const Basic2DGenericPFlowPositionCalc &)=delete
std::vector< PFCluster > PFClusterCollection
collection of PFCluster objects
#define DEFINE_EDM_PLUGIN(factory, type, name)
std::unique_ptr< ECALRecHitResolutionProvider > _timeResolutionCalcBarrel