Main Page
Namespaces
Classes
Package Documentation
RecoEcal
EgammaCoreTools
plugins
EcalClusterEnergyUncertaintyBaseClass.h
Go to the documentation of this file.
1
#ifndef RecoEcal_EgammaCoreTools_EcalClusterEnergyUncertaintyBaseClass_h
2
#define RecoEcal_EgammaCoreTools_EcalClusterEnergyUncertaintyBaseClass_h
3
13
#include "
RecoEcal/EgammaCoreTools/interface/EcalClusterFunctionBaseClass.h
"
14
15
//#include "FWCore/ParameterSet/interface/ParameterSet.h"
16
#include "
FWCore/Framework/interface/ESHandle.h
"
17
18
#include "
CondFormats/EcalObjects/interface/EcalClusterEnergyUncertaintyParameters.h
"
19
20
#include "
DataFormats/EgammaReco/interface/BasicCluster.h
"
21
22
namespace
edm
{
23
class
EventSetup
;
24
class
ParameterSet
;
25
}
26
27
class
EcalClusterEnergyUncertaintyBaseClass
:
public
EcalClusterFunctionBaseClass
{
28
public
:
29
EcalClusterEnergyUncertaintyBaseClass
();
30
EcalClusterEnergyUncertaintyBaseClass
(
const
edm::ParameterSet
& ) {};
31
~
EcalClusterEnergyUncertaintyBaseClass
()
override
;
32
33
// get/set explicit methods for parameters
34
const
EcalClusterEnergyUncertaintyParameters
*
getParameters
()
const
{
return
params_; }
35
// check initialization
36
void
checkInit()
const
;
37
38
// compute the correction
39
float
getValue
(
const
reco::BasicCluster
&,
const
EcalRecHitCollection
& )
const override
= 0;
40
float
getValue
(
const
reco::SuperCluster
&,
const
int
mode
)
const override
= 0;
41
42
43
// set parameters
44
void
init
(
const
edm::EventSetup
& es )
override
;
45
46
protected
:
47
edm::ESHandle<EcalClusterEnergyUncertaintyParameters>
esParams_
;
48
const
EcalClusterEnergyUncertaintyParameters
*
params_
;
49
};
50
51
#endif
EcalClusterFunctionBaseClass
Definition:
EcalClusterFunctionBaseClass.h:27
edm::SortedCollection< EcalRecHit >
EcalFunParams
Definition:
EcalFunctionParameters.h:11
ParameterSet
Definition:
Functions.h:16
init
int init
Definition:
HydjetWrapper.h:67
EcalClusterFunctionBaseClass.h
EcalClusterEnergyUncertaintyParameters.h
EcalClusterEnergyUncertaintyBaseClass
Definition:
EcalClusterEnergyUncertaintyBaseClass.h:27
reco::BasicCluster
EventSetup
ALCARECOPromptCalibProdSiPixelAli0T_cff.mode
mode
Definition:
ALCARECOPromptCalibProdSiPixelAli0T_cff.py:96
edm::ESHandle
Definition:
DTSurvey.h:22
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:48
reco::SuperCluster
Definition:
SuperCluster.h:19
EcalClusterEnergyUncertaintyBaseClass::getParameters
const EcalClusterEnergyUncertaintyParameters * getParameters() const
Definition:
EcalClusterEnergyUncertaintyBaseClass.h:34
EcalClusterEnergyUncertaintyBaseClass::params_
const EcalClusterEnergyUncertaintyParameters * params_
Definition:
EcalClusterEnergyUncertaintyBaseClass.h:48
EcalClusterEnergyUncertaintyBaseClass::EcalClusterEnergyUncertaintyBaseClass
EcalClusterEnergyUncertaintyBaseClass(const edm::ParameterSet &)
Definition:
EcalClusterEnergyUncertaintyBaseClass.h:30
edm
HLT enums.
Definition:
AlignableModifier.h:17
EcalClusterEnergyUncertaintyBaseClass::esParams_
edm::ESHandle< EcalClusterEnergyUncertaintyParameters > esParams_
Definition:
EcalClusterEnergyUncertaintyBaseClass.h:47
reco::JetExtendedAssociation::getValue
const JetExtendedData & getValue(const Container &, const reco::JetBaseRef &)
get value for the association. Throw exception if no association found
Definition:
JetExtendedAssociation.cc:51
edm::ParameterSet
Definition:
ParameterSet.h:36
BasicCluster.h
Generated for CMSSW Reference Manual by
1.8.11