CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes | Private Types | Private Attributes
PFCPositionCalculatorBase Class Referenceabstract

#include <PFCPositionCalculatorBase.h>

Inheritance diagram for PFCPositionCalculatorBase:
Basic2DGenericPFlowPositionCalc Cluster3DPCACalculator ECAL2DPositionCalcWithDepthCorr

Public Member Functions

virtual void calculateAndSetPosition (reco::PFCluster &)=0
 
virtual void calculateAndSetPositions (reco::PFClusterCollection &)=0
 
const std::string & name () const
 
PosCalcoperator= (const PosCalc &)=delete
 
 PFCPositionCalculatorBase (const edm::ParameterSet &conf, edm::ConsumesCollector &cc)
 
 PFCPositionCalculatorBase (const PosCalc &)=delete
 
virtual void update (const edm::EventSetup &)
 
virtual ~PFCPositionCalculatorBase ()=default
 

Protected Attributes

const float _minFractionInCalc
 

Private Types

typedef PFCPositionCalculatorBase PosCalc
 

Private Attributes

const std::string _algoName
 

Detailed Description

Definition at line 15 of file PFCPositionCalculatorBase.h.

Member Typedef Documentation

Definition at line 16 of file PFCPositionCalculatorBase.h.

Constructor & Destructor Documentation

PFCPositionCalculatorBase::PFCPositionCalculatorBase ( const edm::ParameterSet conf,
edm::ConsumesCollector cc 
)
inline

Definition at line 19 of file PFCPositionCalculatorBase.h.

20  : _minFractionInCalc(conf.getParameter<double>("minFractionInCalc")),
21  _algoName(conf.getParameter<std::string>("algoName")) {}
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
virtual PFCPositionCalculatorBase::~PFCPositionCalculatorBase ( )
virtualdefault
PFCPositionCalculatorBase::PFCPositionCalculatorBase ( const PosCalc )
delete

Member Function Documentation

virtual void PFCPositionCalculatorBase::calculateAndSetPosition ( reco::PFCluster )
pure virtual
virtual void PFCPositionCalculatorBase::calculateAndSetPositions ( reco::PFClusterCollection )
pure virtual
const std::string& PFCPositionCalculatorBase::name ( void  ) const
inline
PosCalc& PFCPositionCalculatorBase::operator= ( const PosCalc )
delete
virtual void PFCPositionCalculatorBase::update ( const edm::EventSetup )
inlinevirtual

Member Data Documentation

const std::string PFCPositionCalculatorBase::_algoName
private

Definition at line 40 of file PFCPositionCalculatorBase.h.

Referenced by name().

const float PFCPositionCalculatorBase::_minFractionInCalc
protected