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 EGRegressionModifierV1 EGRegressionModifierV2 EGRegressionModifierV3

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 ( const edm::ParameterSet conf)
inline

Definition at line 20 of file ModifyObjectValueBase.h.

20  :
21  name_( conf.getParameter<std::string>("modifierName") ) {}
T getParameter(std::string const &) const
virtual ModifyObjectValueBase::~ModifyObjectValueBase ( )
inlinevirtual

Definition at line 23 of file ModifyObjectValueBase.h.

23 {}

Member Function Documentation

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

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

Definition at line 28 of file ModifyObjectValueBase.h.

References Exception, and name_.

28  {
29  throw cms::Exception("InvalidConfiguration")
30  << name_ << " is not configured to handle reco::GsfElectrons!";
31  }
virtual void ModifyObjectValueBase::modifyObject ( reco::Photon ) const
inlinevirtual

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

Definition at line 32 of file ModifyObjectValueBase.h.

References Exception, and name_.

32  {
33  throw cms::Exception("InvalidConfiguration")
34  << name_ << " is not configured to handle reco::Photons!";
35  }
virtual void ModifyObjectValueBase::modifyObject ( reco::Muon ) const
inlinevirtual

Definition at line 36 of file ModifyObjectValueBase.h.

References Exception, and name_.

36  {
37  throw cms::Exception("InvalidConfiguration")
38  << name_ << " is not configured to handle reco::Muons!";
39  }
virtual void ModifyObjectValueBase::modifyObject ( reco::BaseTau ) const
inlinevirtual

Definition at line 40 of file ModifyObjectValueBase.h.

References Exception, and name_.

40  {
41  throw cms::Exception("InvalidConfiguration")
42  << name_ << " is not configured to handle reco::Taus!";
43  }
virtual void ModifyObjectValueBase::modifyObject ( reco::Jet ) const
inlinevirtual

Definition at line 44 of file ModifyObjectValueBase.h.

References Exception, and name_.

44  {
45  throw cms::Exception("InvalidConfiguration")
46  << name_ << " is not configured to handle reco::Jets!";
47  }
virtual void ModifyObjectValueBase::modifyObject ( pat::Electron ) const
inlinevirtual
virtual void ModifyObjectValueBase::modifyObject ( pat::Photon ) const
inlinevirtual
virtual void ModifyObjectValueBase::modifyObject ( pat::Muon ) const
inlinevirtual

Definition at line 57 of file ModifyObjectValueBase.h.

References Exception, and name_.

57  {
58  throw cms::Exception("InvalidConfiguration")
59  << name_ << " is not configured to handle pat::Muons!";
60  }
virtual void ModifyObjectValueBase::modifyObject ( pat::Tau ) const
inlinevirtual

Definition at line 61 of file ModifyObjectValueBase.h.

References Exception, and name_.

61  {
62  throw cms::Exception("InvalidConfiguration")
63  << name_ << " is not configured to handle pat::Taus!";
64  }
virtual void ModifyObjectValueBase::modifyObject ( pat::Jet ) const
inlinevirtual

Definition at line 65 of file ModifyObjectValueBase.h.

References Exception, and name_.

65  {
66  throw cms::Exception("InvalidConfiguration")
67  << name_ << " is not configured to handle pat::Jets!";
68  }
const std::string& ModifyObjectValueBase::name ( ) const
inline
virtual void ModifyObjectValueBase::setEvent ( const edm::Event )
inlinevirtual
virtual void ModifyObjectValueBase::setEventContent ( const edm::EventSetup )
inlinevirtual

Member Data Documentation

const std::string ModifyObjectValueBase::name_
private

Definition at line 73 of file ModifyObjectValueBase.h.

Referenced by modifyObject(), and name().