CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
ModifyObjectValueBase Class Reference

#include <ModifyObjectValueBase.h>

Inheritance diagram for ModifyObjectValueBase:
EG8XObjectUpdateModifier EG9X105XObjectUpdateModifier EGEtScaleSysModifier EGExtraInfoModifierFromValueMaps< MapType, OutputType > EGFull5x5ShowerShapeModifierFromValueMaps EGRegressionModifierDRN EGRegressionModifierV1 EGRegressionModifierV2 EGRegressionModifierV3 LowPtElectronModifier

Public Member Functions

virtual void modifyObject (reco::GsfElectron &) const
 
virtual void modifyObject (reco::Photon &) const
 
virtual void modifyObject (reco::Muon &) const
 
virtual void modifyObject (reco::BaseTau &) const
 
virtual void modifyObject (reco::Jet &) const
 
virtual void modifyObject (pat::Electron &) const
 
virtual void modifyObject (pat::Photon &) const
 
virtual void modifyObject (pat::Muon &) const
 
virtual void modifyObject (pat::Tau &) const
 
virtual void modifyObject (pat::Jet &) const
 
 ModifyObjectValueBase (const edm::ParameterSet &conf)
 
const std::string & name () const
 
virtual void setEvent (const edm::Event &)
 
virtual void setEventContent (const edm::EventSetup &)
 
virtual ~ModifyObjectValueBase ()
 

Private Attributes

const std::string name_
 

Detailed Description

Definition at line 18 of file ModifyObjectValueBase.h.

Constructor & Destructor Documentation

◆ ModifyObjectValueBase()

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

Definition at line 20 of file ModifyObjectValueBase.h.

20 : name_(conf.getParameter<std::string>("modifierName")) {}
T getParameter(std::string const &) const
Definition: ParameterSet.h:307

◆ ~ModifyObjectValueBase()

virtual ModifyObjectValueBase::~ModifyObjectValueBase ( )
inlinevirtual

Definition at line 22 of file ModifyObjectValueBase.h.

22 {}

Member Function Documentation

◆ modifyObject() [1/10]

virtual void ModifyObjectValueBase::modifyObject ( reco::GsfElectron ) const
inlinevirtual

Reimplemented in EGRegressionModifierDRN, EGRegressionModifierV3, EG9X105XObjectUpdateModifier, EG8XObjectUpdateModifier, EGRegressionModifierV1, and EGRegressionModifierV2.

Definition at line 27 of file ModifyObjectValueBase.h.

References Exception, and name_.

27  {
28  throw cms::Exception("InvalidConfiguration") << name_ << " is not configured to handle reco::GsfElectrons!";
29  }

◆ modifyObject() [2/10]

virtual void ModifyObjectValueBase::modifyObject ( reco::Photon ) const
inlinevirtual

Reimplemented in EGRegressionModifierDRN, EGRegressionModifierV3, EG9X105XObjectUpdateModifier, EG8XObjectUpdateModifier, EGRegressionModifierV1, and EGRegressionModifierV2.

Definition at line 30 of file ModifyObjectValueBase.h.

References Exception, and name_.

30  {
31  throw cms::Exception("InvalidConfiguration") << name_ << " is not configured to handle reco::Photons!";
32  }

◆ modifyObject() [3/10]

virtual void ModifyObjectValueBase::modifyObject ( reco::Muon ) const
inlinevirtual

Definition at line 33 of file ModifyObjectValueBase.h.

References Exception, and name_.

33  {
34  throw cms::Exception("InvalidConfiguration") << name_ << " is not configured to handle reco::Muons!";
35  }

◆ modifyObject() [4/10]

virtual void ModifyObjectValueBase::modifyObject ( reco::BaseTau ) const
inlinevirtual

Definition at line 36 of file ModifyObjectValueBase.h.

References Exception, and name_.

36  {
37  throw cms::Exception("InvalidConfiguration") << name_ << " is not configured to handle reco::Taus!";
38  }

◆ modifyObject() [5/10]

virtual void ModifyObjectValueBase::modifyObject ( reco::Jet ) const
inlinevirtual

Definition at line 39 of file ModifyObjectValueBase.h.

References Exception, and name_.

39  {
40  throw cms::Exception("InvalidConfiguration") << name_ << " is not configured to handle reco::Jets!";
41  }

◆ modifyObject() [6/10]

virtual void ModifyObjectValueBase::modifyObject ( pat::Electron ) const
inlinevirtual

◆ modifyObject() [7/10]

virtual void ModifyObjectValueBase::modifyObject ( pat::Photon ) const
inlinevirtual

◆ modifyObject() [8/10]

virtual void ModifyObjectValueBase::modifyObject ( pat::Muon ) const
inlinevirtual

Definition at line 49 of file ModifyObjectValueBase.h.

References Exception, and name_.

49  {
50  throw cms::Exception("InvalidConfiguration") << name_ << " is not configured to handle pat::Muons!";
51  }

◆ modifyObject() [9/10]

virtual void ModifyObjectValueBase::modifyObject ( pat::Tau ) const
inlinevirtual

Definition at line 52 of file ModifyObjectValueBase.h.

References Exception, and name_.

52  {
53  throw cms::Exception("InvalidConfiguration") << name_ << " is not configured to handle pat::Taus!";
54  }

◆ modifyObject() [10/10]

virtual void ModifyObjectValueBase::modifyObject ( pat::Jet ) const
inlinevirtual

Definition at line 55 of file ModifyObjectValueBase.h.

References Exception, and name_.

55  {
56  throw cms::Exception("InvalidConfiguration") << name_ << " is not configured to handle pat::Jets!";
57  }

◆ name()

const std::string& ModifyObjectValueBase::name ( ) const
inline

◆ setEvent()

virtual void ModifyObjectValueBase::setEvent ( const edm::Event )
inlinevirtual

◆ setEventContent()

virtual void ModifyObjectValueBase::setEventContent ( const edm::EventSetup )
inlinevirtual

Member Data Documentation

◆ name_

const std::string ModifyObjectValueBase::name_
private

Definition at line 62 of file ModifyObjectValueBase.h.

Referenced by modifyObject(), and name().