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

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

Definition at line 19 of file CITKIsolationConeDefinitionBase.h.

References operator=().

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.

References _coneSize2.

40 {};

Member Function Documentation

const std::string& citk::IsolationConeDefinitionBase::additionalCode ( ) const
inline
virtual void citk::IsolationConeDefinitionBase::getEventInfo ( const edm::Event )
inlinevirtual
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

Definition at line 44 of file CITKIsolationConeDefinitionBase.h.

Referenced by additionalCode().

const float citk::IsolationConeDefinitionBase::_coneSize2
protected

Definition at line 40 of file CITKIsolationConeDefinitionBase.h.

Referenced by ~IsolationConeDefinitionBase().

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