src
RecoEcal
EgammaClusterAlgos
interface
ExampleClusterAlgo.h
Go to the documentation of this file.
1
#ifndef RecoEcal_EgammaClusterAlgos_ExampleClusterAlgo_h
2
#define RecoEcal_EgammaClusterAlgos_ExampleClusterAlgo_h
3
4
#include "
DataFormats/EgammaReco/interface/BasicClusterFwd.h
"
5
#include "
DataFormats/EgammaReco/interface/BasicCluster.h
"
6
#include "
DataFormats/EcalRecHit/interface/EcalRecHitCollections.h
"
7
8
class
ExampleClusterAlgo
{
9
public
:
10
ExampleClusterAlgo
();
11
ExampleClusterAlgo
(
double
energyCut
,
int
nXtalCut);
12
~ExampleClusterAlgo
();
13
14
void
setEnergyCut
(
double
value
) {
energyCut_
=
value
; }
15
void
setNXtalCut
(
int
value
) {
nXtalCut_
=
value
; }
16
17
reco::BasicCluster
makeOneCluster
();
18
reco::BasicClusterCollection
makeClusters
(
const
EcalRecHitCollection
&
rechits
);
19
20
private
:
21
double
energyCut_
;
22
int
nXtalCut_
;
23
};
24
#endif
HI_PhotonSkim_cff.rechits
rechits
Definition:
HI_PhotonSkim_cff.py:76
ExampleClusterAlgo
Definition:
ExampleClusterAlgo.h:8
edm::SortedCollection< EcalRecHit >
ExampleClusterAlgo::setNXtalCut
void setNXtalCut(int value)
Definition:
ExampleClusterAlgo.h:15
ExampleClusterAlgo::makeOneCluster
reco::BasicCluster makeOneCluster()
Definition:
ExampleClusterAlgo.cc:12
EcalRecHitCollections.h
ExampleClusterAlgo::~ExampleClusterAlgo
~ExampleClusterAlgo()
Definition:
ExampleClusterAlgo.cc:10
ExampleClusterAlgo::nXtalCut_
int nXtalCut_
Definition:
ExampleClusterAlgo.h:22
ExampleClusterAlgo::setEnergyCut
void setEnergyCut(double value)
Definition:
ExampleClusterAlgo.h:14
ExampleClusterAlgo::makeClusters
reco::BasicClusterCollection makeClusters(const EcalRecHitCollection &rechits)
Definition:
ExampleClusterAlgo.cc:14
reco::CaloCluster
Definition:
CaloCluster.h:31
value
Definition:
value.py:1
ExampleClusterAlgo::ExampleClusterAlgo
ExampleClusterAlgo()
Definition:
ExampleClusterAlgo.cc:3
BasicClusterFwd.h
relativeConstraints.value
value
Definition:
relativeConstraints.py:53
reco::BasicClusterCollection
std::vector< BasicCluster > BasicClusterCollection
collection of BasicCluster objects
Definition:
BasicClusterFwd.h:16
interestingEgammaIsoDetIdsSequence_cff.energyCut
energyCut
Definition:
interestingEgammaIsoDetIdsSequence_cff.py:12
BasicCluster.h
ExampleClusterAlgo::energyCut_
double energyCut_
Definition:
ExampleClusterAlgo.h:21
Generated for CMSSW Reference Manual by
1.8.14