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)
 
 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 14 of file PFCPositionCalculatorBase.h.

Member Typedef Documentation

◆ PosCalc

Definition at line 15 of file PFCPositionCalculatorBase.h.

Constructor & Destructor Documentation

◆ PFCPositionCalculatorBase() [1/2]

PFCPositionCalculatorBase::PFCPositionCalculatorBase ( const edm::ParameterSet conf)
inline

Definition at line 18 of file PFCPositionCalculatorBase.h.

19  : _minFractionInCalc(conf.getParameter<double>("minFractionInCalc")),
20  _algoName(conf.getParameter<std::string>("algoName")) {}

◆ ~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 33 of file PFCPositionCalculatorBase.h.

33 { return _algoName; }

References _algoName.

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

◆ 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 39 of file PFCPositionCalculatorBase.h.

Referenced by name().

◆ _minFractionInCalc

const float PFCPositionCalculatorBase::_minFractionInCalc
protected
PFCPositionCalculatorBase::_minFractionInCalc
const float _minFractionInCalc
Definition: PFCPositionCalculatorBase.h:36
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
PFCPositionCalculatorBase::_algoName
const std::string _algoName
Definition: PFCPositionCalculatorBase.h:39
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303