Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
Definition:
SortedCollection.h:48
ExampleClusterAlgo::setNXtalCut
void setNXtalCut(int value)
Definition:
ExampleClusterAlgo.h:16
relativeConstraints.value
tuple value
Definition:
relativeConstraints.py:54
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
ExampleClusterAlgo::ExampleClusterAlgo
ExampleClusterAlgo()
Definition:
ExampleClusterAlgo.cc:3
BasicClusterFwd.h
reco::BasicClusterCollection
std::vector< BasicCluster > BasicClusterCollection
collection of BasicCluster objects
Definition:
BasicClusterFwd.h:27
HI_PhotonSkim_cff.rechits
tuple rechits
Definition:
HI_PhotonSkim_cff.py:76
BasicCluster.h
ExampleClusterAlgo::energyCut_
double energyCut_
Definition:
ExampleClusterAlgo.h:22
Generated for CMSSW Reference Manual by
1.8.5