RecoEcal
EgammaCoreTools
interface
EcalClusterFunctionBaseClass.h
Go to the documentation of this file.
1
#ifndef RecoEcal_EgammaCoreTools_EcalClusterFunctionBaseClass_hh
2
#define RecoEcal_EgammaCoreTools_EcalClusterFunctionBaseClass_hh
3
14
//#include "FWCore/Framework/interface/ESHandle.h"
15
//#include "FWCore/Framework/interface/EventSetup.h"
16
#include "
DataFormats/EgammaReco/interface/BasicCluster.h
"
17
#include "
DataFormats/EgammaReco/interface/SuperCluster.h
"
18
#include "
DataFormats/EcalRecHit/interface/EcalRecHitCollections.h
"
19
20
namespace
edm
{
21
class
Event
;
22
class
EventSetup
;
23
class
ParameterSet
;
24
}
// namespace edm
25
26
class
EcalClusterFunctionBaseClass
{
27
public
:
28
virtual
~EcalClusterFunctionBaseClass
(){};
29
virtual
void
init
(
const
edm::EventSetup
&es) = 0;
30
virtual
float
getValue
(
const
reco::BasicCluster
&,
const
EcalRecHitCollection
&)
const
= 0;
31
virtual
float
getValue
(
const
reco::SuperCluster
&,
const
int
mode
)
const
= 0;
32
//this one is needed for EcalClusterCrackCorrection:
33
virtual
float
getValue
(
const
reco::CaloCluster
&)
const
{
return
0; };
34
};
35
36
#endif
reco::SuperCluster
Definition:
SuperCluster.h:18
BasicCluster.h
EcalClusterFunctionBaseClass::getValue
virtual float getValue(const reco::CaloCluster &) const
Definition:
EcalClusterFunctionBaseClass.h:33
edm
HLT enums.
Definition:
AlignableModifier.h:19
ALCARECOPromptCalibProdSiPixelAli0T_cff.mode
mode
Definition:
ALCARECOPromptCalibProdSiPixelAli0T_cff.py:96
edm::SortedCollection< EcalRecHit >
EcalRecHitCollections.h
reco::CaloCluster
Definition:
CaloCluster.h:31
Event
EcalClusterFunctionBaseClass::~EcalClusterFunctionBaseClass
virtual ~EcalClusterFunctionBaseClass()
Definition:
EcalClusterFunctionBaseClass.h:28
ParameterSet
Definition:
Functions.h:16
EcalClusterFunctionBaseClass::init
virtual void init(const edm::EventSetup &es)=0
edm::EventSetup
Definition:
EventSetup.h:58
EcalClusterFunctionBaseClass::getValue
virtual float getValue(const reco::BasicCluster &, const EcalRecHitCollection &) const =0
SuperCluster.h
EventSetup
EcalClusterFunctionBaseClass
Definition:
EcalClusterFunctionBaseClass.h:26
Generated for CMSSW Reference Manual by
1.8.16