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 (pat::Electron &) const
 
virtual void modifyObject (pat::Jet &) const
 
virtual void modifyObject (pat::Muon &) const
 
virtual void modifyObject (pat::Photon &) const
 
virtual void modifyObject (pat::Tau &) const
 
virtual void modifyObject (reco::BaseTau &) const
 
virtual void modifyObject (reco::GsfElectron &) const
 
virtual void modifyObject (reco::Jet &) const
 
virtual void modifyObject (reco::Muon &) const
 
virtual void modifyObject (reco::Photon &) 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")) {}

◆ ~ModifyObjectValueBase()

virtual ModifyObjectValueBase::~ModifyObjectValueBase ( )
inlinevirtual

Definition at line 22 of file ModifyObjectValueBase.h.

22 {}

Member Function Documentation

◆ modifyObject() [1/10]

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

◆ modifyObject() [2/10]

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

Definition at line 55 of file ModifyObjectValueBase.h.

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

References Exception, and name_.

◆ modifyObject() [3/10]

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

Definition at line 49 of file ModifyObjectValueBase.h.

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

References Exception, and name_.

◆ modifyObject() [4/10]

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

◆ modifyObject() [5/10]

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

Definition at line 52 of file ModifyObjectValueBase.h.

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

References Exception, and name_.

◆ modifyObject() [6/10]

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

Definition at line 36 of file ModifyObjectValueBase.h.

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

References Exception, and name_.

◆ modifyObject() [7/10]

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

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

Definition at line 27 of file ModifyObjectValueBase.h.

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

References Exception, and name_.

◆ modifyObject() [8/10]

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

Definition at line 39 of file ModifyObjectValueBase.h.

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

References Exception, and name_.

◆ modifyObject() [9/10]

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

Definition at line 33 of file ModifyObjectValueBase.h.

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

References Exception, and name_.

◆ modifyObject() [10/10]

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

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

Definition at line 30 of file ModifyObjectValueBase.h.

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

References Exception, and name_.

◆ 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().

ModifyObjectValueBase::name_
const std::string name_
Definition: ModifyObjectValueBase.h:62
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Exception
Definition: hltDiff.cc:246