CMS 3D CMS Logo

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

◆ PosCalc

Definition at line 16 of file PFCPositionCalculatorBase.h.

Constructor & Destructor Documentation

◆ PFCPositionCalculatorBase() [1/2]

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:307

◆ ~PFCPositionCalculatorBase()

virtual PFCPositionCalculatorBase::~PFCPositionCalculatorBase ( )
virtualdefault

◆ PFCPositionCalculatorBase() [2/2]

PFCPositionCalculatorBase::PFCPositionCalculatorBase ( const PosCalc )
delete

Member Function Documentation

◆ calculateAndSetPosition()

virtual void PFCPositionCalculatorBase::calculateAndSetPosition ( reco::PFCluster )
pure virtual

◆ calculateAndSetPositions()

virtual void PFCPositionCalculatorBase::calculateAndSetPositions ( reco::PFClusterCollection )
pure virtual

◆ name()

const std::string& PFCPositionCalculatorBase::name ( void  ) const
inline

Definition at line 34 of file PFCPositionCalculatorBase.h.

References _algoName.

Referenced by config.CFG::__str__(), and validation.Sample::digest().

34 { return _algoName; }

◆ operator=()

PosCalc& PFCPositionCalculatorBase::operator= ( const PosCalc )
delete

◆ update()

virtual void PFCPositionCalculatorBase::update ( const edm::EventSetup )
inlinevirtual

Member Data Documentation

◆ _algoName

const std::string PFCPositionCalculatorBase::_algoName
private

Definition at line 40 of file PFCPositionCalculatorBase.h.

Referenced by name().

◆ _minFractionInCalc

const float PFCPositionCalculatorBase::_minFractionInCalc
protected