CMS 3D CMS Logo

Public Member Functions | Private Attributes

ExampleClusterAlgo Class Reference

#include <ExampleClusterAlgo.h>

List of all members.

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.

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

Definition at line 8 of file ExampleClusterAlgo.cc.

References energyCut_, and nXtalCut_.

                                                                     {
  energyCut_ = energyCut;
  nXtalCut_ = nXtalCut;
}
ExampleClusterAlgo::~ExampleClusterAlgo ( )

Definition at line 13 of file ExampleClusterAlgo.cc.

                                        {

}

Member Function Documentation

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

Definition at line 26 of file ExampleClusterAlgo.cc.

Referenced by ExampleClusterProducer::produce().

reco::BasicCluster ExampleClusterAlgo::makeOneCluster ( )

Definition at line 19 of file ExampleClusterAlgo.cc.

                                   {

  return reco::BasicCluster();

}
void ExampleClusterAlgo::setEnergyCut ( double  value) [inline]

Definition at line 15 of file ExampleClusterAlgo.h.

References energyCut_, and relativeConstraints::value.

void ExampleClusterAlgo::setNXtalCut ( int  value) [inline]

Definition at line 16 of file ExampleClusterAlgo.h.

References nXtalCut_, and relativeConstraints::value.


Member Data Documentation

Definition at line 22 of file ExampleClusterAlgo.h.

Referenced by ExampleClusterAlgo(), and setEnergyCut().

Definition at line 23 of file ExampleClusterAlgo.h.

Referenced by ExampleClusterAlgo(), and setNXtalCut().