CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
ExampleClusterAlgo Class Reference

#include <ExampleClusterAlgo.h>

Public Member Functions

 ExampleClusterAlgo ()
 
 ExampleClusterAlgo (double energyCut, int nXtalCut)
 
reco::BasicClusterCollection makeClusters (const EcalRecHitCollection &rechits)
 
reco::BasicCluster makeOneCluster ()
 
void setEnergyCut (double value)
 
void setNXtalCut (int value)
 
 ~ExampleClusterAlgo ()
 

Private Attributes

double energyCut_
 
int nXtalCut_
 

Detailed Description

Definition at line 8 of file ExampleClusterAlgo.h.

Constructor & Destructor Documentation

ExampleClusterAlgo::ExampleClusterAlgo ( )

Definition at line 3 of file ExampleClusterAlgo.cc.

3  :
4  energyCut_(0.), nXtalCut_(-1) {
5 }
ExampleClusterAlgo::ExampleClusterAlgo ( double  energyCut,
int  nXtalCut 
)

Definition at line 8 of file ExampleClusterAlgo.cc.

References energyCut_, and nXtalCut_.

8  {
9  energyCut_ = energyCut;
10  nXtalCut_ = nXtalCut;
11 }
ExampleClusterAlgo::~ExampleClusterAlgo ( )

Definition at line 13 of file ExampleClusterAlgo.cc.

13  {
14 
15 }

Member Function Documentation

reco::BasicClusterCollection ExampleClusterAlgo::makeClusters ( const EcalRecHitCollection rechits)

Definition at line 26 of file ExampleClusterAlgo.cc.

26  {
27 
29 
30 }
std::vector< BasicCluster > BasicClusterCollection
collection of BasicCluster objects
reco::BasicCluster ExampleClusterAlgo::makeOneCluster ( )

Definition at line 19 of file ExampleClusterAlgo.cc.

19  {
20 
21  return reco::BasicCluster();
22 
23 }
CaloCluster BasicCluster
Definition: BasicCluster.h:21
void ExampleClusterAlgo::setEnergyCut ( double  value)
inline
void ExampleClusterAlgo::setNXtalCut ( int  value)
inline

Member Data Documentation

double ExampleClusterAlgo::energyCut_
private

Definition at line 22 of file ExampleClusterAlgo.h.

Referenced by ExampleClusterAlgo(), and setEnergyCut().

int ExampleClusterAlgo::nXtalCut_
private

Definition at line 23 of file ExampleClusterAlgo.h.

Referenced by ExampleClusterAlgo(), and setNXtalCut().