Main Page
Namespaces
Classes
Package Documentation
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
10
public
:
11
ExampleClusterAlgo
();
12
ExampleClusterAlgo
(
double
energyCut
,
int
nXtalCut);
13
~ExampleClusterAlgo
();
14
15
void
setEnergyCut
(
double
value
) {
energyCut_
=
value
;}
16
void
setNXtalCut
(
int
value
) {
nXtalCut_
=
value
;}
17
18
reco::BasicCluster
makeOneCluster
();
19
reco::BasicClusterCollection
makeClusters
(
const
EcalRecHitCollection
&
rechits
);
20
21
private
:
22
double
energyCut_
;
23
int
nXtalCut_
;
24
};
25
#endif
ExampleClusterAlgo
Definition:
ExampleClusterAlgo.h:8
edm::SortedCollection< EcalRecHit >
ExampleClusterAlgo::setNXtalCut
void setNXtalCut(int value)
Definition:
ExampleClusterAlgo.h:16
ExampleClusterAlgo::makeOneCluster
reco::BasicCluster makeOneCluster()
Definition:
ExampleClusterAlgo.cc:19
EcalRecHitCollections.h
ExampleClusterAlgo::~ExampleClusterAlgo
~ExampleClusterAlgo()
Definition:
ExampleClusterAlgo.cc:13
ExampleClusterAlgo::nXtalCut_
int nXtalCut_
Definition:
ExampleClusterAlgo.h:23
reco::BasicCluster
ExampleClusterAlgo::setEnergyCut
void setEnergyCut(double value)
Definition:
ExampleClusterAlgo.h:15
ExampleClusterAlgo::makeClusters
reco::BasicClusterCollection makeClusters(const EcalRecHitCollection &rechits)
Definition:
ExampleClusterAlgo.cc:26
TrackInfoProducer_cfi.rechits
rechits
Definition:
TrackInfoProducer_cfi.py:9
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:27
interestingEgammaIsoDetIdsSequence_cff.energyCut
energyCut
Definition:
interestingEgammaIsoDetIdsSequence_cff.py:12
BasicCluster.h
ExampleClusterAlgo::energyCut_
double energyCut_
Definition:
ExampleClusterAlgo.h:22
Generated for CMSSW Reference Manual by
1.8.11