CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes | Private Attributes
citk::IsolationConeDefinitionBase Class Referenceabstract

#include <CITKIsolationConeDefinitionBase.h>

Inheritance diagram for citk::IsolationConeDefinitionBase:
ElectronPFIsolationWithConeVeto ElectronPFIsolationWithMapBasedVeto MuonPFIsolationWithConeVeto PhotonPFIsolationWithConeVeto PhotonPFIsolationWithMapBasedVeto

Public Member Functions

const std::string & additionalCode () const
 
virtual void getEventInfo (const edm::Event &)
 
virtual void getEventSetupInfo (const edm::EventSetup &)
 
virtual bool isInIsolationCone (const reco::CandidatePtr &physob, const reco::CandidatePtr &other) const =0
 
 IsolationConeDefinitionBase (const edm::ParameterSet &c)
 
 IsolationConeDefinitionBase (const IsolationConeDefinitionBase &)=delete
 
const std::string & name () const
 
IsolationConeDefinitionBaseoperator= (const IsolationConeDefinitionBase &)=delete
 
virtual void setConsumes (edm::ConsumesCollector)=0
 
virtual ~IsolationConeDefinitionBase ()
 Destructor. More...
 

Protected Attributes

std::string _additionalCode
 
const float _coneSize2
 

Private Attributes

const std::string _name
 

Detailed Description

Definition at line 17 of file CITKIsolationConeDefinitionBase.h.

Constructor & Destructor Documentation

◆ IsolationConeDefinitionBase() [1/2]

citk::IsolationConeDefinitionBase::IsolationConeDefinitionBase ( const edm::ParameterSet c)
inline

Definition at line 19 of file CITKIsolationConeDefinitionBase.h.

20  : _coneSize2(std::pow(c.getParameter<double>("coneSize"), 2.0)),
21  _name(c.getParameter<std::string>("isolationAlgo")) {}
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29

◆ IsolationConeDefinitionBase() [2/2]

citk::IsolationConeDefinitionBase::IsolationConeDefinitionBase ( const IsolationConeDefinitionBase )
delete

◆ ~IsolationConeDefinitionBase()

virtual citk::IsolationConeDefinitionBase::~IsolationConeDefinitionBase ( )
inlinevirtual

Destructor.

Definition at line 36 of file CITKIsolationConeDefinitionBase.h.

36 {}

Member Function Documentation

◆ additionalCode()

const std::string& citk::IsolationConeDefinitionBase::additionalCode ( ) const
inline

◆ getEventInfo()

virtual void citk::IsolationConeDefinitionBase::getEventInfo ( const edm::Event )
inlinevirtual

◆ getEventSetupInfo()

virtual void citk::IsolationConeDefinitionBase::getEventSetupInfo ( const edm::EventSetup )
inlinevirtual

Definition at line 25 of file CITKIsolationConeDefinitionBase.h.

25 {}

◆ isInIsolationCone()

virtual bool citk::IsolationConeDefinitionBase::isInIsolationCone ( const reco::CandidatePtr physob,
const reco::CandidatePtr other 
) const
pure virtual

◆ name()

const std::string& citk::IsolationConeDefinitionBase::name ( void  ) const
inline

◆ operator=()

IsolationConeDefinitionBase& citk::IsolationConeDefinitionBase::operator= ( const IsolationConeDefinitionBase )
delete

◆ setConsumes()

virtual void citk::IsolationConeDefinitionBase::setConsumes ( edm::ConsumesCollector  )
pure virtual

Member Data Documentation

◆ _additionalCode

std::string citk::IsolationConeDefinitionBase::_additionalCode
protected

◆ _coneSize2

const float citk::IsolationConeDefinitionBase::_coneSize2
protected

◆ _name

const std::string citk::IsolationConeDefinitionBase::_name
private