CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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.

ExampleClusterAlgo::ExampleClusterAlgo ( double  energyCut,
int  nXtalCut 
)

Definition at line 5 of file ExampleClusterAlgo.cc.

References energyCut_, and nXtalCut_.

5  {
6  energyCut_ = energyCut;
7  nXtalCut_ = nXtalCut;
8 }
ExampleClusterAlgo::~ExampleClusterAlgo ( )

Definition at line 10 of file ExampleClusterAlgo.cc.

10 {}

Member Function Documentation

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

Definition at line 14 of file ExampleClusterAlgo.cc.

14  {
16 }
std::vector< BasicCluster > BasicClusterCollection
collection of BasicCluster objects
reco::BasicCluster ExampleClusterAlgo::makeOneCluster ( )

Definition at line 12 of file ExampleClusterAlgo.cc.

12 { return reco::BasicCluster(); }
CaloCluster BasicCluster
void ExampleClusterAlgo::setEnergyCut ( double  value)
inline
void ExampleClusterAlgo::setNXtalCut ( int  value)
inline

Member Data Documentation

double ExampleClusterAlgo::energyCut_
private

Definition at line 21 of file ExampleClusterAlgo.h.

Referenced by ExampleClusterAlgo(), and setEnergyCut().

int ExampleClusterAlgo::nXtalCut_
private

Definition at line 22 of file ExampleClusterAlgo.h.

Referenced by ExampleClusterAlgo(), and setNXtalCut().