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