CMS 3D CMS Logo

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() [1/2]

ExampleClusterAlgo::ExampleClusterAlgo ( )

Definition at line 3 of file ExampleClusterAlgo.cc.

◆ ExampleClusterAlgo() [2/2]

ExampleClusterAlgo::ExampleClusterAlgo ( double  energyCut,
int  nXtalCut 
)

◆ ~ExampleClusterAlgo()

ExampleClusterAlgo::~ExampleClusterAlgo ( )

Definition at line 10 of file ExampleClusterAlgo.cc.

10 {}

Member Function Documentation

◆ makeClusters()

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

◆ makeOneCluster()

reco::BasicCluster ExampleClusterAlgo::makeOneCluster ( )

Definition at line 12 of file ExampleClusterAlgo.cc.

12 { return reco::BasicCluster(); }
CaloCluster BasicCluster

◆ setEnergyCut()

void ExampleClusterAlgo::setEnergyCut ( double  value)
inline

◆ setNXtalCut()

void ExampleClusterAlgo::setNXtalCut ( int  value)
inline

Member Data Documentation

◆ energyCut_

double ExampleClusterAlgo::energyCut_
private

Definition at line 21 of file ExampleClusterAlgo.h.

Referenced by ExampleClusterAlgo(), and setEnergyCut().

◆ nXtalCut_

int ExampleClusterAlgo::nXtalCut_
private

Definition at line 22 of file ExampleClusterAlgo.h.

Referenced by ExampleClusterAlgo(), and setNXtalCut().