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
ExampleClusterAlgo::~ExampleClusterAlgo
~ExampleClusterAlgo()
Definition:
ExampleClusterAlgo.cc:10
BasicCluster.h
ExampleClusterAlgo::nXtalCut_
int nXtalCut_
Definition:
ExampleClusterAlgo.h:22
ExampleClusterAlgo::energyCut_
double energyCut_
Definition:
ExampleClusterAlgo.h:21
ExampleClusterAlgo
Definition:
ExampleClusterAlgo.h:8
ExampleClusterAlgo::setEnergyCut
void setEnergyCut(double value)
Definition:
ExampleClusterAlgo.h:14
edm::SortedCollection< EcalRecHit >
EcalRecHitCollections.h
BasicClusterFwd.h
ExampleClusterAlgo::makeOneCluster
reco::BasicCluster makeOneCluster()
Definition:
ExampleClusterAlgo.cc:12
ExampleClusterAlgo::setNXtalCut
void setNXtalCut(int value)
Definition:
ExampleClusterAlgo.h:15
reco::CaloCluster
Definition:
CaloCluster.h:31
ExampleClusterAlgo::ExampleClusterAlgo
ExampleClusterAlgo()
Definition:
ExampleClusterAlgo.cc:3
reco::BasicClusterCollection
std::vector< BasicCluster > BasicClusterCollection
collection of BasicCluster objects
Definition:
BasicClusterFwd.h:16
interestingEgammaIsoDetIdsSequence_cff.energyCut
energyCut
Definition:
interestingEgammaIsoDetIdsSequence_cff.py:12
ExampleClusterAlgo::makeClusters
reco::BasicClusterCollection makeClusters(const EcalRecHitCollection &rechits)
Definition:
ExampleClusterAlgo.cc:14
TrackInfoProducer_cfi.rechits
rechits
Definition:
TrackInfoProducer_cfi.py:9
value
Definition:
value.py:1
relativeConstraints.value
value
Definition:
relativeConstraints.py:53
Generated for CMSSW Reference Manual by
1.8.16