CMS 3D CMS Logo

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

#include <CITKIsolationConeDefinitionBase.h>

Inheritance diagram for citk::IsolationConeDefinitionBase:
ElectronPFIsolationWithConeVeto

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

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

Definition at line 19 of file CITKIsolationConeDefinitionBase.h.

19  :
20  _coneSize2(std::pow(c.getParameter<double>("coneSize"),2.0)),
21  _name(c.getParameter<std::string>("isolationAlgo")) {
22  }
T getParameter(std::string const &) const
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:40
citk::IsolationConeDefinitionBase::IsolationConeDefinitionBase ( const IsolationConeDefinitionBase )
delete
virtual citk::IsolationConeDefinitionBase::~IsolationConeDefinitionBase ( )
inlinevirtual

Destructor.

Definition at line 40 of file CITKIsolationConeDefinitionBase.h.

40 {};

Member Function Documentation

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

Definition at line 37 of file CITKIsolationConeDefinitionBase.h.

References _additionalCode.

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

Definition at line 29 of file CITKIsolationConeDefinitionBase.h.

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

Definition at line 28 of file CITKIsolationConeDefinitionBase.h.

28 {}
virtual bool citk::IsolationConeDefinitionBase::isInIsolationCone ( const reco::CandidatePtr physob,
const reco::CandidatePtr other 
) const
pure virtual
const std::string& citk::IsolationConeDefinitionBase::name ( void  ) const
inline
IsolationConeDefinitionBase& citk::IsolationConeDefinitionBase::operator= ( const IsolationConeDefinitionBase )
delete
virtual void citk::IsolationConeDefinitionBase::setConsumes ( edm::ConsumesCollector  )
pure virtual

Member Data Documentation

std::string citk::IsolationConeDefinitionBase::_additionalCode
protected
const float citk::IsolationConeDefinitionBase::_coneSize2
protected
const std::string citk::IsolationConeDefinitionBase::_name
private

Definition at line 47 of file CITKIsolationConeDefinitionBase.h.

Referenced by name().