CMS 3D CMS Logo

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

#include <ModifyObjectValueBase.h>

Inheritance diagram for ModifyObjectValueBase:
EG8XObjectUpdateModifier EGEtScaleSysModifier EGExtraInfoModifierFromValueMaps< MapType, OutputType > EGFull5x5ShowerShapeModifierFromValueMaps EGPfIsolationModifierFromValueMaps EGRegressionModifierV1 EGRegressionModifierV2

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 setConsumes (edm::ConsumesCollector &)
 
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 EGRegressionModifierV1, EGRegressionModifierV2, and EG8XObjectUpdateModifier.

Definition at line 29 of file ModifyObjectValueBase.h.

References Exception, and name_.

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

Reimplemented in EGRegressionModifierV1, EGRegressionModifierV2, and EG8XObjectUpdateModifier.

Definition at line 33 of file ModifyObjectValueBase.h.

References Exception, and name_.

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

Definition at line 37 of file ModifyObjectValueBase.h.

References Exception, and name_.

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

Definition at line 41 of file ModifyObjectValueBase.h.

References Exception, and name_.

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

Definition at line 45 of file ModifyObjectValueBase.h.

References Exception, and name_.

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

Reimplemented in EGExtraInfoModifierFromValueMaps< MapType, OutputType >, EGFull5x5ShowerShapeModifierFromValueMaps, EGRegressionModifierV1, EGRegressionModifierV2, EGPfIsolationModifierFromValueMaps, EGEtScaleSysModifier, and EG8XObjectUpdateModifier.

Definition at line 50 of file ModifyObjectValueBase.h.

References Exception, and name_.

50  {
51  throw cms::Exception("InvalidConfiguration")
52  << name_ << " is not configured to handle pat::Electrons!";
53  }
virtual void ModifyObjectValueBase::modifyObject ( pat::Photon ) const
inlinevirtual

Reimplemented in EGExtraInfoModifierFromValueMaps< MapType, OutputType >, EGFull5x5ShowerShapeModifierFromValueMaps, EGRegressionModifierV1, EGRegressionModifierV2, EGPfIsolationModifierFromValueMaps, EGEtScaleSysModifier, and EG8XObjectUpdateModifier.

Definition at line 54 of file ModifyObjectValueBase.h.

References Exception, and name_.

54  {
55  throw cms::Exception("InvalidConfiguration")
56  << name_ << " is not configured to handle pat::Photons!";
57  }
virtual void ModifyObjectValueBase::modifyObject ( pat::Muon ) const
inlinevirtual

Definition at line 58 of file ModifyObjectValueBase.h.

References Exception, and name_.

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

Definition at line 62 of file ModifyObjectValueBase.h.

References Exception, and name_.

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

Definition at line 66 of file ModifyObjectValueBase.h.

References Exception, and name_.

66  {
67  throw cms::Exception("InvalidConfiguration")
68  << name_ << " is not configured to handle pat::Jets!";
69  }
const std::string& ModifyObjectValueBase::name ( ) const
inline
virtual void ModifyObjectValueBase::setConsumes ( edm::ConsumesCollector )
inlinevirtual
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 74 of file ModifyObjectValueBase.h.

Referenced by modifyObject(), and name().