src
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
class
ConsumesCollector;
25
}
// namespace edm
26
27
class
EcalClusterFunctionBaseClass
{
28
public
:
29
virtual
~EcalClusterFunctionBaseClass
(){};
30
virtual
void
init
(
const
edm::EventSetup
&es) = 0;
31
virtual
float
getValue
(
const
reco::BasicCluster
&,
const
EcalRecHitCollection
&)
const
= 0;
32
virtual
float
getValue
(
const
reco::SuperCluster
&,
const
int
mode
)
const
= 0;
33
//this one is needed for EcalClusterCrackCorrection:
34
virtual
float
getValue
(
const
reco::CaloCluster
&)
const
{
return
0; };
35
};
36
37
#endif
EcalClusterFunctionBaseClass
Definition:
EcalClusterFunctionBaseClass.h:27
edm::SortedCollection< EcalRecHit >
EcalClusterFunctionBaseClass::~EcalClusterFunctionBaseClass
virtual ~EcalClusterFunctionBaseClass()
Definition:
EcalClusterFunctionBaseClass.h:29
ParameterSet
Definition:
Functions.h:16
EcalRecHitCollections.h
EcalClusterFunctionBaseClass::getValue
virtual float getValue(const reco::BasicCluster &, const EcalRecHitCollection &) const =0
EventSetup
ALCARECOPromptCalibProdSiPixelAli0T_cff.mode
mode
Definition:
ALCARECOPromptCalibProdSiPixelAli0T_cff.py:96
EcalClusterFunctionBaseClass::getValue
virtual float getValue(const reco::CaloCluster &) const
Definition:
EcalClusterFunctionBaseClass.h:34
reco::CaloCluster
Definition:
CaloCluster.h:31
edm::EventSetup
Definition:
EventSetup.h:59
reco::SuperCluster
Definition:
SuperCluster.h:18
Event
edm
HLT enums.
Definition:
AlignableModifier.h:19
EcalClusterFunctionBaseClass::init
virtual void init(const edm::EventSetup &es)=0
BasicCluster.h
SuperCluster.h
Generated for CMSSW Reference Manual by
1.8.14