CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 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 ( 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:303
virtual ModifyObjectValueBase::~ModifyObjectValueBase ( )
inlinevirtual

Definition at line 22 of file ModifyObjectValueBase.h.

22 {}

Member Function Documentation

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

Reimplemented in 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  }
virtual void ModifyObjectValueBase::modifyObject ( reco::Photon ) const
inlinevirtual

Reimplemented in 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  }
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  }
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  }
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  }
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 49 of file ModifyObjectValueBase.h.

References Exception, and name_.

49  {
50  throw cms::Exception("InvalidConfiguration") << name_ << " is not configured to handle pat::Muons!";
51  }
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  }
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  }
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 62 of file ModifyObjectValueBase.h.

Referenced by modifyObject(), and name().